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