Interface AttributeToleranceValuesSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
RTToleranceSetSequence.Item
- Enclosing class:
- AttributeToleranceValuesSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Attribute Tolerance Values Sequence" (see
AttributeToleranceValuesSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault AttributeToleranceValuesSequenceensureAttributeToleranceValuesSequence(int initialCapacity) Adds a new Attribute Tolerance Values Sequence if it does not already exist.default AttributeToleranceValuesSequencedefault AttributeToleranceValuesSequencenewAttributeToleranceValuesSequence(int initialCapacity) Adds a new Attribute Tolerance Values Sequence.default voidRemoves the Attribute Tolerance Values Sequence (seeAttributeToleranceValuesSequencewrap(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 Attribute Tolerance Values Sequence (seeAttributeToleranceValuesSequence)- Returns:
- A wrapper object implementing the
AttributeToleranceValuesSequence.Holderinterface.
-
getAttributeToleranceValuesSequence
- Returns:
- the Attribute Tolerance Values Sequence (see
AttributeToleranceValuesSequence)
-
newAttributeToleranceValuesSequence
Adds a new Attribute Tolerance Values Sequence. (seeAttributeToleranceValuesSequence)- Parameters:
initialCapacity- the initial capacity for the new Attribute Tolerance Values Sequence
-
ensureAttributeToleranceValuesSequence
default AttributeToleranceValuesSequence ensureAttributeToleranceValuesSequence(int initialCapacity) Adds a new Attribute Tolerance Values Sequence if it does not already exist. (seeAttributeToleranceValuesSequence)- Parameters:
initialCapacity- the initial capacity if a new Attribute Tolerance Values Sequence is created
-
containsAttributeToleranceValuesSequence
default boolean containsAttributeToleranceValuesSequence()- Returns:
- Whether it contains the Attribute Tolerance Values Sequence (see
AttributeToleranceValuesSequence)
-
removeAttributeToleranceValuesSequence
default void removeAttributeToleranceValuesSequence()Removes the Attribute Tolerance Values Sequence (seeAttributeToleranceValuesSequence
-