Interface TreatmentSessionApplicationSetupSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
RTBrachySessionRecordModule
- All Known Implementing Classes:
RTBrachyTreatmentRecordIOD,TreatmentSessionApplicationSetupSequence.SimpleHolder
- Enclosing class:
- TreatmentSessionApplicationSetupSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Treatment Session Application Setup Sequence" (see
TreatmentSessionApplicationSetupSequence)-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleanAdds a new Treatment Session Application Setup Sequence (seeTreatmentSessionApplicationSetupSequence) with initial capacity 1 (seeensureTreatmentSessionApplicationSetupSequence(int)) if it does not already exist.ensureTreatmentSessionApplicationSetupSequence(int initialCapacity) Adds a new Treatment Session Application Setup Sequence (seeTreatmentSessionApplicationSetupSequence) if it does not already exist.newTreatmentSessionApplicationSetupSequence(int initialCapacity) Adds a new Treatment Session Application Setup Sequence.default voidRemoves the Treatment Session Application Setup Sequence (seeTreatmentSessionApplicationSetupSequencewrap(org.dcm4che3.data.Attributes attributes) Methods inherited from interface org.dcm4che.typeddicom.AttributesWrapper
copy, getAttributes, isEmpty
-
Method Details
-
wrap
static TreatmentSessionApplicationSetupSequence.Holder wrap(org.dcm4che3.data.Attributes attributes) - Parameters:
attributes- An attributes object containing the Treatment Session Application Setup Sequence (seeTreatmentSessionApplicationSetupSequence)- Returns:
- A wrapper object implementing the
TreatmentSessionApplicationSetupSequence.Holderinterface.
-
builder
- Returns:
- a
TreatmentSessionApplicationSetupSequence.Holder.Builderto create Treatment Session Application Setup Sequence Items with a fluent API.
-
builder
static TreatmentSessionApplicationSetupSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes) - Parameters:
attributes- The Attributes to be wrapped by theTreatmentSessionApplicationSetupSequence.Holder.Builder.- Returns:
- a
TreatmentSessionApplicationSetupSequence.Holder.Builderto create Treatment Session Application Setup Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getTreatmentSessionApplicationSetupSequence
- Returns:
- the Treatment Session Application Setup Sequence (see
TreatmentSessionApplicationSetupSequence)
-
newTreatmentSessionApplicationSetupSequence
default TreatmentSessionApplicationSetupSequence newTreatmentSessionApplicationSetupSequence(int initialCapacity) Adds a new Treatment Session Application Setup Sequence. (seeTreatmentSessionApplicationSetupSequence)- Parameters:
initialCapacity- the initial capacity for the new Treatment Session Application Setup Sequence
-
ensureTreatmentSessionApplicationSetupSequence
default TreatmentSessionApplicationSetupSequence ensureTreatmentSessionApplicationSetupSequence(int initialCapacity) Adds a new Treatment Session Application Setup Sequence (seeTreatmentSessionApplicationSetupSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Treatment Session Application Setup Sequence is created.- Returns:
- Either the already existing Treatment Session Application Setup Sequence (see
TreatmentSessionApplicationSetupSequence) or a new one with capacityinitialCapacity.
-
ensureTreatmentSessionApplicationSetupSequence
Adds a new Treatment Session Application Setup Sequence (seeTreatmentSessionApplicationSetupSequence) with initial capacity 1 (seeensureTreatmentSessionApplicationSetupSequence(int)) if it does not already exist.- Returns:
- Either the already existing Treatment Session Application Setup Sequence (see
TreatmentSessionApplicationSetupSequence) or a new one with capacity 1.
-
containsTreatmentSessionApplicationSetupSequence
default boolean containsTreatmentSessionApplicationSetupSequence()- Returns:
- Whether it contains the Treatment Session Application Setup Sequence (see
TreatmentSessionApplicationSetupSequence)
-
removeTreatmentSessionApplicationSetupSequence
default void removeTreatmentSessionApplicationSetupSequence()Removes the Treatment Session Application Setup Sequence (seeTreatmentSessionApplicationSetupSequence
-