Interface DoseValuePurpose.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
DoseValuesSequence.Item
- Enclosing class:
- DoseValuePurpose
A class implementing this interface can hold attributes which contain the DICOM tag "Dose Value Purpose" (see
DoseValuePurpose)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault DoseValuePurposedefault voidRemoves the Dose Value Purpose (seeDoseValuePurposestatic DoseValuePurpose.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 Dose Value Purpose (seeDoseValuePurpose)- Returns:
- A wrapper object implementing the
DoseValuePurpose.Holderinterface.
-
builder
- Returns:
- a
DoseValuePurpose.Holder.Builderto create Dose Value Purpose Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theDoseValuePurpose.Holder.Builder.- Returns:
- a
DoseValuePurpose.Holder.Builderto create Dose Value Purpose Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getDoseValuePurpose
- Returns:
- the Dose Value Purpose (see
DoseValuePurpose)
-
containsDoseValuePurpose
default boolean containsDoseValuePurpose()- Returns:
- Whether it contains the Dose Value Purpose (see
DoseValuePurpose)
-
removeDoseValuePurpose
default void removeDoseValuePurpose()Removes the Dose Value Purpose (seeDoseValuePurpose
-