Interface PlanIntent.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
RTGeneralPlanModule
- All Known Implementing Classes:
PlanIntent.SimpleHolder,RTIonPlanIOD,RTPlanIOD
- Enclosing class:
- PlanIntent
A class implementing this interface can hold attributes which contain the DICOM tag "Plan Intent" (see
PlanIntent)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic PlanIntent.Holder.Builderbuilder()static PlanIntent.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes) default booleandefault PlanIntentdefault voidRemoves the Plan Intent (seePlanIntentstatic PlanIntent.Holderwrap(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 Plan Intent (seePlanIntent)- Returns:
- A wrapper object implementing the
PlanIntent.Holderinterface.
-
builder
- Returns:
- a
PlanIntent.Holder.Builderto create Plan Intent Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by thePlanIntent.Holder.Builder.- Returns:
- a
PlanIntent.Holder.Builderto create Plan Intent Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getPlanIntent
- Returns:
- the Plan Intent (see
PlanIntent)
-
containsPlanIntent
default boolean containsPlanIntent()- Returns:
- Whether it contains the Plan Intent (see
PlanIntent)
-
removePlanIntent
default void removePlanIntent()Removes the Plan Intent (seePlanIntent
-