Interface ChannelSettingsSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- Enclosing class:
- ChannelSettingsSequence
public static interface ChannelSettingsSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Channel Settings Sequence" (seeChannelSettingsSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classChannelSettingsSequence.Holder.Builder
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static ChannelSettingsSequence.Holder.Builderbuilder()static ChannelSettingsSequence.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes)default booleancontainsChannelSettingsSequence()default ChannelSettingsSequenceensureChannelSettingsSequence()Adds 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 ChannelSettingsSequencegetChannelSettingsSequence()default ChannelSettingsSequencenewChannelSettingsSequence(int initialCapacity)Adds a new Channel Settings Sequence.default voidremoveChannelSettingsSequence()Removes the Channel Settings Sequence (seeChannelSettingsSequencestatic ChannelSettingsSequence.Holderwrap(org.dcm4che3.data.Attributes attributes)
-
-
-
Method Detail
-
wrap
static ChannelSettingsSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Channel Settings Sequence (seeChannelSettingsSequence)- Returns:
- a wrapper object implementing the
ChannelSettingsSequence.Holderinterface.
-
builder
static ChannelSettingsSequence.Holder.Builder builder()
- Returns:
- a
ChannelSettingsSequence.Holder.Builderto create Channel Settings Sequence Items with a fluent API.
-
builder
static ChannelSettingsSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theChannelSettingsSequence.Holder.Builder.- Returns:
- a
ChannelSettingsSequence.Holder.Builderto create Channel Settings Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getChannelSettingsSequence
default ChannelSettingsSequence getChannelSettingsSequence()
- Returns:
- the Channel Settings Sequence (see
ChannelSettingsSequence)
-
newChannelSettingsSequence
default ChannelSettingsSequence newChannelSettingsSequence(int initialCapacity)
Adds a new Channel Settings Sequence. (seeChannelSettingsSequence)- Parameters:
initialCapacity- the initial capacity for the new Channel Settings Sequence- Returns:
- the newly created ChannelSettingsSequence.
-
ensureChannelSettingsSequence
default ChannelSettingsSequence ensureChannelSettingsSequence(int initialCapacity)
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
default ChannelSettingsSequence 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
-
-