Interface TreatmentToleranceViolationTypeCodeSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
TreatmentToleranceViolationSequence.Item,TreatmentToleranceViolationTypeCodeSequence.SimpleHolder
- Enclosing class:
- TreatmentToleranceViolationTypeCodeSequence
public static interface TreatmentToleranceViolationTypeCodeSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Treatment Tolerance Violation Type Code Sequence" (seeTreatmentToleranceViolationTypeCodeSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classTreatmentToleranceViolationTypeCodeSequence.Holder.Builder
-
Method Summary
-
-
-
Method Detail
-
wrap
static TreatmentToleranceViolationTypeCodeSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Treatment Tolerance Violation Type Code Sequence (seeTreatmentToleranceViolationTypeCodeSequence)- Returns:
- a wrapper object implementing the
TreatmentToleranceViolationTypeCodeSequence.Holderinterface.
-
builder
static TreatmentToleranceViolationTypeCodeSequence.Holder.Builder builder()
- Returns:
- a
TreatmentToleranceViolationTypeCodeSequence.Holder.Builderto create Treatment Tolerance Violation Type Code Sequence Items with a fluent API.
-
builder
static TreatmentToleranceViolationTypeCodeSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theTreatmentToleranceViolationTypeCodeSequence.Holder.Builder.- Returns:
- a
TreatmentToleranceViolationTypeCodeSequence.Holder.Builderto create Treatment Tolerance Violation Type Code Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getTreatmentToleranceViolationTypeCodeSequence
default TreatmentToleranceViolationTypeCodeSequence getTreatmentToleranceViolationTypeCodeSequence()
- Returns:
- the Treatment Tolerance Violation Type Code Sequence (see
TreatmentToleranceViolationTypeCodeSequence)
-
newTreatmentToleranceViolationTypeCodeSequence
default TreatmentToleranceViolationTypeCodeSequence newTreatmentToleranceViolationTypeCodeSequence(int initialCapacity)
Adds a new Treatment Tolerance Violation Type Code Sequence. (seeTreatmentToleranceViolationTypeCodeSequence)- Parameters:
initialCapacity- the initial capacity for the new Treatment Tolerance Violation Type Code Sequence- Returns:
- the newly created TreatmentToleranceViolationTypeCodeSequence.
-
ensureTreatmentToleranceViolationTypeCodeSequence
default TreatmentToleranceViolationTypeCodeSequence ensureTreatmentToleranceViolationTypeCodeSequence(int initialCapacity)
Adds a new Treatment Tolerance Violation Type Code Sequence (seeTreatmentToleranceViolationTypeCodeSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Treatment Tolerance Violation Type Code Sequence is created.- Returns:
- either the already existing Treatment Tolerance Violation Type Code Sequence (see
TreatmentToleranceViolationTypeCodeSequence) or a new one with capacityinitialCapacity.
-
ensureTreatmentToleranceViolationTypeCodeSequence
default TreatmentToleranceViolationTypeCodeSequence ensureTreatmentToleranceViolationTypeCodeSequence()
Adds a new Treatment Tolerance Violation Type Code Sequence (seeTreatmentToleranceViolationTypeCodeSequence) with initial capacity 1 (seeensureTreatmentToleranceViolationTypeCodeSequence(int)) if it does not already exist.- Returns:
- either the already existing Treatment Tolerance Violation Type Code Sequence (see
TreatmentToleranceViolationTypeCodeSequence) or a new one with capacity 1.
-
containsTreatmentToleranceViolationTypeCodeSequence
default boolean containsTreatmentToleranceViolationTypeCodeSequence()
- Returns:
- whether it contains the Treatment Tolerance Violation Type Code Sequence (see
TreatmentToleranceViolationTypeCodeSequence)
-
removeTreatmentToleranceViolationTypeCodeSequence
default void removeTreatmentToleranceViolationTypeCodeSequence()
Removes the Treatment Tolerance Violation Type Code Sequence (seeTreatmentToleranceViolationTypeCodeSequence
-
-