Interface ChannelShieldSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
ChannelSequence.Item
- Enclosing class:
- ChannelShieldSequence
public static interface ChannelShieldSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Channel Shield Sequence" (seeChannelShieldSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classChannelShieldSequence.Holder.Builder
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static ChannelShieldSequence.Holder.Builderbuilder()static ChannelShieldSequence.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes)default booleancontainsChannelShieldSequence()default ChannelShieldSequenceensureChannelShieldSequence()Adds a new Channel Shield Sequence (seeChannelShieldSequence) with initial capacity 1 (seeensureChannelShieldSequence(int)) if it does not already exist.default ChannelShieldSequenceensureChannelShieldSequence(int initialCapacity)Adds a new Channel Shield Sequence (seeChannelShieldSequence) if it does not already exist.default ChannelShieldSequencegetChannelShieldSequence()default ChannelShieldSequencenewChannelShieldSequence(int initialCapacity)Adds a new Channel Shield Sequence.default voidremoveChannelShieldSequence()Removes the Channel Shield Sequence (seeChannelShieldSequencestatic ChannelShieldSequence.Holderwrap(org.dcm4che3.data.Attributes attributes)
-
-
-
Method Detail
-
wrap
static ChannelShieldSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Channel Shield Sequence (seeChannelShieldSequence)- Returns:
- a wrapper object implementing the
ChannelShieldSequence.Holderinterface.
-
builder
static ChannelShieldSequence.Holder.Builder builder()
- Returns:
- a
ChannelShieldSequence.Holder.Builderto create Channel Shield Sequence Items with a fluent API.
-
builder
static ChannelShieldSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theChannelShieldSequence.Holder.Builder.- Returns:
- a
ChannelShieldSequence.Holder.Builderto create Channel Shield Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getChannelShieldSequence
default ChannelShieldSequence getChannelShieldSequence()
- Returns:
- the Channel Shield Sequence (see
ChannelShieldSequence)
-
newChannelShieldSequence
default ChannelShieldSequence newChannelShieldSequence(int initialCapacity)
Adds a new Channel Shield Sequence. (seeChannelShieldSequence)- Parameters:
initialCapacity- the initial capacity for the new Channel Shield Sequence- Returns:
- the newly created ChannelShieldSequence.
-
ensureChannelShieldSequence
default ChannelShieldSequence ensureChannelShieldSequence(int initialCapacity)
Adds a new Channel Shield Sequence (seeChannelShieldSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Channel Shield Sequence is created.- Returns:
- either the already existing Channel Shield Sequence (see
ChannelShieldSequence) or a new one with capacityinitialCapacity.
-
ensureChannelShieldSequence
default ChannelShieldSequence ensureChannelShieldSequence()
Adds a new Channel Shield Sequence (seeChannelShieldSequence) with initial capacity 1 (seeensureChannelShieldSequence(int)) if it does not already exist.- Returns:
- either the already existing Channel Shield Sequence (see
ChannelShieldSequence) or a new one with capacity 1.
-
containsChannelShieldSequence
default boolean containsChannelShieldSequence()
- Returns:
- whether it contains the Channel Shield Sequence (see
ChannelShieldSequence)
-
removeChannelShieldSequence
default void removeChannelShieldSequence()
Removes the Channel Shield Sequence (seeChannelShieldSequence
-
-