Interface PriorTreatmentReferenceSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
PriorTreatmentReferenceSequence.SimpleHolder,RTPrescriptionSequence.Item
- Enclosing class:
- PriorTreatmentReferenceSequence
public static interface PriorTreatmentReferenceSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Prior Treatment Reference Sequence" (seePriorTreatmentReferenceSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classPriorTreatmentReferenceSequence.Holder.Builder
-
Method Summary
-
-
-
Method Detail
-
wrap
static PriorTreatmentReferenceSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Prior Treatment Reference Sequence (seePriorTreatmentReferenceSequence)- Returns:
- a wrapper object implementing the
PriorTreatmentReferenceSequence.Holderinterface.
-
builder
static PriorTreatmentReferenceSequence.Holder.Builder builder()
- Returns:
- a
PriorTreatmentReferenceSequence.Holder.Builderto create Prior Treatment Reference Sequence Items with a fluent API.
-
builder
static PriorTreatmentReferenceSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by thePriorTreatmentReferenceSequence.Holder.Builder.- Returns:
- a
PriorTreatmentReferenceSequence.Holder.Builderto create Prior Treatment Reference Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getPriorTreatmentReferenceSequence
default PriorTreatmentReferenceSequence getPriorTreatmentReferenceSequence()
- Returns:
- the Prior Treatment Reference Sequence (see
PriorTreatmentReferenceSequence)
-
newPriorTreatmentReferenceSequence
default PriorTreatmentReferenceSequence newPriorTreatmentReferenceSequence(int initialCapacity)
Adds a new Prior Treatment Reference Sequence. (seePriorTreatmentReferenceSequence)- Parameters:
initialCapacity- the initial capacity for the new Prior Treatment Reference Sequence- Returns:
- the newly created PriorTreatmentReferenceSequence.
-
ensurePriorTreatmentReferenceSequence
default PriorTreatmentReferenceSequence ensurePriorTreatmentReferenceSequence(int initialCapacity)
Adds a new Prior Treatment Reference Sequence (seePriorTreatmentReferenceSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Prior Treatment Reference Sequence is created.- Returns:
- either the already existing Prior Treatment Reference Sequence (see
PriorTreatmentReferenceSequence) or a new one with capacityinitialCapacity.
-
ensurePriorTreatmentReferenceSequence
default PriorTreatmentReferenceSequence ensurePriorTreatmentReferenceSequence()
Adds a new Prior Treatment Reference Sequence (seePriorTreatmentReferenceSequence) with initial capacity 1 (seeensurePriorTreatmentReferenceSequence(int)) if it does not already exist.- Returns:
- either the already existing Prior Treatment Reference Sequence (see
PriorTreatmentReferenceSequence) or a new one with capacity 1.
-
containsPriorTreatmentReferenceSequence
default boolean containsPriorTreatmentReferenceSequence()
- Returns:
- whether it contains the Prior Treatment Reference Sequence (see
PriorTreatmentReferenceSequence)
-
removePriorTreatmentReferenceSequence
default void removePriorTreatmentReferenceSequence()
Removes the Prior Treatment Reference Sequence (seePriorTreatmentReferenceSequence
-
-