Interface PlanningLandmarkPlaneSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
GenericImplantTemplatePlanningLandmarksModule
- All Known Implementing Classes:
GenericImplantTemplateIOD,PlanningLandmarkPlaneSequence.SimpleHolder
- Enclosing class:
- PlanningLandmarkPlaneSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Planning Landmark Plane Sequence" (see
PlanningLandmarkPlaneSequence)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault PlanningLandmarkPlaneSequenceAdds a new Planning Landmark Plane Sequence (seePlanningLandmarkPlaneSequence) with initial capacity 1 (seeensurePlanningLandmarkPlaneSequence(int)) if it does not already exist.default PlanningLandmarkPlaneSequenceensurePlanningLandmarkPlaneSequence(int initialCapacity) Adds a new Planning Landmark Plane Sequence (seePlanningLandmarkPlaneSequence) if it does not already exist.default PlanningLandmarkPlaneSequencedefault PlanningLandmarkPlaneSequencenewPlanningLandmarkPlaneSequence(int initialCapacity) Adds a new Planning Landmark Plane Sequence.default voidRemoves the Planning Landmark Plane Sequence (seePlanningLandmarkPlaneSequencewrap(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 Plane Sequence (seePlanningLandmarkPlaneSequence)- Returns:
- A wrapper object implementing the
PlanningLandmarkPlaneSequence.Holderinterface.
-
builder
- Returns:
- a
PlanningLandmarkPlaneSequence.Holder.Builderto create Planning Landmark Plane Sequence Items with a fluent API.
-
builder
static PlanningLandmarkPlaneSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes) - Parameters:
attributes- The Attributes to be wrapped by thePlanningLandmarkPlaneSequence.Holder.Builder.- Returns:
- a
PlanningLandmarkPlaneSequence.Holder.Builderto create Planning Landmark Plane Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getPlanningLandmarkPlaneSequence
- Returns:
- the Planning Landmark Plane Sequence (see
PlanningLandmarkPlaneSequence)
-
newPlanningLandmarkPlaneSequence
Adds a new Planning Landmark Plane Sequence. (seePlanningLandmarkPlaneSequence)- Parameters:
initialCapacity- the initial capacity for the new Planning Landmark Plane Sequence
-
ensurePlanningLandmarkPlaneSequence
Adds a new Planning Landmark Plane Sequence (seePlanningLandmarkPlaneSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Planning Landmark Plane Sequence is created.- Returns:
- Either the already existing Planning Landmark Plane Sequence (see
PlanningLandmarkPlaneSequence) or a new one with capacityinitialCapacity.
-
ensurePlanningLandmarkPlaneSequence
Adds a new Planning Landmark Plane Sequence (seePlanningLandmarkPlaneSequence) with initial capacity 1 (seeensurePlanningLandmarkPlaneSequence(int)) if it does not already exist.- Returns:
- Either the already existing Planning Landmark Plane Sequence (see
PlanningLandmarkPlaneSequence) or a new one with capacity 1.
-
containsPlanningLandmarkPlaneSequence
default boolean containsPlanningLandmarkPlaneSequence()- Returns:
- Whether it contains the Planning Landmark Plane Sequence (see
PlanningLandmarkPlaneSequence)
-
removePlanningLandmarkPlaneSequence
default void removePlanningLandmarkPlaneSequence()Removes the Planning Landmark Plane Sequence (seePlanningLandmarkPlaneSequence
-