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