Interface HistogramExplanation.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
HistogramExplanation.SimpleHolder,HistogramSequence.Item
- Enclosing class:
- HistogramExplanation
A class implementing this interface can hold attributes which contain the DICOM tag "Histogram Explanation" (see
HistogramExplanation)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault HistogramExplanationdefault voidRemoves the Histogram Explanation (seeHistogramExplanationstatic HistogramExplanation.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 Histogram Explanation (seeHistogramExplanation)- Returns:
- A wrapper object implementing the
HistogramExplanation.Holderinterface.
-
builder
- Returns:
- a
HistogramExplanation.Holder.Builderto create Histogram Explanation Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theHistogramExplanation.Holder.Builder.- Returns:
- a
HistogramExplanation.Holder.Builderto create Histogram Explanation Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getHistogramExplanation
- Returns:
- the Histogram Explanation (see
HistogramExplanation)
-
containsHistogramExplanation
default boolean containsHistogramExplanation()- Returns:
- Whether it contains the Histogram Explanation (see
HistogramExplanation)
-
removeHistogramExplanation
default void removeHistogramExplanation()Removes the Histogram Explanation (seeHistogramExplanation
-