Interface ChannelSourceModifiersSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
ChannelDefinitionSequence.Item
- Enclosing class:
- ChannelSourceModifiersSequence
public static interface ChannelSourceModifiersSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Channel Source Modifiers Sequence" (seeChannelSourceModifiersSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classChannelSourceModifiersSequence.Holder.Builder
-
Method Summary
-
-
-
Method Detail
-
wrap
static ChannelSourceModifiersSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Channel Source Modifiers Sequence (seeChannelSourceModifiersSequence)- Returns:
- a wrapper object implementing the
ChannelSourceModifiersSequence.Holderinterface.
-
builder
static ChannelSourceModifiersSequence.Holder.Builder builder()
- Returns:
- a
ChannelSourceModifiersSequence.Holder.Builderto create Channel Source Modifiers Sequence Items with a fluent API.
-
builder
static ChannelSourceModifiersSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theChannelSourceModifiersSequence.Holder.Builder.- Returns:
- a
ChannelSourceModifiersSequence.Holder.Builderto create Channel Source Modifiers Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getChannelSourceModifiersSequence
default ChannelSourceModifiersSequence getChannelSourceModifiersSequence()
- Returns:
- the Channel Source Modifiers Sequence (see
ChannelSourceModifiersSequence)
-
newChannelSourceModifiersSequence
default ChannelSourceModifiersSequence newChannelSourceModifiersSequence(int initialCapacity)
Adds a new Channel Source Modifiers Sequence. (seeChannelSourceModifiersSequence)- Parameters:
initialCapacity- the initial capacity for the new Channel Source Modifiers Sequence- Returns:
- the newly created ChannelSourceModifiersSequence.
-
ensureChannelSourceModifiersSequence
default ChannelSourceModifiersSequence ensureChannelSourceModifiersSequence(int initialCapacity)
Adds a new Channel Source Modifiers Sequence (seeChannelSourceModifiersSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Channel Source Modifiers Sequence is created.- Returns:
- either the already existing Channel Source Modifiers Sequence (see
ChannelSourceModifiersSequence) or a new one with capacityinitialCapacity.
-
ensureChannelSourceModifiersSequence
default ChannelSourceModifiersSequence ensureChannelSourceModifiersSequence()
Adds a new Channel Source Modifiers Sequence (seeChannelSourceModifiersSequence) with initial capacity 1 (seeensureChannelSourceModifiersSequence(int)) if it does not already exist.- Returns:
- either the already existing Channel Source Modifiers Sequence (see
ChannelSourceModifiersSequence) or a new one with capacity 1.
-
containsChannelSourceModifiersSequence
default boolean containsChannelSourceModifiersSequence()
- Returns:
- whether it contains the Channel Source Modifiers Sequence (see
ChannelSourceModifiersSequence)
-
removeChannelSourceModifiersSequence
default void removeChannelSourceModifiersSequence()
Removes the Channel Source Modifiers Sequence (seeChannelSourceModifiersSequence
-
-