Interface GateSettingsSequence.Holder
- All Superinterfaces:
AttributesWrapper
- Enclosing class:
- GateSettingsSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Gate Settings Sequence" (see
GateSettingsSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault GateSettingsSequenceAdds 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 GateSettingsSequencedefault GateSettingsSequencenewGateSettingsSequence(int initialCapacity) Adds a new Gate Settings Sequence.default voidRemoves the Gate Settings Sequence (seeGateSettingsSequencestatic GateSettingsSequence.Holderwrap(org.dcm4che3.data.Attributes attributes) Methods inherited from interface org.dcm4che.typeddicom.AttributesWrapper
copy, getAttributes, isEmpty
-
Method Details
-
wrap
- Parameters:
attributes- An attributes object containing the Gate Settings Sequence (seeGateSettingsSequence)- Returns:
- A wrapper object implementing the
GateSettingsSequence.Holderinterface.
-
getGateSettingsSequence
- Returns:
- the Gate Settings Sequence (see
GateSettingsSequence)
-
newGateSettingsSequence
Adds a new Gate Settings Sequence. (seeGateSettingsSequence)- Parameters:
initialCapacity- the initial capacity for the new Gate Settings Sequence
-
ensureGateSettingsSequence
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
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
-