Interface AttributeToleranceValuesSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
AttributeToleranceValuesSequence.SimpleHolder,RTToleranceSetSequence.Item
- Enclosing class:
- AttributeToleranceValuesSequence
public static interface AttributeToleranceValuesSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Attribute Tolerance Values Sequence" (seeAttributeToleranceValuesSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classAttributeToleranceValuesSequence.Holder.Builder
-
Method Summary
-
-
-
Method Detail
-
wrap
static AttributeToleranceValuesSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Attribute Tolerance Values Sequence (seeAttributeToleranceValuesSequence)- Returns:
- a wrapper object implementing the
AttributeToleranceValuesSequence.Holderinterface.
-
builder
static AttributeToleranceValuesSequence.Holder.Builder builder()
- Returns:
- a
AttributeToleranceValuesSequence.Holder.Builderto create Attribute Tolerance Values Sequence Items with a fluent API.
-
builder
static AttributeToleranceValuesSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theAttributeToleranceValuesSequence.Holder.Builder.- Returns:
- a
AttributeToleranceValuesSequence.Holder.Builderto create Attribute Tolerance Values Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getAttributeToleranceValuesSequence
default AttributeToleranceValuesSequence getAttributeToleranceValuesSequence()
- Returns:
- the Attribute Tolerance Values Sequence (see
AttributeToleranceValuesSequence)
-
newAttributeToleranceValuesSequence
default AttributeToleranceValuesSequence newAttributeToleranceValuesSequence(int initialCapacity)
Adds a new Attribute Tolerance Values Sequence. (seeAttributeToleranceValuesSequence)- Parameters:
initialCapacity- the initial capacity for the new Attribute Tolerance Values Sequence- Returns:
- the newly created AttributeToleranceValuesSequence.
-
ensureAttributeToleranceValuesSequence
default AttributeToleranceValuesSequence ensureAttributeToleranceValuesSequence(int initialCapacity)
Adds a new Attribute Tolerance Values Sequence (seeAttributeToleranceValuesSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Attribute Tolerance Values Sequence is created.- Returns:
- either the already existing Attribute Tolerance Values Sequence (see
AttributeToleranceValuesSequence) or a new one with capacityinitialCapacity.
-
ensureAttributeToleranceValuesSequence
default AttributeToleranceValuesSequence ensureAttributeToleranceValuesSequence()
Adds a new Attribute Tolerance Values Sequence (seeAttributeToleranceValuesSequence) with initial capacity 1 (seeensureAttributeToleranceValuesSequence(int)) if it does not already exist.- Returns:
- either the already existing Attribute Tolerance Values Sequence (see
AttributeToleranceValuesSequence) or a new one with capacity 1.
-
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
-
-