Interface ThresholdDensity.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
ThresholdDensity.SimpleHolder
- Enclosing class:
- ThresholdDensity
A class implementing this interface can hold attributes which contain the DICOM tag "Threshold Density" (see
ThresholdDensity)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault ThresholdDensitydefault voidRemoves the Threshold Density (seeThresholdDensitystatic ThresholdDensity.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 Threshold Density (seeThresholdDensity)- Returns:
- A wrapper object implementing the
ThresholdDensity.Holderinterface.
-
builder
- Returns:
- a
ThresholdDensity.Holder.Builderto create Threshold Density Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theThresholdDensity.Holder.Builder.- Returns:
- a
ThresholdDensity.Holder.Builderto create Threshold Density Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getThresholdDensity
- Returns:
- the Threshold Density (see
ThresholdDensity)
-
containsThresholdDensity
default boolean containsThresholdDensity()- Returns:
- Whether it contains the Threshold Density (see
ThresholdDensity)
-
removeThresholdDensity
default void removeThresholdDensity()Removes the Threshold Density (seeThresholdDensity
-