Interface PlanOverviewSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Subinterfaces:
RTDoseModule
- All Known Implementing Classes:
PlanOverviewSequence.SimpleHolder,RTDoseIOD
- Enclosing class:
- PlanOverviewSequence
public static interface PlanOverviewSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Plan Overview Sequence" (seePlanOverviewSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classPlanOverviewSequence.Holder.Builder
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static PlanOverviewSequence.Holder.Builderbuilder()static PlanOverviewSequence.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes)default booleancontainsPlanOverviewSequence()default PlanOverviewSequenceensurePlanOverviewSequence()Adds a new Plan Overview Sequence (seePlanOverviewSequence) with initial capacity 1 (seeensurePlanOverviewSequence(int)) if it does not already exist.default PlanOverviewSequenceensurePlanOverviewSequence(int initialCapacity)Adds a new Plan Overview Sequence (seePlanOverviewSequence) if it does not already exist.default PlanOverviewSequencegetPlanOverviewSequence()default PlanOverviewSequencenewPlanOverviewSequence(int initialCapacity)Adds a new Plan Overview Sequence.default voidremovePlanOverviewSequence()Removes the Plan Overview Sequence (seePlanOverviewSequencestatic PlanOverviewSequence.Holderwrap(org.dcm4che3.data.Attributes attributes)
-
-
-
Method Detail
-
wrap
static PlanOverviewSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Plan Overview Sequence (seePlanOverviewSequence)- Returns:
- a wrapper object implementing the
PlanOverviewSequence.Holderinterface.
-
builder
static PlanOverviewSequence.Holder.Builder builder()
- Returns:
- a
PlanOverviewSequence.Holder.Builderto create Plan Overview Sequence Items with a fluent API.
-
builder
static PlanOverviewSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by thePlanOverviewSequence.Holder.Builder.- Returns:
- a
PlanOverviewSequence.Holder.Builderto create Plan Overview Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getPlanOverviewSequence
default PlanOverviewSequence getPlanOverviewSequence()
- Returns:
- the Plan Overview Sequence (see
PlanOverviewSequence)
-
newPlanOverviewSequence
default PlanOverviewSequence newPlanOverviewSequence(int initialCapacity)
Adds a new Plan Overview Sequence. (seePlanOverviewSequence)- Parameters:
initialCapacity- the initial capacity for the new Plan Overview Sequence- Returns:
- the newly created PlanOverviewSequence.
-
ensurePlanOverviewSequence
default PlanOverviewSequence ensurePlanOverviewSequence(int initialCapacity)
Adds a new Plan Overview Sequence (seePlanOverviewSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Plan Overview Sequence is created.- Returns:
- either the already existing Plan Overview Sequence (see
PlanOverviewSequence) or a new one with capacityinitialCapacity.
-
ensurePlanOverviewSequence
default PlanOverviewSequence ensurePlanOverviewSequence()
Adds a new Plan Overview Sequence (seePlanOverviewSequence) with initial capacity 1 (seeensurePlanOverviewSequence(int)) if it does not already exist.- Returns:
- either the already existing Plan Overview Sequence (see
PlanOverviewSequence) or a new one with capacity 1.
-
containsPlanOverviewSequence
default boolean containsPlanOverviewSequence()
- Returns:
- whether it contains the Plan Overview Sequence (see
PlanOverviewSequence)
-
removePlanOverviewSequence
default void removePlanOverviewSequence()
Removes the Plan Overview Sequence (seePlanOverviewSequence
-
-