Interface ReferencedPatientSetupPhotoSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
RTTreatmentPreparationModule
- All Known Implementing Classes:
ReferencedPatientSetupPhotoSequence.SimpleHolder,RTTreatmentPreparationIOD
- Enclosing class:
- ReferencedPatientSetupPhotoSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Referenced Patient Setup Photo Sequence" (see
ReferencedPatientSetupPhotoSequence)-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleanAdds a new Referenced Patient Setup Photo Sequence (seeReferencedPatientSetupPhotoSequence) with initial capacity 1 (seeensureReferencedPatientSetupPhotoSequence(int)) if it does not already exist.ensureReferencedPatientSetupPhotoSequence(int initialCapacity) Adds a new Referenced Patient Setup Photo Sequence (seeReferencedPatientSetupPhotoSequence) if it does not already exist.newReferencedPatientSetupPhotoSequence(int initialCapacity) Adds a new Referenced Patient Setup Photo Sequence.default voidRemoves the Referenced Patient Setup Photo Sequence (seeReferencedPatientSetupPhotoSequencewrap(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 Referenced Patient Setup Photo Sequence (seeReferencedPatientSetupPhotoSequence)- Returns:
- A wrapper object implementing the
ReferencedPatientSetupPhotoSequence.Holderinterface.
-
builder
- Returns:
- a
ReferencedPatientSetupPhotoSequence.Holder.Builderto create Referenced Patient Setup Photo Sequence Items with a fluent API.
-
builder
static ReferencedPatientSetupPhotoSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes) - Parameters:
attributes- The Attributes to be wrapped by theReferencedPatientSetupPhotoSequence.Holder.Builder.- Returns:
- a
ReferencedPatientSetupPhotoSequence.Holder.Builderto create Referenced Patient Setup Photo Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getReferencedPatientSetupPhotoSequence
- Returns:
- the Referenced Patient Setup Photo Sequence (see
ReferencedPatientSetupPhotoSequence)
-
newReferencedPatientSetupPhotoSequence
default ReferencedPatientSetupPhotoSequence newReferencedPatientSetupPhotoSequence(int initialCapacity) Adds a new Referenced Patient Setup Photo Sequence. (seeReferencedPatientSetupPhotoSequence)- Parameters:
initialCapacity- the initial capacity for the new Referenced Patient Setup Photo Sequence
-
ensureReferencedPatientSetupPhotoSequence
default ReferencedPatientSetupPhotoSequence ensureReferencedPatientSetupPhotoSequence(int initialCapacity) Adds a new Referenced Patient Setup Photo Sequence (seeReferencedPatientSetupPhotoSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Referenced Patient Setup Photo Sequence is created.- Returns:
- Either the already existing Referenced Patient Setup Photo Sequence (see
ReferencedPatientSetupPhotoSequence) or a new one with capacityinitialCapacity.
-
ensureReferencedPatientSetupPhotoSequence
Adds a new Referenced Patient Setup Photo Sequence (seeReferencedPatientSetupPhotoSequence) with initial capacity 1 (seeensureReferencedPatientSetupPhotoSequence(int)) if it does not already exist.- Returns:
- Either the already existing Referenced Patient Setup Photo Sequence (see
ReferencedPatientSetupPhotoSequence) or a new one with capacity 1.
-
containsReferencedPatientSetupPhotoSequence
default boolean containsReferencedPatientSetupPhotoSequence()- Returns:
- Whether it contains the Referenced Patient Setup Photo Sequence (see
ReferencedPatientSetupPhotoSequence)
-
removeReferencedPatientSetupPhotoSequence
default void removeReferencedPatientSetupPhotoSequence()Removes the Referenced Patient Setup Photo Sequence (seeReferencedPatientSetupPhotoSequence
-