Interface OmittedChannelSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
OmittedApplicationSetupSequence.Item
- Enclosing class:
- OmittedChannelSequence
public static interface OmittedChannelSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Omitted Channel Sequence" (seeOmittedChannelSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classOmittedChannelSequence.Holder.Builder
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static OmittedChannelSequence.Holder.Builderbuilder()static OmittedChannelSequence.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes)default booleancontainsOmittedChannelSequence()default OmittedChannelSequenceensureOmittedChannelSequence()Adds a new Omitted Channel Sequence (seeOmittedChannelSequence) with initial capacity 1 (seeensureOmittedChannelSequence(int)) if it does not already exist.default OmittedChannelSequenceensureOmittedChannelSequence(int initialCapacity)Adds a new Omitted Channel Sequence (seeOmittedChannelSequence) if it does not already exist.default OmittedChannelSequencegetOmittedChannelSequence()default OmittedChannelSequencenewOmittedChannelSequence(int initialCapacity)Adds a new Omitted Channel Sequence.default voidremoveOmittedChannelSequence()Removes the Omitted Channel Sequence (seeOmittedChannelSequencestatic OmittedChannelSequence.Holderwrap(org.dcm4che3.data.Attributes attributes)
-
-
-
Method Detail
-
wrap
static OmittedChannelSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Omitted Channel Sequence (seeOmittedChannelSequence)- Returns:
- a wrapper object implementing the
OmittedChannelSequence.Holderinterface.
-
builder
static OmittedChannelSequence.Holder.Builder builder()
- Returns:
- a
OmittedChannelSequence.Holder.Builderto create Omitted Channel Sequence Items with a fluent API.
-
builder
static OmittedChannelSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theOmittedChannelSequence.Holder.Builder.- Returns:
- a
OmittedChannelSequence.Holder.Builderto create Omitted Channel Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getOmittedChannelSequence
default OmittedChannelSequence getOmittedChannelSequence()
- Returns:
- the Omitted Channel Sequence (see
OmittedChannelSequence)
-
newOmittedChannelSequence
default OmittedChannelSequence newOmittedChannelSequence(int initialCapacity)
Adds a new Omitted Channel Sequence. (seeOmittedChannelSequence)- Parameters:
initialCapacity- the initial capacity for the new Omitted Channel Sequence- Returns:
- the newly created OmittedChannelSequence.
-
ensureOmittedChannelSequence
default OmittedChannelSequence ensureOmittedChannelSequence(int initialCapacity)
Adds a new Omitted Channel Sequence (seeOmittedChannelSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Omitted Channel Sequence is created.- Returns:
- either the already existing Omitted Channel Sequence (see
OmittedChannelSequence) or a new one with capacityinitialCapacity.
-
ensureOmittedChannelSequence
default OmittedChannelSequence ensureOmittedChannelSequence()
Adds a new Omitted Channel Sequence (seeOmittedChannelSequence) with initial capacity 1 (seeensureOmittedChannelSequence(int)) if it does not already exist.- Returns:
- either the already existing Omitted Channel Sequence (see
OmittedChannelSequence) or a new one with capacity 1.
-
containsOmittedChannelSequence
default boolean containsOmittedChannelSequence()
- Returns:
- whether it contains the Omitted Channel Sequence (see
OmittedChannelSequence)
-
removeOmittedChannelSequence
default void removeOmittedChannelSequence()
Removes the Omitted Channel Sequence (seeOmittedChannelSequence
-
-