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