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