Interface ComponentInputSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
PresentationStateClassificationComponentSequence.Item
- Enclosing class:
- ComponentInputSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Component Input Sequence" (see
ComponentInputSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault ComponentInputSequenceAdds a new Component Input Sequence (seeComponentInputSequence) with initial capacity 1 (seeensureComponentInputSequence(int)) if it does not already exist.default ComponentInputSequenceensureComponentInputSequence(int initialCapacity) Adds a new Component Input Sequence (seeComponentInputSequence) if it does not already exist.default ComponentInputSequencedefault ComponentInputSequencenewComponentInputSequence(int initialCapacity) Adds a new Component Input Sequence.default voidRemoves the Component Input Sequence (seeComponentInputSequencewrap(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 Input Sequence (seeComponentInputSequence)- Returns:
- A wrapper object implementing the
ComponentInputSequence.Holderinterface.
-
getComponentInputSequence
- Returns:
- the Component Input Sequence (see
ComponentInputSequence)
-
newComponentInputSequence
Adds a new Component Input Sequence. (seeComponentInputSequence)- Parameters:
initialCapacity- the initial capacity for the new Component Input Sequence
-
ensureComponentInputSequence
Adds a new Component Input Sequence (seeComponentInputSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Component Input Sequence is created.- Returns:
- Either the already existing Component Input Sequence (see
ComponentInputSequence) or a new one with capacityinitialCapacity.
-
ensureComponentInputSequence
Adds a new Component Input Sequence (seeComponentInputSequence) with initial capacity 1 (seeensureComponentInputSequence(int)) if it does not already exist.- Returns:
- Either the already existing Component Input Sequence (see
ComponentInputSequence) or a new one with capacity 1.
-
containsComponentInputSequence
default boolean containsComponentInputSequence()- Returns:
- Whether it contains the Component Input Sequence (see
ComponentInputSequence)
-
removeComponentInputSequence
default void removeComponentInputSequence()Removes the Component Input Sequence (seeComponentInputSequence
-