Interface TreatmentSessionBeamSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
RTBeamsSessionRecordModule
- All Known Implementing Classes:
RTBeamsTreatmentRecordIOD,TreatmentSessionBeamSequence.SimpleHolder
- Enclosing class:
- TreatmentSessionBeamSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Treatment Session Beam Sequence" (see
TreatmentSessionBeamSequence)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault TreatmentSessionBeamSequenceAdds a new Treatment Session Beam Sequence (seeTreatmentSessionBeamSequence) with initial capacity 1 (seeensureTreatmentSessionBeamSequence(int)) if it does not already exist.default TreatmentSessionBeamSequenceensureTreatmentSessionBeamSequence(int initialCapacity) Adds a new Treatment Session Beam Sequence (seeTreatmentSessionBeamSequence) if it does not already exist.default TreatmentSessionBeamSequencedefault TreatmentSessionBeamSequencenewTreatmentSessionBeamSequence(int initialCapacity) Adds a new Treatment Session Beam Sequence.default voidRemoves the Treatment Session Beam Sequence (seeTreatmentSessionBeamSequencewrap(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 Session Beam Sequence (seeTreatmentSessionBeamSequence)- Returns:
- A wrapper object implementing the
TreatmentSessionBeamSequence.Holderinterface.
-
builder
- Returns:
- a
TreatmentSessionBeamSequence.Holder.Builderto create Treatment Session Beam Sequence Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theTreatmentSessionBeamSequence.Holder.Builder.- Returns:
- a
TreatmentSessionBeamSequence.Holder.Builderto create Treatment Session Beam Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getTreatmentSessionBeamSequence
- Returns:
- the Treatment Session Beam Sequence (see
TreatmentSessionBeamSequence)
-
newTreatmentSessionBeamSequence
Adds a new Treatment Session Beam Sequence. (seeTreatmentSessionBeamSequence)- Parameters:
initialCapacity- the initial capacity for the new Treatment Session Beam Sequence
-
ensureTreatmentSessionBeamSequence
Adds a new Treatment Session Beam Sequence (seeTreatmentSessionBeamSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Treatment Session Beam Sequence is created.- Returns:
- Either the already existing Treatment Session Beam Sequence (see
TreatmentSessionBeamSequence) or a new one with capacityinitialCapacity.
-
ensureTreatmentSessionBeamSequence
Adds a new Treatment Session Beam Sequence (seeTreatmentSessionBeamSequence) with initial capacity 1 (seeensureTreatmentSessionBeamSequence(int)) if it does not already exist.- Returns:
- Either the already existing Treatment Session Beam Sequence (see
TreatmentSessionBeamSequence) or a new one with capacity 1.
-
containsTreatmentSessionBeamSequence
default boolean containsTreatmentSessionBeamSequence()- Returns:
- Whether it contains the Treatment Session Beam Sequence (see
TreatmentSessionBeamSequence)
-
removeTreatmentSessionBeamSequence
default void removeTreatmentSessionBeamSequence()Removes the Treatment Session Beam Sequence (seeTreatmentSessionBeamSequence
-