Interface ComponentTypeCodeSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
ComponentTypesSequence.Item
- Enclosing class:
- ComponentTypeCodeSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Component Type Code Sequence" (see
ComponentTypeCodeSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault ComponentTypeCodeSequenceensureComponentTypeCodeSequence(int initialCapacity) Adds a new Component Type Code Sequence if it does not already exist.default ComponentTypeCodeSequencedefault ComponentTypeCodeSequencenewComponentTypeCodeSequence(int initialCapacity) Adds a new Component Type Code Sequence.default voidRemoves the Component Type Code Sequence (seeComponentTypeCodeSequencewrap(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 Component Type Code Sequence (seeComponentTypeCodeSequence)- Returns:
- A wrapper object implementing the
ComponentTypeCodeSequence.Holderinterface.
-
getComponentTypeCodeSequence
- Returns:
- the Component Type Code Sequence (see
ComponentTypeCodeSequence)
-
newComponentTypeCodeSequence
Adds a new Component Type Code Sequence. (seeComponentTypeCodeSequence)- Parameters:
initialCapacity- the initial capacity for the new Component Type Code Sequence
-
ensureComponentTypeCodeSequence
Adds a new Component Type Code Sequence if it does not already exist. (seeComponentTypeCodeSequence)- Parameters:
initialCapacity- the initial capacity if a new Component Type Code Sequence is created
-
containsComponentTypeCodeSequence
default boolean containsComponentTypeCodeSequence()- Returns:
- Whether it contains the Component Type Code Sequence (see
ComponentTypeCodeSequence)
-
removeComponentTypeCodeSequence
default void removeComponentTypeCodeSequence()Removes the Component Type Code Sequence (seeComponentTypeCodeSequence
-