Interface TreatmentMachineSpecialModeCodeSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
RTRadiationCommonModule,RTRadiationRecordCommonModule
- All Known Implementing Classes:
CArmPhotonElectronRadiationIOD,CArmPhotonElectronRadiationRecordIOD,RoboticArmRadiationIOD,RoboticArmRadiationRecordIOD,RTRadiationSalvageRecordIOD,TomotherapeuticRadiationIOD,TomotherapeuticRadiationRecordIOD,TreatmentMachineSpecialModeCodeSequence.SimpleHolder
- Enclosing class:
- TreatmentMachineSpecialModeCodeSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Treatment Machine Special Mode Code Sequence" (see
TreatmentMachineSpecialModeCodeSequence)-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleanAdds a new Treatment Machine Special Mode Code Sequence (seeTreatmentMachineSpecialModeCodeSequence) with initial capacity 1 (seeensureTreatmentMachineSpecialModeCodeSequence(int)) if it does not already exist.ensureTreatmentMachineSpecialModeCodeSequence(int initialCapacity) Adds a new Treatment Machine Special Mode Code Sequence (seeTreatmentMachineSpecialModeCodeSequence) if it does not already exist.newTreatmentMachineSpecialModeCodeSequence(int initialCapacity) Adds a new Treatment Machine Special Mode Code Sequence.default voidRemoves the Treatment Machine Special Mode Code Sequence (seeTreatmentMachineSpecialModeCodeSequencewrap(org.dcm4che3.data.Attributes attributes) Methods inherited from interface org.dcm4che.typeddicom.AttributesWrapper
copy, getAttributes, isEmpty
-
Method Details
-
wrap
- Parameters:
attributes- An attributes object containing the Treatment Machine Special Mode Code Sequence (seeTreatmentMachineSpecialModeCodeSequence)- Returns:
- A wrapper object implementing the
TreatmentMachineSpecialModeCodeSequence.Holderinterface.
-
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
- 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
-
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
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
-