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