Interface DeviceMotionControlSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
BeamTaskSequence.Item,DeviceMotionControlSequence.SimpleHolder,RTRadiationTaskSequence.Item
- Enclosing class:
- DeviceMotionControlSequence
public static interface DeviceMotionControlSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Device Motion Control Sequence" (seeDeviceMotionControlSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classDeviceMotionControlSequence.Holder.Builder
-
Method Summary
-
-
-
Method Detail
-
wrap
static DeviceMotionControlSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Device Motion Control Sequence (seeDeviceMotionControlSequence)- Returns:
- a wrapper object implementing the
DeviceMotionControlSequence.Holderinterface.
-
builder
static DeviceMotionControlSequence.Holder.Builder builder()
- Returns:
- a
DeviceMotionControlSequence.Holder.Builderto create Device Motion Control Sequence Items with a fluent API.
-
builder
static DeviceMotionControlSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theDeviceMotionControlSequence.Holder.Builder.- Returns:
- a
DeviceMotionControlSequence.Holder.Builderto create Device Motion Control Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getDeviceMotionControlSequence
default DeviceMotionControlSequence getDeviceMotionControlSequence()
- Returns:
- the Device Motion Control Sequence (see
DeviceMotionControlSequence)
-
newDeviceMotionControlSequence
default DeviceMotionControlSequence newDeviceMotionControlSequence(int initialCapacity)
Adds a new Device Motion Control Sequence. (seeDeviceMotionControlSequence)- Parameters:
initialCapacity- the initial capacity for the new Device Motion Control Sequence- Returns:
- the newly created DeviceMotionControlSequence.
-
ensureDeviceMotionControlSequence
default DeviceMotionControlSequence ensureDeviceMotionControlSequence(int initialCapacity)
Adds a new Device Motion Control Sequence (seeDeviceMotionControlSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Device Motion Control Sequence is created.- Returns:
- either the already existing Device Motion Control Sequence (see
DeviceMotionControlSequence) or a new one with capacityinitialCapacity.
-
ensureDeviceMotionControlSequence
default DeviceMotionControlSequence ensureDeviceMotionControlSequence()
Adds a new Device Motion Control Sequence (seeDeviceMotionControlSequence) with initial capacity 1 (seeensureDeviceMotionControlSequence(int)) if it does not already exist.- Returns:
- either the already existing Device Motion Control Sequence (see
DeviceMotionControlSequence) or a new one with capacity 1.
-
containsDeviceMotionControlSequence
default boolean containsDeviceMotionControlSequence()
- Returns:
- whether it contains the Device Motion Control Sequence (see
DeviceMotionControlSequence)
-
removeDeviceMotionControlSequence
default void removeDeviceMotionControlSequence()
Removes the Device Motion Control Sequence (seeDeviceMotionControlSequence
-
-