Interface TherapyDescription.Holder
- All Superinterfaces:
AttributesWrapper
- Enclosing class:
- TherapyDescription
A class implementing this interface can hold attributes which contain the DICOM tag "Therapy Description" (see
TherapyDescription)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault TherapyDescriptiondefault voidRemoves the Therapy Description (seeTherapyDescriptionstatic TherapyDescription.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 Therapy Description (seeTherapyDescription)- Returns:
- A wrapper object implementing the
TherapyDescription.Holderinterface.
-
builder
- Returns:
- a
TherapyDescription.Holder.Builderto create Therapy Description Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theTherapyDescription.Holder.Builder.- Returns:
- a
TherapyDescription.Holder.Builderto create Therapy Description Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getTherapyDescription
- Returns:
- the Therapy Description (see
TherapyDescription)
-
containsTherapyDescription
default boolean containsTherapyDescription()- Returns:
- Whether it contains the Therapy Description (see
TherapyDescription)
-
removeTherapyDescription
default void removeTherapyDescription()Removes the Therapy Description (seeTherapyDescription
-