Interface DataElementLabelItemSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
DataElementLabelItemSequence.SimpleHolder
- Enclosing class:
- DataElementLabelItemSequence
public static interface DataElementLabelItemSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Data Element Label Item Sequence" (seeDataElementLabelItemSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classDataElementLabelItemSequence.Holder.Builder
-
Method Summary
-
-
-
Method Detail
-
wrap
static DataElementLabelItemSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Data Element Label Item Sequence (seeDataElementLabelItemSequence)- Returns:
- a wrapper object implementing the
DataElementLabelItemSequence.Holderinterface.
-
builder
static DataElementLabelItemSequence.Holder.Builder builder()
- Returns:
- a
DataElementLabelItemSequence.Holder.Builderto create Data Element Label Item Sequence Items with a fluent API.
-
builder
static DataElementLabelItemSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theDataElementLabelItemSequence.Holder.Builder.- Returns:
- a
DataElementLabelItemSequence.Holder.Builderto create Data Element Label Item Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getDataElementLabelItemSequence
default DataElementLabelItemSequence getDataElementLabelItemSequence()
- Returns:
- the Data Element Label Item Sequence (see
DataElementLabelItemSequence)
-
newDataElementLabelItemSequence
default DataElementLabelItemSequence newDataElementLabelItemSequence(int initialCapacity)
Adds a new Data Element Label Item Sequence. (seeDataElementLabelItemSequence)- Parameters:
initialCapacity- the initial capacity for the new Data Element Label Item Sequence- Returns:
- the newly created DataElementLabelItemSequence.
-
ensureDataElementLabelItemSequence
default DataElementLabelItemSequence ensureDataElementLabelItemSequence(int initialCapacity)
Adds a new Data Element Label Item Sequence (seeDataElementLabelItemSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Data Element Label Item Sequence is created.- Returns:
- either the already existing Data Element Label Item Sequence (see
DataElementLabelItemSequence) or a new one with capacityinitialCapacity.
-
ensureDataElementLabelItemSequence
default DataElementLabelItemSequence ensureDataElementLabelItemSequence()
Adds a new Data Element Label Item Sequence (seeDataElementLabelItemSequence) with initial capacity 1 (seeensureDataElementLabelItemSequence(int)) if it does not already exist.- Returns:
- either the already existing Data Element Label Item Sequence (see
DataElementLabelItemSequence) or a new one with capacity 1.
-
containsDataElementLabelItemSequence
default boolean containsDataElementLabelItemSequence()
- Returns:
- whether it contains the Data Element Label Item Sequence (see
DataElementLabelItemSequence)
-
removeDataElementLabelItemSequence
default void removeDataElementLabelItemSequence()
Removes the Data Element Label Item Sequence (seeDataElementLabelItemSequence
-
-