Interface TreatmentToleranceViolationSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
RTRadiationRecordCommonModule
- All Known Implementing Classes:
CArmPhotonElectronRadiationRecordIOD,RoboticArmRadiationRecordIOD,RTRadiationSalvageRecordIOD,TomotherapeuticRadiationRecordIOD,TreatmentToleranceViolationSequence.SimpleHolder
- Enclosing class:
- TreatmentToleranceViolationSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Treatment Tolerance Violation Sequence" (see
TreatmentToleranceViolationSequence)-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleanAdds a new Treatment Tolerance Violation Sequence (seeTreatmentToleranceViolationSequence) with initial capacity 1 (seeensureTreatmentToleranceViolationSequence(int)) if it does not already exist.ensureTreatmentToleranceViolationSequence(int initialCapacity) Adds a new Treatment Tolerance Violation Sequence (seeTreatmentToleranceViolationSequence) if it does not already exist.newTreatmentToleranceViolationSequence(int initialCapacity) Adds a new Treatment Tolerance Violation Sequence.default voidRemoves the Treatment Tolerance Violation Sequence (seeTreatmentToleranceViolationSequencewrap(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 Tolerance Violation Sequence (seeTreatmentToleranceViolationSequence)- Returns:
- A wrapper object implementing the
TreatmentToleranceViolationSequence.Holderinterface.
-
builder
- Returns:
- a
TreatmentToleranceViolationSequence.Holder.Builderto create Treatment Tolerance Violation Sequence Items with a fluent API.
-
builder
static TreatmentToleranceViolationSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes) - Parameters:
attributes- The Attributes to be wrapped by theTreatmentToleranceViolationSequence.Holder.Builder.- Returns:
- a
TreatmentToleranceViolationSequence.Holder.Builderto create Treatment Tolerance Violation Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getTreatmentToleranceViolationSequence
- Returns:
- the Treatment Tolerance Violation Sequence (see
TreatmentToleranceViolationSequence)
-
newTreatmentToleranceViolationSequence
default TreatmentToleranceViolationSequence newTreatmentToleranceViolationSequence(int initialCapacity) Adds a new Treatment Tolerance Violation Sequence. (seeTreatmentToleranceViolationSequence)- Parameters:
initialCapacity- the initial capacity for the new Treatment Tolerance Violation Sequence
-
ensureTreatmentToleranceViolationSequence
default TreatmentToleranceViolationSequence ensureTreatmentToleranceViolationSequence(int initialCapacity) Adds a new Treatment Tolerance Violation Sequence (seeTreatmentToleranceViolationSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Treatment Tolerance Violation Sequence is created.- Returns:
- Either the already existing Treatment Tolerance Violation Sequence (see
TreatmentToleranceViolationSequence) or a new one with capacityinitialCapacity.
-
ensureTreatmentToleranceViolationSequence
Adds a new Treatment Tolerance Violation Sequence (seeTreatmentToleranceViolationSequence) with initial capacity 1 (seeensureTreatmentToleranceViolationSequence(int)) if it does not already exist.- Returns:
- Either the already existing Treatment Tolerance Violation Sequence (see
TreatmentToleranceViolationSequence) or a new one with capacity 1.
-
containsTreatmentToleranceViolationSequence
default boolean containsTreatmentToleranceViolationSequence()- Returns:
- Whether it contains the Treatment Tolerance Violation Sequence (see
TreatmentToleranceViolationSequence)
-
removeTreatmentToleranceViolationSequence
default void removeTreatmentToleranceViolationSequence()Removes the Treatment Tolerance Violation Sequence (seeTreatmentToleranceViolationSequence
-