Interface RTRadiationSalvageRecordControlPointSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
RTRadiationSalvageRecordModule
- All Known Implementing Classes:
RTRadiationSalvageRecordControlPointSequence.SimpleHolder,RTRadiationSalvageRecordIOD
- Enclosing class:
- RTRadiationSalvageRecordControlPointSequence
public static interface RTRadiationSalvageRecordControlPointSequence.Holder
extends AttributesWrapper
A class implementing this interface can hold attributes which contain the DICOM tag "RT Radiation Salvage Record Control Point Sequence" (see
RTRadiationSalvageRecordControlPointSequence)-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleanAdds a new RT Radiation Salvage Record Control Point Sequence (seeRTRadiationSalvageRecordControlPointSequence) with initial capacity 1 (seeensureRTRadiationSalvageRecordControlPointSequence(int)) if it does not already exist.ensureRTRadiationSalvageRecordControlPointSequence(int initialCapacity) Adds a new RT Radiation Salvage Record Control Point Sequence (seeRTRadiationSalvageRecordControlPointSequence) if it does not already exist.newRTRadiationSalvageRecordControlPointSequence(int initialCapacity) Adds a new RT Radiation Salvage Record Control Point Sequence.default voidRemoves the RT Radiation Salvage Record Control Point Sequence (seeRTRadiationSalvageRecordControlPointSequencewrap(org.dcm4che3.data.Attributes attributes) Methods inherited from interface org.dcm4che.typeddicom.AttributesWrapper
copy, getAttributes, isEmpty
-
Method Details
-
wrap
static RTRadiationSalvageRecordControlPointSequence.Holder wrap(org.dcm4che3.data.Attributes attributes) - Parameters:
attributes- An attributes object containing the RT Radiation Salvage Record Control Point Sequence (seeRTRadiationSalvageRecordControlPointSequence)- Returns:
- A wrapper object implementing the
RTRadiationSalvageRecordControlPointSequence.Holderinterface.
-
builder
- Returns:
- a
RTRadiationSalvageRecordControlPointSequence.Holder.Builderto create RT Radiation Salvage Record Control Point Sequence Items with a fluent API.
-
builder
static RTRadiationSalvageRecordControlPointSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes) - Parameters:
attributes- The Attributes to be wrapped by theRTRadiationSalvageRecordControlPointSequence.Holder.Builder.- Returns:
- a
RTRadiationSalvageRecordControlPointSequence.Holder.Builderto create RT Radiation Salvage Record Control Point Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getRTRadiationSalvageRecordControlPointSequence
default RTRadiationSalvageRecordControlPointSequence getRTRadiationSalvageRecordControlPointSequence()- Returns:
- the RT Radiation Salvage Record Control Point Sequence (see
RTRadiationSalvageRecordControlPointSequence)
-
newRTRadiationSalvageRecordControlPointSequence
default RTRadiationSalvageRecordControlPointSequence newRTRadiationSalvageRecordControlPointSequence(int initialCapacity) Adds a new RT Radiation Salvage Record Control Point Sequence. (seeRTRadiationSalvageRecordControlPointSequence)- Parameters:
initialCapacity- the initial capacity for the new RT Radiation Salvage Record Control Point Sequence
-
ensureRTRadiationSalvageRecordControlPointSequence
default RTRadiationSalvageRecordControlPointSequence ensureRTRadiationSalvageRecordControlPointSequence(int initialCapacity) Adds a new RT Radiation Salvage Record Control Point Sequence (seeRTRadiationSalvageRecordControlPointSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new RT Radiation Salvage Record Control Point Sequence is created.- Returns:
- Either the already existing RT Radiation Salvage Record Control Point Sequence (see
RTRadiationSalvageRecordControlPointSequence) or a new one with capacityinitialCapacity.
-
ensureRTRadiationSalvageRecordControlPointSequence
default RTRadiationSalvageRecordControlPointSequence ensureRTRadiationSalvageRecordControlPointSequence()Adds a new RT Radiation Salvage Record Control Point Sequence (seeRTRadiationSalvageRecordControlPointSequence) with initial capacity 1 (seeensureRTRadiationSalvageRecordControlPointSequence(int)) if it does not already exist.- Returns:
- Either the already existing RT Radiation Salvage Record Control Point Sequence (see
RTRadiationSalvageRecordControlPointSequence) or a new one with capacity 1.
-
containsRTRadiationSalvageRecordControlPointSequence
default boolean containsRTRadiationSalvageRecordControlPointSequence()- Returns:
- Whether it contains the RT Radiation Salvage Record Control Point Sequence (see
RTRadiationSalvageRecordControlPointSequence)
-
removeRTRadiationSalvageRecordControlPointSequence
default void removeRTRadiationSalvageRecordControlPointSequence()Removes the RT Radiation Salvage Record Control Point Sequence (seeRTRadiationSalvageRecordControlPointSequence
-