Interface RecordedLateralSpreadingDeviceSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
IonMachineVerificationSequence.Item,RecordedLateralSpreadingDeviceSequence.SimpleHolder,TreatmentSessionIonBeamSequence.Item
- Enclosing class:
- RecordedLateralSpreadingDeviceSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Recorded Lateral Spreading Device Sequence" (see
RecordedLateralSpreadingDeviceSequence)-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleanAdds a new Recorded Lateral Spreading Device Sequence (seeRecordedLateralSpreadingDeviceSequence) with initial capacity 1 (seeensureRecordedLateralSpreadingDeviceSequence(int)) if it does not already exist.ensureRecordedLateralSpreadingDeviceSequence(int initialCapacity) Adds a new Recorded Lateral Spreading Device Sequence (seeRecordedLateralSpreadingDeviceSequence) if it does not already exist.newRecordedLateralSpreadingDeviceSequence(int initialCapacity) Adds a new Recorded Lateral Spreading Device Sequence.default voidRemoves the Recorded Lateral Spreading Device Sequence (seeRecordedLateralSpreadingDeviceSequencewrap(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 Lateral Spreading Device Sequence (seeRecordedLateralSpreadingDeviceSequence)- Returns:
- A wrapper object implementing the
RecordedLateralSpreadingDeviceSequence.Holderinterface.
-
builder
- Returns:
- a
RecordedLateralSpreadingDeviceSequence.Holder.Builderto create Recorded Lateral Spreading Device Sequence Items with a fluent API.
-
builder
static RecordedLateralSpreadingDeviceSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes) - Parameters:
attributes- The Attributes to be wrapped by theRecordedLateralSpreadingDeviceSequence.Holder.Builder.- Returns:
- a
RecordedLateralSpreadingDeviceSequence.Holder.Builderto create Recorded Lateral Spreading Device Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getRecordedLateralSpreadingDeviceSequence
- Returns:
- the Recorded Lateral Spreading Device Sequence (see
RecordedLateralSpreadingDeviceSequence)
-
newRecordedLateralSpreadingDeviceSequence
default RecordedLateralSpreadingDeviceSequence newRecordedLateralSpreadingDeviceSequence(int initialCapacity) Adds a new Recorded Lateral Spreading Device Sequence. (seeRecordedLateralSpreadingDeviceSequence)- Parameters:
initialCapacity- the initial capacity for the new Recorded Lateral Spreading Device Sequence
-
ensureRecordedLateralSpreadingDeviceSequence
default RecordedLateralSpreadingDeviceSequence ensureRecordedLateralSpreadingDeviceSequence(int initialCapacity) Adds a new Recorded Lateral Spreading Device Sequence (seeRecordedLateralSpreadingDeviceSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Recorded Lateral Spreading Device Sequence is created.- Returns:
- Either the already existing Recorded Lateral Spreading Device Sequence (see
RecordedLateralSpreadingDeviceSequence) or a new one with capacityinitialCapacity.
-
ensureRecordedLateralSpreadingDeviceSequence
Adds a new Recorded Lateral Spreading Device Sequence (seeRecordedLateralSpreadingDeviceSequence) with initial capacity 1 (seeensureRecordedLateralSpreadingDeviceSequence(int)) if it does not already exist.- Returns:
- Either the already existing Recorded Lateral Spreading Device Sequence (see
RecordedLateralSpreadingDeviceSequence) or a new one with capacity 1.
-
containsRecordedLateralSpreadingDeviceSequence
default boolean containsRecordedLateralSpreadingDeviceSequence()- Returns:
- Whether it contains the Recorded Lateral Spreading Device Sequence (see
RecordedLateralSpreadingDeviceSequence)
-
removeRecordedLateralSpreadingDeviceSequence
default void removeRecordedLateralSpreadingDeviceSequence()Removes the Recorded Lateral Spreading Device Sequence (seeRecordedLateralSpreadingDeviceSequence
-