Interface ChannelImpedanceSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
ChannelDefinitionSequence.Item
- Enclosing class:
- ChannelImpedanceSequence
public static interface ChannelImpedanceSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Channel Impedance Sequence" (seeChannelImpedanceSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classChannelImpedanceSequence.Holder.Builder
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static ChannelImpedanceSequence.Holder.Builderbuilder()static ChannelImpedanceSequence.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes)default booleancontainsChannelImpedanceSequence()default ChannelImpedanceSequenceensureChannelImpedanceSequence()Adds a new Channel Impedance Sequence (seeChannelImpedanceSequence) with initial capacity 1 (seeensureChannelImpedanceSequence(int)) if it does not already exist.default ChannelImpedanceSequenceensureChannelImpedanceSequence(int initialCapacity)Adds a new Channel Impedance Sequence (seeChannelImpedanceSequence) if it does not already exist.default ChannelImpedanceSequencegetChannelImpedanceSequence()default ChannelImpedanceSequencenewChannelImpedanceSequence(int initialCapacity)Adds a new Channel Impedance Sequence.default voidremoveChannelImpedanceSequence()Removes the Channel Impedance Sequence (seeChannelImpedanceSequencestatic ChannelImpedanceSequence.Holderwrap(org.dcm4che3.data.Attributes attributes)
-
-
-
Method Detail
-
wrap
static ChannelImpedanceSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Channel Impedance Sequence (seeChannelImpedanceSequence)- Returns:
- a wrapper object implementing the
ChannelImpedanceSequence.Holderinterface.
-
builder
static ChannelImpedanceSequence.Holder.Builder builder()
- Returns:
- a
ChannelImpedanceSequence.Holder.Builderto create Channel Impedance Sequence Items with a fluent API.
-
builder
static ChannelImpedanceSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theChannelImpedanceSequence.Holder.Builder.- Returns:
- a
ChannelImpedanceSequence.Holder.Builderto create Channel Impedance Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getChannelImpedanceSequence
default ChannelImpedanceSequence getChannelImpedanceSequence()
- Returns:
- the Channel Impedance Sequence (see
ChannelImpedanceSequence)
-
newChannelImpedanceSequence
default ChannelImpedanceSequence newChannelImpedanceSequence(int initialCapacity)
Adds a new Channel Impedance Sequence. (seeChannelImpedanceSequence)- Parameters:
initialCapacity- the initial capacity for the new Channel Impedance Sequence- Returns:
- the newly created ChannelImpedanceSequence.
-
ensureChannelImpedanceSequence
default ChannelImpedanceSequence ensureChannelImpedanceSequence(int initialCapacity)
Adds a new Channel Impedance Sequence (seeChannelImpedanceSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Channel Impedance Sequence is created.- Returns:
- either the already existing Channel Impedance Sequence (see
ChannelImpedanceSequence) or a new one with capacityinitialCapacity.
-
ensureChannelImpedanceSequence
default ChannelImpedanceSequence ensureChannelImpedanceSequence()
Adds a new Channel Impedance Sequence (seeChannelImpedanceSequence) with initial capacity 1 (seeensureChannelImpedanceSequence(int)) if it does not already exist.- Returns:
- either the already existing Channel Impedance Sequence (see
ChannelImpedanceSequence) or a new one with capacity 1.
-
containsChannelImpedanceSequence
default boolean containsChannelImpedanceSequence()
- Returns:
- whether it contains the Channel Impedance Sequence (see
ChannelImpedanceSequence)
-
removeChannelImpedanceSequence
default void removeChannelImpedanceSequence()
Removes the Channel Impedance Sequence (seeChannelImpedanceSequence
-
-