Interface RTPhysicianIntentSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Subinterfaces:
RTPhysicianIntentModule
- All Known Implementing Classes:
RTPhysicianIntentIOD,RTPhysicianIntentSequence.SimpleHolder
- Enclosing class:
- RTPhysicianIntentSequence
public static interface RTPhysicianIntentSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "RT Physician Intent Sequence" (seeRTPhysicianIntentSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classRTPhysicianIntentSequence.Holder.Builder
-
Method Summary
-
-
-
Method Detail
-
wrap
static RTPhysicianIntentSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the RT Physician Intent Sequence (seeRTPhysicianIntentSequence)- Returns:
- a wrapper object implementing the
RTPhysicianIntentSequence.Holderinterface.
-
builder
static RTPhysicianIntentSequence.Holder.Builder builder()
- Returns:
- a
RTPhysicianIntentSequence.Holder.Builderto create RT Physician Intent Sequence Items with a fluent API.
-
builder
static RTPhysicianIntentSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theRTPhysicianIntentSequence.Holder.Builder.- Returns:
- a
RTPhysicianIntentSequence.Holder.Builderto create RT Physician Intent Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getRTPhysicianIntentSequence
default RTPhysicianIntentSequence getRTPhysicianIntentSequence()
- Returns:
- the RT Physician Intent Sequence (see
RTPhysicianIntentSequence)
-
newRTPhysicianIntentSequence
default RTPhysicianIntentSequence newRTPhysicianIntentSequence(int initialCapacity)
Adds a new RT Physician Intent Sequence. (seeRTPhysicianIntentSequence)- Parameters:
initialCapacity- the initial capacity for the new RT Physician Intent Sequence- Returns:
- the newly created RTPhysicianIntentSequence.
-
ensureRTPhysicianIntentSequence
default RTPhysicianIntentSequence ensureRTPhysicianIntentSequence(int initialCapacity)
Adds a new RT Physician Intent Sequence (seeRTPhysicianIntentSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new RT Physician Intent Sequence is created.- Returns:
- either the already existing RT Physician Intent Sequence (see
RTPhysicianIntentSequence) or a new one with capacityinitialCapacity.
-
ensureRTPhysicianIntentSequence
default RTPhysicianIntentSequence ensureRTPhysicianIntentSequence()
Adds a new RT Physician Intent Sequence (seeRTPhysicianIntentSequence) with initial capacity 1 (seeensureRTPhysicianIntentSequence(int)) if it does not already exist.- Returns:
- either the already existing RT Physician Intent Sequence (see
RTPhysicianIntentSequence) or a new one with capacity 1.
-
containsRTPhysicianIntentSequence
default boolean containsRTPhysicianIntentSequence()
- Returns:
- whether it contains the RT Physician Intent Sequence (see
RTPhysicianIntentSequence)
-
removeRTPhysicianIntentSequence
default void removeRTPhysicianIntentSequence()
Removes the RT Physician Intent Sequence (seeRTPhysicianIntentSequence
-
-