Interface TreatmentToleranceViolationTypeCodeSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
TreatmentToleranceViolationSequence.Item
- Enclosing class:
- TreatmentToleranceViolationTypeCodeSequence
public static interface TreatmentToleranceViolationTypeCodeSequence.Holder
extends AttributesWrapper
A class implementing this interface can hold attributes which contain the DICOM tag "Treatment Tolerance Violation Type Code Sequence" (see
TreatmentToleranceViolationTypeCodeSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanensureTreatmentToleranceViolationTypeCodeSequence(int initialCapacity) Adds a new Treatment Tolerance Violation Type Code Sequence if it does not already exist.newTreatmentToleranceViolationTypeCodeSequence(int initialCapacity) Adds a new Treatment Tolerance Violation Type Code Sequence.default voidRemoves the Treatment Tolerance Violation Type Code Sequence (seeTreatmentToleranceViolationTypeCodeSequencewrap(org.dcm4che3.data.Attributes attributes) Methods inherited from interface org.dcm4che.typeddicom.AttributesWrapper
copy, getAttributes, isEmpty
-
Method Details
-
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.
-
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
-
ensureTreatmentToleranceViolationTypeCodeSequence
default TreatmentToleranceViolationTypeCodeSequence ensureTreatmentToleranceViolationTypeCodeSequence(int initialCapacity) Adds a new Treatment Tolerance Violation Type Code Sequence if it does not already exist. (seeTreatmentToleranceViolationTypeCodeSequence)- Parameters:
initialCapacity- the initial capacity if a new Treatment Tolerance Violation Type Code Sequence is created
-
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
-