Interface ChannelDisplaySequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
ChannelDisplaySequence.SimpleHolder,WaveformPresentationGroupSequence.Item
- Enclosing class:
- ChannelDisplaySequence
public static interface ChannelDisplaySequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Channel Display Sequence" (seeChannelDisplaySequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classChannelDisplaySequence.Holder.Builder
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static ChannelDisplaySequence.Holder.Builderbuilder()static ChannelDisplaySequence.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes)default booleancontainsChannelDisplaySequence()default ChannelDisplaySequenceensureChannelDisplaySequence()Adds a new Channel Display Sequence (seeChannelDisplaySequence) with initial capacity 1 (seeensureChannelDisplaySequence(int)) if it does not already exist.default ChannelDisplaySequenceensureChannelDisplaySequence(int initialCapacity)Adds a new Channel Display Sequence (seeChannelDisplaySequence) if it does not already exist.default ChannelDisplaySequencegetChannelDisplaySequence()default ChannelDisplaySequencenewChannelDisplaySequence(int initialCapacity)Adds a new Channel Display Sequence.default voidremoveChannelDisplaySequence()Removes the Channel Display Sequence (seeChannelDisplaySequencestatic ChannelDisplaySequence.Holderwrap(org.dcm4che3.data.Attributes attributes)
-
-
-
Method Detail
-
wrap
static ChannelDisplaySequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Channel Display Sequence (seeChannelDisplaySequence)- Returns:
- a wrapper object implementing the
ChannelDisplaySequence.Holderinterface.
-
builder
static ChannelDisplaySequence.Holder.Builder builder()
- Returns:
- a
ChannelDisplaySequence.Holder.Builderto create Channel Display Sequence Items with a fluent API.
-
builder
static ChannelDisplaySequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theChannelDisplaySequence.Holder.Builder.- Returns:
- a
ChannelDisplaySequence.Holder.Builderto create Channel Display Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getChannelDisplaySequence
default ChannelDisplaySequence getChannelDisplaySequence()
- Returns:
- the Channel Display Sequence (see
ChannelDisplaySequence)
-
newChannelDisplaySequence
default ChannelDisplaySequence newChannelDisplaySequence(int initialCapacity)
Adds a new Channel Display Sequence. (seeChannelDisplaySequence)- Parameters:
initialCapacity- the initial capacity for the new Channel Display Sequence- Returns:
- the newly created ChannelDisplaySequence.
-
ensureChannelDisplaySequence
default ChannelDisplaySequence ensureChannelDisplaySequence(int initialCapacity)
Adds a new Channel Display Sequence (seeChannelDisplaySequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Channel Display Sequence is created.- Returns:
- either the already existing Channel Display Sequence (see
ChannelDisplaySequence) or a new one with capacityinitialCapacity.
-
ensureChannelDisplaySequence
default ChannelDisplaySequence ensureChannelDisplaySequence()
Adds a new Channel Display Sequence (seeChannelDisplaySequence) with initial capacity 1 (seeensureChannelDisplaySequence(int)) if it does not already exist.- Returns:
- either the already existing Channel Display Sequence (see
ChannelDisplaySequence) or a new one with capacity 1.
-
containsChannelDisplaySequence
default boolean containsChannelDisplaySequence()
- Returns:
- whether it contains the Channel Display Sequence (see
ChannelDisplaySequence)
-
removeChannelDisplaySequence
default void removeChannelDisplaySequence()
Removes the Channel Display Sequence (seeChannelDisplaySequence
-
-