Interface PrescriptionDescription.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
RTPrescriptionModule
- All Known Implementing Classes:
PrescriptionDescription.SimpleHolder,RTIonPlanIOD,RTPlanIOD
- Enclosing class:
- PrescriptionDescription
A class implementing this interface can hold attributes which contain the DICOM tag "Prescription Description" (see
PrescriptionDescription)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault PrescriptionDescriptiondefault voidRemoves the Prescription Description (seePrescriptionDescriptionwrap(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 Prescription Description (seePrescriptionDescription)- Returns:
- A wrapper object implementing the
PrescriptionDescription.Holderinterface.
-
builder
- Returns:
- a
PrescriptionDescription.Holder.Builderto create Prescription Description Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by thePrescriptionDescription.Holder.Builder.- Returns:
- a
PrescriptionDescription.Holder.Builderto create Prescription Description Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getPrescriptionDescription
- Returns:
- the Prescription Description (see
PrescriptionDescription)
-
containsPrescriptionDescription
default boolean containsPrescriptionDescription()- Returns:
- Whether it contains the Prescription Description (see
PrescriptionDescription)
-
removePrescriptionDescription
default void removePrescriptionDescription()Removes the Prescription Description (seePrescriptionDescription
-