Interface PlanningLandmarkPointSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
GenericImplantTemplatePlanningLandmarksModule
- All Known Implementing Classes:
GenericImplantTemplateIOD,PlanningLandmarkPointSequence.SimpleHolder
- Enclosing class:
- PlanningLandmarkPointSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Planning Landmark Point Sequence" (see
PlanningLandmarkPointSequence)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault PlanningLandmarkPointSequenceAdds a new Planning Landmark Point Sequence (seePlanningLandmarkPointSequence) with initial capacity 1 (seeensurePlanningLandmarkPointSequence(int)) if it does not already exist.default PlanningLandmarkPointSequenceensurePlanningLandmarkPointSequence(int initialCapacity) Adds a new Planning Landmark Point Sequence (seePlanningLandmarkPointSequence) if it does not already exist.default PlanningLandmarkPointSequencedefault PlanningLandmarkPointSequencenewPlanningLandmarkPointSequence(int initialCapacity) Adds a new Planning Landmark Point Sequence.default voidRemoves the Planning Landmark Point Sequence (seePlanningLandmarkPointSequencewrap(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 Planning Landmark Point Sequence (seePlanningLandmarkPointSequence)- Returns:
- A wrapper object implementing the
PlanningLandmarkPointSequence.Holderinterface.
-
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
- Returns:
- the Planning Landmark Point Sequence (see
PlanningLandmarkPointSequence)
-
newPlanningLandmarkPointSequence
Adds a new Planning Landmark Point Sequence. (seePlanningLandmarkPointSequence)- Parameters:
initialCapacity- the initial capacity for the new Planning Landmark Point Sequence
-
ensurePlanningLandmarkPointSequence
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
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
-