Interface BeamLimitingDeviceLeafPairsSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
BeamLimitingDeviceLeafPairsSequence.SimpleHolder,GeneralMachineVerificationSequence.Item,TreatmentSessionBeamSequence.Item,TreatmentSessionIonBeamSequence.Item
- Enclosing class:
- BeamLimitingDeviceLeafPairsSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Beam Limiting Device Leaf Pairs Sequence" (see
BeamLimitingDeviceLeafPairsSequence)-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleanAdds a new Beam Limiting Device Leaf Pairs Sequence (seeBeamLimitingDeviceLeafPairsSequence) with initial capacity 1 (seeensureBeamLimitingDeviceLeafPairsSequence(int)) if it does not already exist.ensureBeamLimitingDeviceLeafPairsSequence(int initialCapacity) Adds a new Beam Limiting Device Leaf Pairs Sequence (seeBeamLimitingDeviceLeafPairsSequence) if it does not already exist.newBeamLimitingDeviceLeafPairsSequence(int initialCapacity) Adds a new Beam Limiting Device Leaf Pairs Sequence.default voidRemoves the Beam Limiting Device Leaf Pairs Sequence (seeBeamLimitingDeviceLeafPairsSequencewrap(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 Beam Limiting Device Leaf Pairs Sequence (seeBeamLimitingDeviceLeafPairsSequence)- Returns:
- A wrapper object implementing the
BeamLimitingDeviceLeafPairsSequence.Holderinterface.
-
builder
- Returns:
- a
BeamLimitingDeviceLeafPairsSequence.Holder.Builderto create Beam Limiting Device Leaf Pairs Sequence Items with a fluent API.
-
builder
static BeamLimitingDeviceLeafPairsSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes) - Parameters:
attributes- The Attributes to be wrapped by theBeamLimitingDeviceLeafPairsSequence.Holder.Builder.- Returns:
- a
BeamLimitingDeviceLeafPairsSequence.Holder.Builderto create Beam Limiting Device Leaf Pairs Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getBeamLimitingDeviceLeafPairsSequence
- Returns:
- the Beam Limiting Device Leaf Pairs Sequence (see
BeamLimitingDeviceLeafPairsSequence)
-
newBeamLimitingDeviceLeafPairsSequence
default BeamLimitingDeviceLeafPairsSequence newBeamLimitingDeviceLeafPairsSequence(int initialCapacity) Adds a new Beam Limiting Device Leaf Pairs Sequence. (seeBeamLimitingDeviceLeafPairsSequence)- Parameters:
initialCapacity- the initial capacity for the new Beam Limiting Device Leaf Pairs Sequence
-
ensureBeamLimitingDeviceLeafPairsSequence
default BeamLimitingDeviceLeafPairsSequence ensureBeamLimitingDeviceLeafPairsSequence(int initialCapacity) Adds a new Beam Limiting Device Leaf Pairs Sequence (seeBeamLimitingDeviceLeafPairsSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Beam Limiting Device Leaf Pairs Sequence is created.- Returns:
- Either the already existing Beam Limiting Device Leaf Pairs Sequence (see
BeamLimitingDeviceLeafPairsSequence) or a new one with capacityinitialCapacity.
-
ensureBeamLimitingDeviceLeafPairsSequence
Adds a new Beam Limiting Device Leaf Pairs Sequence (seeBeamLimitingDeviceLeafPairsSequence) with initial capacity 1 (seeensureBeamLimitingDeviceLeafPairsSequence(int)) if it does not already exist.- Returns:
- Either the already existing Beam Limiting Device Leaf Pairs Sequence (see
BeamLimitingDeviceLeafPairsSequence) or a new one with capacity 1.
-
containsBeamLimitingDeviceLeafPairsSequence
default boolean containsBeamLimitingDeviceLeafPairsSequence()- Returns:
- Whether it contains the Beam Limiting Device Leaf Pairs Sequence (see
BeamLimitingDeviceLeafPairsSequence)
-
removeBeamLimitingDeviceLeafPairsSequence
default void removeBeamLimitingDeviceLeafPairsSequence()Removes the Beam Limiting Device Leaf Pairs Sequence (seeBeamLimitingDeviceLeafPairsSequence
-