Interface ContainerComponentTypeCodeSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
ContainerComponentSequence.Item
- Enclosing class:
- ContainerComponentTypeCodeSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Container Component Type Code Sequence" (see
ContainerComponentTypeCodeSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanensureContainerComponentTypeCodeSequence(int initialCapacity) Adds a new Container Component Type Code Sequence if it does not already exist.newContainerComponentTypeCodeSequence(int initialCapacity) Adds a new Container Component Type Code Sequence.default voidRemoves the Container Component Type Code Sequence (seeContainerComponentTypeCodeSequencewrap(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 Container Component Type Code Sequence (seeContainerComponentTypeCodeSequence)- Returns:
- A wrapper object implementing the
ContainerComponentTypeCodeSequence.Holderinterface.
-
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
-
ensureContainerComponentTypeCodeSequence
default ContainerComponentTypeCodeSequence ensureContainerComponentTypeCodeSequence(int initialCapacity) Adds a new Container Component Type Code Sequence if it does not already exist. (seeContainerComponentTypeCodeSequence)- Parameters:
initialCapacity- the initial capacity if a new Container Component Type Code Sequence is created
-
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
-