Interface PlanningLandmarkPointSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Subinterfaces:
GenericImplantTemplatePlanningLandmarksModule
- All Known Implementing Classes:
GenericImplantTemplateIOD,PlanningLandmarkPointSequence.SimpleHolder
- Enclosing class:
- PlanningLandmarkPointSequence
public static interface PlanningLandmarkPointSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Planning Landmark Point Sequence" (seePlanningLandmarkPointSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classPlanningLandmarkPointSequence.Holder.Builder
-
Method Summary
-
-
-
Method Detail
-
wrap
static PlanningLandmarkPointSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Planning Landmark Point Sequence (seePlanningLandmarkPointSequence)- Returns:
- a wrapper object implementing the
PlanningLandmarkPointSequence.Holderinterface.
-
builder
static PlanningLandmarkPointSequence.Holder.Builder builder()
- Returns:
- a
PlanningLandmarkPointSequence.Holder.Builderto create Planning Landmark Point Sequence Items with a fluent API.
-
builder
static PlanningLandmarkPointSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by thePlanningLandmarkPointSequence.Holder.Builder.- Returns:
- a
PlanningLandmarkPointSequence.Holder.Builderto create Planning Landmark Point Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getPlanningLandmarkPointSequence
default PlanningLandmarkPointSequence getPlanningLandmarkPointSequence()
- Returns:
- the Planning Landmark Point Sequence (see
PlanningLandmarkPointSequence)
-
newPlanningLandmarkPointSequence
default PlanningLandmarkPointSequence newPlanningLandmarkPointSequence(int initialCapacity)
Adds a new Planning Landmark Point Sequence. (seePlanningLandmarkPointSequence)- Parameters:
initialCapacity- the initial capacity for the new Planning Landmark Point Sequence- Returns:
- the newly created PlanningLandmarkPointSequence.
-
ensurePlanningLandmarkPointSequence
default PlanningLandmarkPointSequence ensurePlanningLandmarkPointSequence(int initialCapacity)
Adds a new Planning Landmark Point Sequence (seePlanningLandmarkPointSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Planning Landmark Point Sequence is created.- Returns:
- either the already existing Planning Landmark Point Sequence (see
PlanningLandmarkPointSequence) or a new one with capacityinitialCapacity.
-
ensurePlanningLandmarkPointSequence
default PlanningLandmarkPointSequence ensurePlanningLandmarkPointSequence()
Adds a new Planning Landmark Point Sequence (seePlanningLandmarkPointSequence) with initial capacity 1 (seeensurePlanningLandmarkPointSequence(int)) if it does not already exist.- Returns:
- either the already existing Planning Landmark Point Sequence (see
PlanningLandmarkPointSequence) or a new one with capacity 1.
-
containsPlanningLandmarkPointSequence
default boolean containsPlanningLandmarkPointSequence()
- Returns:
- whether it contains the Planning Landmark Point Sequence (see
PlanningLandmarkPointSequence)
-
removePlanningLandmarkPointSequence
default void removePlanningLandmarkPointSequence()
Removes the Planning Landmark Point Sequence (seePlanningLandmarkPointSequence
-
-