Interface TreatmentMachineSpecialModeCodeSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Subinterfaces:
RTRadiationCommonModule,RTRadiationRecordCommonModule
- All Known Implementing Classes:
CArmPhotonElectronRadiationIOD,CArmPhotonElectronRadiationRecordIOD,RoboticArmRadiationIOD,RoboticArmRadiationRecordIOD,RTRadiationCommonModule.SimpleWrapper,RTRadiationRecordCommonModule.SimpleWrapper,RTRadiationSalvageRecordIOD,TomotherapeuticRadiationIOD,TomotherapeuticRadiationRecordIOD
- Enclosing class:
- TreatmentMachineSpecialModeCodeSequence
public static interface TreatmentMachineSpecialModeCodeSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Treatment Machine Special Mode Code Sequence" (seeTreatmentMachineSpecialModeCodeSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classTreatmentMachineSpecialModeCodeSequence.Holder.Builder
-
Method Summary
-
-
-
Method Detail
-
wrap
static TreatmentMachineSpecialModeCodeSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Treatment Machine Special Mode Code Sequence (seeTreatmentMachineSpecialModeCodeSequence)- Returns:
- a wrapper object implementing the
TreatmentMachineSpecialModeCodeSequence.Holderinterface.
-
builder
static TreatmentMachineSpecialModeCodeSequence.Holder.Builder builder()
- Returns:
- a
TreatmentMachineSpecialModeCodeSequence.Holder.Builderto create Treatment Machine Special Mode Code Sequence Items with a fluent API.
-
builder
static TreatmentMachineSpecialModeCodeSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theTreatmentMachineSpecialModeCodeSequence.Holder.Builder.- Returns:
- a
TreatmentMachineSpecialModeCodeSequence.Holder.Builderto create Treatment Machine Special Mode Code Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getTreatmentMachineSpecialModeCodeSequence
default TreatmentMachineSpecialModeCodeSequence getTreatmentMachineSpecialModeCodeSequence()
- Returns:
- the Treatment Machine Special Mode Code Sequence (see
TreatmentMachineSpecialModeCodeSequence)
-
newTreatmentMachineSpecialModeCodeSequence
default TreatmentMachineSpecialModeCodeSequence newTreatmentMachineSpecialModeCodeSequence(int initialCapacity)
Adds a new Treatment Machine Special Mode Code Sequence. (seeTreatmentMachineSpecialModeCodeSequence)- Parameters:
initialCapacity- the initial capacity for the new Treatment Machine Special Mode Code Sequence- Returns:
- the newly created TreatmentMachineSpecialModeCodeSequence.
-
ensureTreatmentMachineSpecialModeCodeSequence
default TreatmentMachineSpecialModeCodeSequence ensureTreatmentMachineSpecialModeCodeSequence(int initialCapacity)
Adds a new Treatment Machine Special Mode Code Sequence (seeTreatmentMachineSpecialModeCodeSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Treatment Machine Special Mode Code Sequence is created.- Returns:
- either the already existing Treatment Machine Special Mode Code Sequence (see
TreatmentMachineSpecialModeCodeSequence) or a new one with capacityinitialCapacity.
-
ensureTreatmentMachineSpecialModeCodeSequence
default TreatmentMachineSpecialModeCodeSequence ensureTreatmentMachineSpecialModeCodeSequence()
Adds a new Treatment Machine Special Mode Code Sequence (seeTreatmentMachineSpecialModeCodeSequence) with initial capacity 1 (seeensureTreatmentMachineSpecialModeCodeSequence(int)) if it does not already exist.- Returns:
- either the already existing Treatment Machine Special Mode Code Sequence (see
TreatmentMachineSpecialModeCodeSequence) or a new one with capacity 1.
-
containsTreatmentMachineSpecialModeCodeSequence
default boolean containsTreatmentMachineSpecialModeCodeSequence()
- Returns:
- whether it contains the Treatment Machine Special Mode Code Sequence (see
TreatmentMachineSpecialModeCodeSequence)
-
removeTreatmentMachineSpecialModeCodeSequence
default void removeTreatmentMachineSpecialModeCodeSequence()
Removes the Treatment Machine Special Mode Code Sequence (seeTreatmentMachineSpecialModeCodeSequence
-
-