Interface DeviceMotionControlSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
BeamTaskSequence.Item,RTRadiationTaskSequence.Item
- Enclosing class:
- DeviceMotionControlSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Device Motion Control Sequence" (see
DeviceMotionControlSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault DeviceMotionControlSequenceAdds a new Device Motion Control Sequence (seeDeviceMotionControlSequence) with initial capacity 1 (seeensureDeviceMotionControlSequence(int)) if it does not already exist.default DeviceMotionControlSequenceensureDeviceMotionControlSequence(int initialCapacity) Adds a new Device Motion Control Sequence (seeDeviceMotionControlSequence) if it does not already exist.default DeviceMotionControlSequencedefault DeviceMotionControlSequencenewDeviceMotionControlSequence(int initialCapacity) Adds a new Device Motion Control Sequence.default voidRemoves the Device Motion Control Sequence (seeDeviceMotionControlSequencewrap(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 Device Motion Control Sequence (seeDeviceMotionControlSequence)- Returns:
- A wrapper object implementing the
DeviceMotionControlSequence.Holderinterface.
-
getDeviceMotionControlSequence
- Returns:
- the Device Motion Control Sequence (see
DeviceMotionControlSequence)
-
newDeviceMotionControlSequence
Adds a new Device Motion Control Sequence. (seeDeviceMotionControlSequence)- Parameters:
initialCapacity- the initial capacity for the new Device Motion Control Sequence
-
ensureDeviceMotionControlSequence
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
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
-