Interface ChannelSettingsSequence.Holder
- All Superinterfaces:
AttributesWrapper
- Enclosing class:
- ChannelSettingsSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Channel Settings Sequence" (see
ChannelSettingsSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault ChannelSettingsSequenceAdds a new Channel Settings Sequence (seeChannelSettingsSequence) with initial capacity 1 (seeensureChannelSettingsSequence(int)) if it does not already exist.default ChannelSettingsSequenceensureChannelSettingsSequence(int initialCapacity) Adds a new Channel Settings Sequence (seeChannelSettingsSequence) if it does not already exist.default ChannelSettingsSequencedefault ChannelSettingsSequencenewChannelSettingsSequence(int initialCapacity) Adds a new Channel Settings Sequence.default voidRemoves the Channel Settings Sequence (seeChannelSettingsSequencewrap(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 Channel Settings Sequence (seeChannelSettingsSequence)- Returns:
- A wrapper object implementing the
ChannelSettingsSequence.Holderinterface.
-
getChannelSettingsSequence
- Returns:
- the Channel Settings Sequence (see
ChannelSettingsSequence)
-
newChannelSettingsSequence
Adds a new Channel Settings Sequence. (seeChannelSettingsSequence)- Parameters:
initialCapacity- the initial capacity for the new Channel Settings Sequence
-
ensureChannelSettingsSequence
Adds a new Channel Settings Sequence (seeChannelSettingsSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Channel Settings Sequence is created.- Returns:
- Either the already existing Channel Settings Sequence (see
ChannelSettingsSequence) or a new one with capacityinitialCapacity.
-
ensureChannelSettingsSequence
Adds a new Channel Settings Sequence (seeChannelSettingsSequence) with initial capacity 1 (seeensureChannelSettingsSequence(int)) if it does not already exist.- Returns:
- Either the already existing Channel Settings Sequence (see
ChannelSettingsSequence) or a new one with capacity 1.
-
containsChannelSettingsSequence
default boolean containsChannelSettingsSequence()- Returns:
- Whether it contains the Channel Settings Sequence (see
ChannelSettingsSequence)
-
removeChannelSettingsSequence
default void removeChannelSettingsSequence()Removes the Channel Settings Sequence (seeChannelSettingsSequence
-