Interface BeamLimitingDeviceLeafPairsSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
BeamLimitingDeviceLeafPairsSequence.SimpleHolder,GeneralMachineVerificationSequence.Item,TreatmentSessionBeamSequence.Item,TreatmentSessionIonBeamSequence.Item
- Enclosing class:
- BeamLimitingDeviceLeafPairsSequence
public static interface BeamLimitingDeviceLeafPairsSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Beam Limiting Device Leaf Pairs Sequence" (seeBeamLimitingDeviceLeafPairsSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classBeamLimitingDeviceLeafPairsSequence.Holder.Builder
-
Method Summary
-
-
-
Method Detail
-
wrap
static BeamLimitingDeviceLeafPairsSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Beam Limiting Device Leaf Pairs Sequence (seeBeamLimitingDeviceLeafPairsSequence)- Returns:
- a wrapper object implementing the
BeamLimitingDeviceLeafPairsSequence.Holderinterface.
-
builder
static BeamLimitingDeviceLeafPairsSequence.Holder.Builder 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
default BeamLimitingDeviceLeafPairsSequence 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- Returns:
- the newly created BeamLimitingDeviceLeafPairsSequence.
-
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
default BeamLimitingDeviceLeafPairsSequence 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
-
-