Interface TreatmentDeviceIdentificationSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Subinterfaces:
RTDeliveryDeviceCommonModule,RTRadiationSetDeliveryInstructionModule
- All Known Implementing Classes:
CArmPhotonElectronRadiationIOD,CArmPhotonElectronRadiationRecordIOD,RoboticArmRadiationIOD,RoboticArmRadiationRecordIOD,RTDeliveryDeviceCommonModule.SimpleWrapper,RTRadiationSalvageRecordIOD,RTRadiationSetDeliveryInstructionIOD,RTRadiationSetDeliveryInstructionModule.SimpleWrapper,TomotherapeuticRadiationIOD,TomotherapeuticRadiationRecordIOD
- Enclosing class:
- TreatmentDeviceIdentificationSequence
public static interface TreatmentDeviceIdentificationSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Treatment Device Identification Sequence" (seeTreatmentDeviceIdentificationSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classTreatmentDeviceIdentificationSequence.Holder.Builder
-
Method Summary
-
-
-
Method Detail
-
wrap
static TreatmentDeviceIdentificationSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Treatment Device Identification Sequence (seeTreatmentDeviceIdentificationSequence)- Returns:
- a wrapper object implementing the
TreatmentDeviceIdentificationSequence.Holderinterface.
-
builder
static TreatmentDeviceIdentificationSequence.Holder.Builder builder()
- Returns:
- a
TreatmentDeviceIdentificationSequence.Holder.Builderto create Treatment Device Identification Sequence Items with a fluent API.
-
builder
static TreatmentDeviceIdentificationSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theTreatmentDeviceIdentificationSequence.Holder.Builder.- Returns:
- a
TreatmentDeviceIdentificationSequence.Holder.Builderto create Treatment Device Identification Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getTreatmentDeviceIdentificationSequence
default TreatmentDeviceIdentificationSequence getTreatmentDeviceIdentificationSequence()
- Returns:
- the Treatment Device Identification Sequence (see
TreatmentDeviceIdentificationSequence)
-
newTreatmentDeviceIdentificationSequence
default TreatmentDeviceIdentificationSequence newTreatmentDeviceIdentificationSequence(int initialCapacity)
Adds a new Treatment Device Identification Sequence. (seeTreatmentDeviceIdentificationSequence)- Parameters:
initialCapacity- the initial capacity for the new Treatment Device Identification Sequence- Returns:
- the newly created TreatmentDeviceIdentificationSequence.
-
ensureTreatmentDeviceIdentificationSequence
default TreatmentDeviceIdentificationSequence ensureTreatmentDeviceIdentificationSequence(int initialCapacity)
Adds a new Treatment Device Identification Sequence (seeTreatmentDeviceIdentificationSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Treatment Device Identification Sequence is created.- Returns:
- either the already existing Treatment Device Identification Sequence (see
TreatmentDeviceIdentificationSequence) or a new one with capacityinitialCapacity.
-
ensureTreatmentDeviceIdentificationSequence
default TreatmentDeviceIdentificationSequence ensureTreatmentDeviceIdentificationSequence()
Adds a new Treatment Device Identification Sequence (seeTreatmentDeviceIdentificationSequence) with initial capacity 1 (seeensureTreatmentDeviceIdentificationSequence(int)) if it does not already exist.- Returns:
- either the already existing Treatment Device Identification Sequence (see
TreatmentDeviceIdentificationSequence) or a new one with capacity 1.
-
containsTreatmentDeviceIdentificationSequence
default boolean containsTreatmentDeviceIdentificationSequence()
- Returns:
- whether it contains the Treatment Device Identification Sequence (see
TreatmentDeviceIdentificationSequence)
-
removeTreatmentDeviceIdentificationSequence
default void removeTreatmentDeviceIdentificationSequence()
Removes the Treatment Device Identification Sequence (seeTreatmentDeviceIdentificationSequence
-
-