Interface RTReferencedStudySequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
ReferencedFrameOfReferenceSequence.Item
- Enclosing class:
- RTReferencedStudySequence
public static interface RTReferencedStudySequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "RT Referenced Study Sequence" (seeRTReferencedStudySequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classRTReferencedStudySequence.Holder.Builder
-
Method Summary
-
-
-
Method Detail
-
wrap
static RTReferencedStudySequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the RT Referenced Study Sequence (seeRTReferencedStudySequence)- Returns:
- a wrapper object implementing the
RTReferencedStudySequence.Holderinterface.
-
builder
static RTReferencedStudySequence.Holder.Builder builder()
- Returns:
- a
RTReferencedStudySequence.Holder.Builderto create RT Referenced Study Sequence Items with a fluent API.
-
builder
static RTReferencedStudySequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theRTReferencedStudySequence.Holder.Builder.- Returns:
- a
RTReferencedStudySequence.Holder.Builderto create RT Referenced Study Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getRTReferencedStudySequence
default RTReferencedStudySequence getRTReferencedStudySequence()
- Returns:
- the RT Referenced Study Sequence (see
RTReferencedStudySequence)
-
newRTReferencedStudySequence
default RTReferencedStudySequence newRTReferencedStudySequence(int initialCapacity)
Adds a new RT Referenced Study Sequence. (seeRTReferencedStudySequence)- Parameters:
initialCapacity- the initial capacity for the new RT Referenced Study Sequence- Returns:
- the newly created RTReferencedStudySequence.
-
ensureRTReferencedStudySequence
default RTReferencedStudySequence ensureRTReferencedStudySequence(int initialCapacity)
Adds a new RT Referenced Study Sequence (seeRTReferencedStudySequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new RT Referenced Study Sequence is created.- Returns:
- either the already existing RT Referenced Study Sequence (see
RTReferencedStudySequence) or a new one with capacityinitialCapacity.
-
ensureRTReferencedStudySequence
default RTReferencedStudySequence ensureRTReferencedStudySequence()
Adds a new RT Referenced Study Sequence (seeRTReferencedStudySequence) with initial capacity 1 (seeensureRTReferencedStudySequence(int)) if it does not already exist.- Returns:
- either the already existing RT Referenced Study Sequence (see
RTReferencedStudySequence) or a new one with capacity 1.
-
containsRTReferencedStudySequence
default boolean containsRTReferencedStudySequence()
- Returns:
- whether it contains the RT Referenced Study Sequence (see
RTReferencedStudySequence)
-
removeRTReferencedStudySequence
default void removeRTReferencedStudySequence()
Removes the RT Referenced Study Sequence (seeRTReferencedStudySequence
-
-