Interface PulserEquipmentSequence.Holder
- All Superinterfaces:
AttributesWrapper
- Enclosing class:
- PulserEquipmentSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Pulser Equipment Sequence" (see
PulserEquipmentSequence)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault PulserEquipmentSequenceAdds a new Pulser Equipment Sequence (seePulserEquipmentSequence) with initial capacity 1 (seeensurePulserEquipmentSequence(int)) if it does not already exist.default PulserEquipmentSequenceensurePulserEquipmentSequence(int initialCapacity) Adds a new Pulser Equipment Sequence (seePulserEquipmentSequence) if it does not already exist.default PulserEquipmentSequencedefault PulserEquipmentSequencenewPulserEquipmentSequence(int initialCapacity) Adds a new Pulser Equipment Sequence.default voidRemoves the Pulser Equipment Sequence (seePulserEquipmentSequencewrap(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 Equipment Sequence (seePulserEquipmentSequence)- Returns:
- A wrapper object implementing the
PulserEquipmentSequence.Holderinterface.
-
builder
- Returns:
- a
PulserEquipmentSequence.Holder.Builderto create Pulser Equipment Sequence Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by thePulserEquipmentSequence.Holder.Builder.- Returns:
- a
PulserEquipmentSequence.Holder.Builderto create Pulser Equipment Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getPulserEquipmentSequence
- Returns:
- the Pulser Equipment Sequence (see
PulserEquipmentSequence)
-
newPulserEquipmentSequence
Adds a new Pulser Equipment Sequence. (seePulserEquipmentSequence)- Parameters:
initialCapacity- the initial capacity for the new Pulser Equipment Sequence
-
ensurePulserEquipmentSequence
Adds a new Pulser Equipment Sequence (seePulserEquipmentSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Pulser Equipment Sequence is created.- Returns:
- Either the already existing Pulser Equipment Sequence (see
PulserEquipmentSequence) or a new one with capacityinitialCapacity.
-
ensurePulserEquipmentSequence
Adds a new Pulser Equipment Sequence (seePulserEquipmentSequence) with initial capacity 1 (seeensurePulserEquipmentSequence(int)) if it does not already exist.- Returns:
- Either the already existing Pulser Equipment Sequence (see
PulserEquipmentSequence) or a new one with capacity 1.
-
containsPulserEquipmentSequence
default boolean containsPulserEquipmentSequence()- Returns:
- Whether it contains the Pulser Equipment Sequence (see
PulserEquipmentSequence)
-
removePulserEquipmentSequence
default void removePulserEquipmentSequence()Removes the Pulser Equipment Sequence (seePulserEquipmentSequence
-