Interface FractionGroupSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
RTFractionSchemeModule
- All Known Implementing Classes:
FractionGroupSequence.SimpleHolder,RTIonPlanIOD,RTPlanIOD
- Enclosing class:
- FractionGroupSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Fraction Group Sequence" (see
FractionGroupSequence)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault FractionGroupSequenceAdds a new Fraction Group Sequence (seeFractionGroupSequence) with initial capacity 1 (seeensureFractionGroupSequence(int)) if it does not already exist.default FractionGroupSequenceensureFractionGroupSequence(int initialCapacity) Adds a new Fraction Group Sequence (seeFractionGroupSequence) if it does not already exist.default FractionGroupSequencedefault FractionGroupSequencenewFractionGroupSequence(int initialCapacity) Adds a new Fraction Group Sequence.default voidRemoves the Fraction Group Sequence (seeFractionGroupSequencestatic FractionGroupSequence.Holderwrap(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 Fraction Group Sequence (seeFractionGroupSequence)- Returns:
- A wrapper object implementing the
FractionGroupSequence.Holderinterface.
-
builder
- Returns:
- a
FractionGroupSequence.Holder.Builderto create Fraction Group Sequence Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theFractionGroupSequence.Holder.Builder.- Returns:
- a
FractionGroupSequence.Holder.Builderto create Fraction Group Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getFractionGroupSequence
- Returns:
- the Fraction Group Sequence (see
FractionGroupSequence)
-
newFractionGroupSequence
Adds a new Fraction Group Sequence. (seeFractionGroupSequence)- Parameters:
initialCapacity- the initial capacity for the new Fraction Group Sequence
-
ensureFractionGroupSequence
Adds a new Fraction Group Sequence (seeFractionGroupSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Fraction Group Sequence is created.- Returns:
- Either the already existing Fraction Group Sequence (see
FractionGroupSequence) or a new one with capacityinitialCapacity.
-
ensureFractionGroupSequence
Adds a new Fraction Group Sequence (seeFractionGroupSequence) with initial capacity 1 (seeensureFractionGroupSequence(int)) if it does not already exist.- Returns:
- Either the already existing Fraction Group Sequence (see
FractionGroupSequence) or a new one with capacity 1.
-
containsFractionGroupSequence
default boolean containsFractionGroupSequence()- Returns:
- Whether it contains the Fraction Group Sequence (see
FractionGroupSequence)
-
removeFractionGroupSequence
default void removeFractionGroupSequence()Removes the Fraction Group Sequence (seeFractionGroupSequence
-