Interface RTPhysicianIntentSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
RTPhysicianIntentModule
- All Known Implementing Classes:
RTPhysicianIntentIOD,RTPhysicianIntentSequence.SimpleHolder
- Enclosing class:
- RTPhysicianIntentSequence
A class implementing this interface can hold attributes which contain the DICOM tag "RT Physician Intent Sequence" (see
RTPhysicianIntentSequence)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault RTPhysicianIntentSequenceAdds a new RT Physician Intent Sequence (seeRTPhysicianIntentSequence) with initial capacity 1 (seeensureRTPhysicianIntentSequence(int)) if it does not already exist.default RTPhysicianIntentSequenceensureRTPhysicianIntentSequence(int initialCapacity) Adds a new RT Physician Intent Sequence (seeRTPhysicianIntentSequence) if it does not already exist.default RTPhysicianIntentSequencedefault RTPhysicianIntentSequencenewRTPhysicianIntentSequence(int initialCapacity) Adds a new RT Physician Intent Sequence.default voidRemoves the RT Physician Intent Sequence (seeRTPhysicianIntentSequencewrap(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 RT Physician Intent Sequence (seeRTPhysicianIntentSequence)- Returns:
- A wrapper object implementing the
RTPhysicianIntentSequence.Holderinterface.
-
builder
- Returns:
- a
RTPhysicianIntentSequence.Holder.Builderto create RT Physician Intent Sequence Items with a fluent API.
-
builder
- 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
- Returns:
- the RT Physician Intent Sequence (see
RTPhysicianIntentSequence)
-
newRTPhysicianIntentSequence
Adds a new RT Physician Intent Sequence. (seeRTPhysicianIntentSequence)- Parameters:
initialCapacity- the initial capacity for the new RT Physician Intent Sequence
-
ensureRTPhysicianIntentSequence
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
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
-