Interface SegmentedRTAccessoryDeviceSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
RTSegmentAnnotationSequence.Item,SegmentedRTAccessoryDeviceSequence.SimpleHolder
- Enclosing class:
- SegmentedRTAccessoryDeviceSequence
public static interface SegmentedRTAccessoryDeviceSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Segmented RT Accessory Device Sequence" (seeSegmentedRTAccessoryDeviceSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classSegmentedRTAccessoryDeviceSequence.Holder.Builder
-
Method Summary
-
-
-
Method Detail
-
wrap
static SegmentedRTAccessoryDeviceSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Segmented RT Accessory Device Sequence (seeSegmentedRTAccessoryDeviceSequence)- Returns:
- a wrapper object implementing the
SegmentedRTAccessoryDeviceSequence.Holderinterface.
-
builder
static SegmentedRTAccessoryDeviceSequence.Holder.Builder builder()
- Returns:
- a
SegmentedRTAccessoryDeviceSequence.Holder.Builderto create Segmented RT Accessory Device Sequence Items with a fluent API.
-
builder
static SegmentedRTAccessoryDeviceSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theSegmentedRTAccessoryDeviceSequence.Holder.Builder.- Returns:
- a
SegmentedRTAccessoryDeviceSequence.Holder.Builderto create Segmented RT Accessory Device Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getSegmentedRTAccessoryDeviceSequence
default SegmentedRTAccessoryDeviceSequence getSegmentedRTAccessoryDeviceSequence()
- Returns:
- the Segmented RT Accessory Device Sequence (see
SegmentedRTAccessoryDeviceSequence)
-
newSegmentedRTAccessoryDeviceSequence
default SegmentedRTAccessoryDeviceSequence newSegmentedRTAccessoryDeviceSequence(int initialCapacity)
Adds a new Segmented RT Accessory Device Sequence. (seeSegmentedRTAccessoryDeviceSequence)- Parameters:
initialCapacity- the initial capacity for the new Segmented RT Accessory Device Sequence- Returns:
- the newly created SegmentedRTAccessoryDeviceSequence.
-
ensureSegmentedRTAccessoryDeviceSequence
default SegmentedRTAccessoryDeviceSequence ensureSegmentedRTAccessoryDeviceSequence(int initialCapacity)
Adds a new Segmented RT Accessory Device Sequence (seeSegmentedRTAccessoryDeviceSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Segmented RT Accessory Device Sequence is created.- Returns:
- either the already existing Segmented RT Accessory Device Sequence (see
SegmentedRTAccessoryDeviceSequence) or a new one with capacityinitialCapacity.
-
ensureSegmentedRTAccessoryDeviceSequence
default SegmentedRTAccessoryDeviceSequence ensureSegmentedRTAccessoryDeviceSequence()
Adds a new Segmented RT Accessory Device Sequence (seeSegmentedRTAccessoryDeviceSequence) with initial capacity 1 (seeensureSegmentedRTAccessoryDeviceSequence(int)) if it does not already exist.- Returns:
- either the already existing Segmented RT Accessory Device Sequence (see
SegmentedRTAccessoryDeviceSequence) or a new one with capacity 1.
-
containsSegmentedRTAccessoryDeviceSequence
default boolean containsSegmentedRTAccessoryDeviceSequence()
- Returns:
- whether it contains the Segmented RT Accessory Device Sequence (see
SegmentedRTAccessoryDeviceSequence)
-
removeSegmentedRTAccessoryDeviceSequence
default void removeSegmentedRTAccessoryDeviceSequence()
Removes the Segmented RT Accessory Device Sequence (seeSegmentedRTAccessoryDeviceSequence
-
-