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 booleanAdds a new Container Component Type Code Sequence (seeContainerComponentTypeCodeSequence) with initial capacity 1 (seeensureContainerComponentTypeCodeSequence(int)) if it does not already exist.ensureContainerComponentTypeCodeSequence(int initialCapacity) Adds a new Container Component Type Code Sequence (seeContainerComponentTypeCodeSequence) 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 (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
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
-