Interface TomotherapeuticControlPointSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
TomotherapeuticBeamModule
- All Known Implementing Classes:
TomotherapeuticControlPointSequence.SimpleHolder,TomotherapeuticRadiationIOD,TomotherapeuticRadiationRecordIOD
- Enclosing class:
- TomotherapeuticControlPointSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Tomotherapeutic Control Point Sequence" (see
TomotherapeuticControlPointSequence)-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleanAdds a new Tomotherapeutic Control Point Sequence (seeTomotherapeuticControlPointSequence) with initial capacity 1 (seeensureTomotherapeuticControlPointSequence(int)) if it does not already exist.ensureTomotherapeuticControlPointSequence(int initialCapacity) Adds a new Tomotherapeutic Control Point Sequence (seeTomotherapeuticControlPointSequence) if it does not already exist.newTomotherapeuticControlPointSequence(int initialCapacity) Adds a new Tomotherapeutic Control Point Sequence.default voidRemoves the Tomotherapeutic Control Point Sequence (seeTomotherapeuticControlPointSequencewrap(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 Tomotherapeutic Control Point Sequence (seeTomotherapeuticControlPointSequence)- Returns:
- A wrapper object implementing the
TomotherapeuticControlPointSequence.Holderinterface.
-
builder
- Returns:
- a
TomotherapeuticControlPointSequence.Holder.Builderto create Tomotherapeutic Control Point Sequence Items with a fluent API.
-
builder
static TomotherapeuticControlPointSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes) - Parameters:
attributes- The Attributes to be wrapped by theTomotherapeuticControlPointSequence.Holder.Builder.- Returns:
- a
TomotherapeuticControlPointSequence.Holder.Builderto create Tomotherapeutic Control Point Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getTomotherapeuticControlPointSequence
- Returns:
- the Tomotherapeutic Control Point Sequence (see
TomotherapeuticControlPointSequence)
-
newTomotherapeuticControlPointSequence
default TomotherapeuticControlPointSequence newTomotherapeuticControlPointSequence(int initialCapacity) Adds a new Tomotherapeutic Control Point Sequence. (seeTomotherapeuticControlPointSequence)- Parameters:
initialCapacity- the initial capacity for the new Tomotherapeutic Control Point Sequence
-
ensureTomotherapeuticControlPointSequence
default TomotherapeuticControlPointSequence ensureTomotherapeuticControlPointSequence(int initialCapacity) Adds a new Tomotherapeutic Control Point Sequence (seeTomotherapeuticControlPointSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Tomotherapeutic Control Point Sequence is created.- Returns:
- Either the already existing Tomotherapeutic Control Point Sequence (see
TomotherapeuticControlPointSequence) or a new one with capacityinitialCapacity.
-
ensureTomotherapeuticControlPointSequence
Adds a new Tomotherapeutic Control Point Sequence (seeTomotherapeuticControlPointSequence) with initial capacity 1 (seeensureTomotherapeuticControlPointSequence(int)) if it does not already exist.- Returns:
- Either the already existing Tomotherapeutic Control Point Sequence (see
TomotherapeuticControlPointSequence) or a new one with capacity 1.
-
containsTomotherapeuticControlPointSequence
default boolean containsTomotherapeuticControlPointSequence()- Returns:
- Whether it contains the Tomotherapeutic Control Point Sequence (see
TomotherapeuticControlPointSequence)
-
removeTomotherapeuticControlPointSequence
default void removeTomotherapeuticControlPointSequence()Removes the Tomotherapeutic Control Point Sequence (seeTomotherapeuticControlPointSequence
-