Interface TherapyType.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
TherapyType.SimpleHolder
- Enclosing class:
- TherapyType
A class implementing this interface can hold attributes which contain the DICOM tag "Therapy Type" (see
TherapyType)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic TherapyType.Holder.Builderbuilder()static TherapyType.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes) default booleandefault TherapyTypedefault voidRemoves the Therapy Type (seeTherapyTypestatic TherapyType.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 Type (seeTherapyType)- Returns:
- A wrapper object implementing the
TherapyType.Holderinterface.
-
builder
- Returns:
- a
TherapyType.Holder.Builderto create Therapy Type Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theTherapyType.Holder.Builder.- Returns:
- a
TherapyType.Holder.Builderto create Therapy Type Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getTherapyType
- Returns:
- the Therapy Type (see
TherapyType)
-
containsTherapyType
default boolean containsTherapyType()- Returns:
- Whether it contains the Therapy Type (see
TherapyType)
-
removeTherapyType
default void removeTherapyType()Removes the Therapy Type (seeTherapyType
-