Interface RecordedRangeModulatorSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
IonMachineVerificationSequence.Item,RecordedRangeModulatorSequence.SimpleHolder,TreatmentSessionIonBeamSequence.Item
- Enclosing class:
- RecordedRangeModulatorSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Recorded Range Modulator Sequence" (see
RecordedRangeModulatorSequence)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault RecordedRangeModulatorSequenceAdds a new Recorded Range Modulator Sequence (seeRecordedRangeModulatorSequence) with initial capacity 1 (seeensureRecordedRangeModulatorSequence(int)) if it does not already exist.default RecordedRangeModulatorSequenceensureRecordedRangeModulatorSequence(int initialCapacity) Adds a new Recorded Range Modulator Sequence (seeRecordedRangeModulatorSequence) if it does not already exist.default RecordedRangeModulatorSequencedefault RecordedRangeModulatorSequencenewRecordedRangeModulatorSequence(int initialCapacity) Adds a new Recorded Range Modulator Sequence.default voidRemoves the Recorded Range Modulator Sequence (seeRecordedRangeModulatorSequencewrap(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 Recorded Range Modulator Sequence (seeRecordedRangeModulatorSequence)- Returns:
- A wrapper object implementing the
RecordedRangeModulatorSequence.Holderinterface.
-
builder
- Returns:
- a
RecordedRangeModulatorSequence.Holder.Builderto create Recorded Range Modulator Sequence Items with a fluent API.
-
builder
static RecordedRangeModulatorSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes) - Parameters:
attributes- The Attributes to be wrapped by theRecordedRangeModulatorSequence.Holder.Builder.- Returns:
- a
RecordedRangeModulatorSequence.Holder.Builderto create Recorded Range Modulator Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getRecordedRangeModulatorSequence
- Returns:
- the Recorded Range Modulator Sequence (see
RecordedRangeModulatorSequence)
-
newRecordedRangeModulatorSequence
Adds a new Recorded Range Modulator Sequence. (seeRecordedRangeModulatorSequence)- Parameters:
initialCapacity- the initial capacity for the new Recorded Range Modulator Sequence
-
ensureRecordedRangeModulatorSequence
Adds a new Recorded Range Modulator Sequence (seeRecordedRangeModulatorSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Recorded Range Modulator Sequence is created.- Returns:
- Either the already existing Recorded Range Modulator Sequence (see
RecordedRangeModulatorSequence) or a new one with capacityinitialCapacity.
-
ensureRecordedRangeModulatorSequence
Adds a new Recorded Range Modulator Sequence (seeRecordedRangeModulatorSequence) with initial capacity 1 (seeensureRecordedRangeModulatorSequence(int)) if it does not already exist.- Returns:
- Either the already existing Recorded Range Modulator Sequence (see
RecordedRangeModulatorSequence) or a new one with capacity 1.
-
containsRecordedRangeModulatorSequence
default boolean containsRecordedRangeModulatorSequence()- Returns:
- Whether it contains the Recorded Range Modulator Sequence (see
RecordedRangeModulatorSequence)
-
removeRecordedRangeModulatorSequence
default void removeRecordedRangeModulatorSequence()Removes the Recorded Range Modulator Sequence (seeRecordedRangeModulatorSequence
-