Interface ReferencedRTPlanSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Subinterfaces:
RTBeamsDeliveryInstructionModule,RTBrachyApplicationSetupDeliveryInstructionModule,RTDoseModule,RTGeneralMachineVerificationModule,RTGeneralPlanModule,RTGeneralTreatmentRecordModule,RTImageModule
- All Known Implementing Classes:
RTBeamsDeliveryInstructionIOD,RTBeamsDeliveryInstructionModule.SimpleWrapper,RTBeamsTreatmentRecordIOD,RTBrachyApplicationSetupDeliveryInstructionIOD,RTBrachyApplicationSetupDeliveryInstructionModule.SimpleWrapper,RTBrachyTreatmentRecordIOD,RTConventionalMachineVerificationIOD,RTDoseIOD,RTDoseModule.SimpleWrapper,RTGeneralMachineVerificationModule.SimpleWrapper,RTGeneralPlanModule.SimpleWrapper,RTGeneralTreatmentRecordModule.SimpleWrapper,RTImageIOD,RTImageModule.SimpleWrapper,RTIonBeamsTreatmentRecordIOD,RTIonMachineVerificationIOD,RTIonPlanIOD,RTPlanIOD,RTTreatmentSummaryRecordIOD
- Enclosing class:
- ReferencedRTPlanSequence
public static interface ReferencedRTPlanSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Referenced RT Plan Sequence" (seeReferencedRTPlanSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classReferencedRTPlanSequence.Holder.Builder
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static ReferencedRTPlanSequence.Holder.Builderbuilder()static ReferencedRTPlanSequence.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes)default booleancontainsReferencedRTPlanSequence()default ReferencedRTPlanSequenceensureReferencedRTPlanSequence()Adds a new Referenced RT Plan Sequence (seeReferencedRTPlanSequence) with initial capacity 1 (seeensureReferencedRTPlanSequence(int)) if it does not already exist.default ReferencedRTPlanSequenceensureReferencedRTPlanSequence(int initialCapacity)Adds a new Referenced RT Plan Sequence (seeReferencedRTPlanSequence) if it does not already exist.default ReferencedRTPlanSequencegetReferencedRTPlanSequence()default ReferencedRTPlanSequencenewReferencedRTPlanSequence(int initialCapacity)Adds a new Referenced RT Plan Sequence.default voidremoveReferencedRTPlanSequence()Removes the Referenced RT Plan Sequence (seeReferencedRTPlanSequencestatic ReferencedRTPlanSequence.Holderwrap(org.dcm4che3.data.Attributes attributes)
-
-
-
Method Detail
-
wrap
static ReferencedRTPlanSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Referenced RT Plan Sequence (seeReferencedRTPlanSequence)- Returns:
- a wrapper object implementing the
ReferencedRTPlanSequence.Holderinterface.
-
builder
static ReferencedRTPlanSequence.Holder.Builder builder()
- Returns:
- a
ReferencedRTPlanSequence.Holder.Builderto create Referenced RT Plan Sequence Items with a fluent API.
-
builder
static ReferencedRTPlanSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theReferencedRTPlanSequence.Holder.Builder.- Returns:
- a
ReferencedRTPlanSequence.Holder.Builderto create Referenced RT Plan Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getReferencedRTPlanSequence
default ReferencedRTPlanSequence getReferencedRTPlanSequence()
- Returns:
- the Referenced RT Plan Sequence (see
ReferencedRTPlanSequence)
-
newReferencedRTPlanSequence
default ReferencedRTPlanSequence newReferencedRTPlanSequence(int initialCapacity)
Adds a new Referenced RT Plan Sequence. (seeReferencedRTPlanSequence)- Parameters:
initialCapacity- the initial capacity for the new Referenced RT Plan Sequence- Returns:
- the newly created ReferencedRTPlanSequence.
-
ensureReferencedRTPlanSequence
default ReferencedRTPlanSequence ensureReferencedRTPlanSequence(int initialCapacity)
Adds a new Referenced RT Plan Sequence (seeReferencedRTPlanSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Referenced RT Plan Sequence is created.- Returns:
- either the already existing Referenced RT Plan Sequence (see
ReferencedRTPlanSequence) or a new one with capacityinitialCapacity.
-
ensureReferencedRTPlanSequence
default ReferencedRTPlanSequence ensureReferencedRTPlanSequence()
Adds a new Referenced RT Plan Sequence (seeReferencedRTPlanSequence) with initial capacity 1 (seeensureReferencedRTPlanSequence(int)) if it does not already exist.- Returns:
- either the already existing Referenced RT Plan Sequence (see
ReferencedRTPlanSequence) or a new one with capacity 1.
-
containsReferencedRTPlanSequence
default boolean containsReferencedRTPlanSequence()
- Returns:
- whether it contains the Referenced RT Plan Sequence (see
ReferencedRTPlanSequence)
-
removeReferencedRTPlanSequence
default void removeReferencedRTPlanSequence()
Removes the Referenced RT Plan Sequence (seeReferencedRTPlanSequence
-
-