Interface RTImageScopeSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- Enclosing class:
- RTImageScopeSequence
public static interface RTImageScopeSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "RT Image Scope Sequence" (seeRTImageScopeSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classRTImageScopeSequence.Holder.Builder
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static RTImageScopeSequence.Holder.Builderbuilder()static RTImageScopeSequence.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes)default booleancontainsRTImageScopeSequence()default RTImageScopeSequenceensureRTImageScopeSequence()Adds a new RT Image Scope Sequence (seeRTImageScopeSequence) with initial capacity 1 (seeensureRTImageScopeSequence(int)) if it does not already exist.default RTImageScopeSequenceensureRTImageScopeSequence(int initialCapacity)Adds a new RT Image Scope Sequence (seeRTImageScopeSequence) if it does not already exist.default RTImageScopeSequencegetRTImageScopeSequence()default RTImageScopeSequencenewRTImageScopeSequence(int initialCapacity)Adds a new RT Image Scope Sequence.default voidremoveRTImageScopeSequence()Removes the RT Image Scope Sequence (seeRTImageScopeSequencestatic RTImageScopeSequence.Holderwrap(org.dcm4che3.data.Attributes attributes)
-
-
-
Method Detail
-
wrap
static RTImageScopeSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the RT Image Scope Sequence (seeRTImageScopeSequence)- Returns:
- a wrapper object implementing the
RTImageScopeSequence.Holderinterface.
-
builder
static RTImageScopeSequence.Holder.Builder builder()
- Returns:
- a
RTImageScopeSequence.Holder.Builderto create RT Image Scope Sequence Items with a fluent API.
-
builder
static RTImageScopeSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theRTImageScopeSequence.Holder.Builder.- Returns:
- a
RTImageScopeSequence.Holder.Builderto create RT Image Scope Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getRTImageScopeSequence
default RTImageScopeSequence getRTImageScopeSequence()
- Returns:
- the RT Image Scope Sequence (see
RTImageScopeSequence)
-
newRTImageScopeSequence
default RTImageScopeSequence newRTImageScopeSequence(int initialCapacity)
Adds a new RT Image Scope Sequence. (seeRTImageScopeSequence)- Parameters:
initialCapacity- the initial capacity for the new RT Image Scope Sequence- Returns:
- the newly created RTImageScopeSequence.
-
ensureRTImageScopeSequence
default RTImageScopeSequence ensureRTImageScopeSequence(int initialCapacity)
Adds a new RT Image Scope Sequence (seeRTImageScopeSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new RT Image Scope Sequence is created.- Returns:
- either the already existing RT Image Scope Sequence (see
RTImageScopeSequence) or a new one with capacityinitialCapacity.
-
ensureRTImageScopeSequence
default RTImageScopeSequence ensureRTImageScopeSequence()
Adds a new RT Image Scope Sequence (seeRTImageScopeSequence) with initial capacity 1 (seeensureRTImageScopeSequence(int)) if it does not already exist.- Returns:
- either the already existing RT Image Scope Sequence (see
RTImageScopeSequence) or a new one with capacity 1.
-
containsRTImageScopeSequence
default boolean containsRTImageScopeSequence()
- Returns:
- whether it contains the RT Image Scope Sequence (see
RTImageScopeSequence)
-
removeRTImageScopeSequence
default void removeRTImageScopeSequence()
Removes the RT Image Scope Sequence (seeRTImageScopeSequence
-
-