Interface GateSettingsSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- Enclosing class:
- GateSettingsSequence
public static interface GateSettingsSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Gate Settings Sequence" (seeGateSettingsSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classGateSettingsSequence.Holder.Builder
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static GateSettingsSequence.Holder.Builderbuilder()static GateSettingsSequence.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes)default booleancontainsGateSettingsSequence()default GateSettingsSequenceensureGateSettingsSequence()Adds a new Gate Settings Sequence (seeGateSettingsSequence) with initial capacity 1 (seeensureGateSettingsSequence(int)) if it does not already exist.default GateSettingsSequenceensureGateSettingsSequence(int initialCapacity)Adds a new Gate Settings Sequence (seeGateSettingsSequence) if it does not already exist.default GateSettingsSequencegetGateSettingsSequence()default GateSettingsSequencenewGateSettingsSequence(int initialCapacity)Adds a new Gate Settings Sequence.default voidremoveGateSettingsSequence()Removes the Gate Settings Sequence (seeGateSettingsSequencestatic GateSettingsSequence.Holderwrap(org.dcm4che3.data.Attributes attributes)
-
-
-
Method Detail
-
wrap
static GateSettingsSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Gate Settings Sequence (seeGateSettingsSequence)- Returns:
- a wrapper object implementing the
GateSettingsSequence.Holderinterface.
-
builder
static GateSettingsSequence.Holder.Builder builder()
- Returns:
- a
GateSettingsSequence.Holder.Builderto create Gate Settings Sequence Items with a fluent API.
-
builder
static GateSettingsSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theGateSettingsSequence.Holder.Builder.- Returns:
- a
GateSettingsSequence.Holder.Builderto create Gate Settings Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getGateSettingsSequence
default GateSettingsSequence getGateSettingsSequence()
- Returns:
- the Gate Settings Sequence (see
GateSettingsSequence)
-
newGateSettingsSequence
default GateSettingsSequence newGateSettingsSequence(int initialCapacity)
Adds a new Gate Settings Sequence. (seeGateSettingsSequence)- Parameters:
initialCapacity- the initial capacity for the new Gate Settings Sequence- Returns:
- the newly created GateSettingsSequence.
-
ensureGateSettingsSequence
default GateSettingsSequence ensureGateSettingsSequence(int initialCapacity)
Adds a new Gate Settings Sequence (seeGateSettingsSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Gate Settings Sequence is created.- Returns:
- either the already existing Gate Settings Sequence (see
GateSettingsSequence) or a new one with capacityinitialCapacity.
-
ensureGateSettingsSequence
default GateSettingsSequence ensureGateSettingsSequence()
Adds a new Gate Settings Sequence (seeGateSettingsSequence) with initial capacity 1 (seeensureGateSettingsSequence(int)) if it does not already exist.- Returns:
- either the already existing Gate Settings Sequence (see
GateSettingsSequence) or a new one with capacity 1.
-
containsGateSettingsSequence
default boolean containsGateSettingsSequence()
- Returns:
- whether it contains the Gate Settings Sequence (see
GateSettingsSequence)
-
removeGateSettingsSequence
default void removeGateSettingsSequence()
Removes the Gate Settings Sequence (seeGateSettingsSequence
-
-