Interface InterlockCodeSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
InterlockSequence.Item
- Enclosing class:
- InterlockCodeSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Interlock Code Sequence" (see
InterlockCodeSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault InterlockCodeSequenceensureInterlockCodeSequence(int initialCapacity) Adds a new Interlock Code Sequence if it does not already exist.default InterlockCodeSequencedefault InterlockCodeSequencenewInterlockCodeSequence(int initialCapacity) Adds a new Interlock Code Sequence.default voidRemoves the Interlock Code Sequence (seeInterlockCodeSequencestatic InterlockCodeSequence.Holderwrap(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 Interlock Code Sequence (seeInterlockCodeSequence)- Returns:
- A wrapper object implementing the
InterlockCodeSequence.Holderinterface.
-
getInterlockCodeSequence
- Returns:
- the Interlock Code Sequence (see
InterlockCodeSequence)
-
newInterlockCodeSequence
Adds a new Interlock Code Sequence. (seeInterlockCodeSequence)- Parameters:
initialCapacity- the initial capacity for the new Interlock Code Sequence
-
ensureInterlockCodeSequence
Adds a new Interlock Code Sequence if it does not already exist. (seeInterlockCodeSequence)- Parameters:
initialCapacity- the initial capacity if a new Interlock Code Sequence is created
-
containsInterlockCodeSequence
default boolean containsInterlockCodeSequence()- Returns:
- Whether it contains the Interlock Code Sequence (see
InterlockCodeSequence)
-
removeInterlockCodeSequence
default void removeInterlockCodeSequence()Removes the Interlock Code Sequence (seeInterlockCodeSequence
-