Interface PulserSettingsSequence.Holder
- All Superinterfaces:
AttributesWrapper
- Enclosing class:
- PulserSettingsSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Pulser Settings Sequence" (see
PulserSettingsSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault PulserSettingsSequenceAdds a new Pulser Settings Sequence (seePulserSettingsSequence) with initial capacity 1 (seeensurePulserSettingsSequence(int)) if it does not already exist.default PulserSettingsSequenceensurePulserSettingsSequence(int initialCapacity) Adds a new Pulser Settings Sequence (seePulserSettingsSequence) if it does not already exist.default PulserSettingsSequencedefault PulserSettingsSequencenewPulserSettingsSequence(int initialCapacity) Adds a new Pulser Settings Sequence.default voidRemoves the Pulser Settings Sequence (seePulserSettingsSequencewrap(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 Pulser Settings Sequence (seePulserSettingsSequence)- Returns:
- A wrapper object implementing the
PulserSettingsSequence.Holderinterface.
-
getPulserSettingsSequence
- Returns:
- the Pulser Settings Sequence (see
PulserSettingsSequence)
-
newPulserSettingsSequence
Adds a new Pulser Settings Sequence. (seePulserSettingsSequence)- Parameters:
initialCapacity- the initial capacity for the new Pulser Settings Sequence
-
ensurePulserSettingsSequence
Adds a new Pulser Settings Sequence (seePulserSettingsSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Pulser Settings Sequence is created.- Returns:
- Either the already existing Pulser Settings Sequence (see
PulserSettingsSequence) or a new one with capacityinitialCapacity.
-
ensurePulserSettingsSequence
Adds a new Pulser Settings Sequence (seePulserSettingsSequence) with initial capacity 1 (seeensurePulserSettingsSequence(int)) if it does not already exist.- Returns:
- Either the already existing Pulser Settings Sequence (see
PulserSettingsSequence) or a new one with capacity 1.
-
containsPulserSettingsSequence
default boolean containsPulserSettingsSequence()- Returns:
- Whether it contains the Pulser Settings Sequence (see
PulserSettingsSequence)
-
removePulserSettingsSequence
default void removePulserSettingsSequence()Removes the Pulser Settings Sequence (seePulserSettingsSequence
-