Interface MaterialPropertiesDescription.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
MaterialPropertiesDescription.SimpleHolder
- Enclosing class:
- MaterialPropertiesDescription
A class implementing this interface can hold attributes which contain the DICOM tag "Material Properties Description" (see
MaterialPropertiesDescription)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault MaterialPropertiesDescriptiondefault voidRemoves the Material Properties Description (seeMaterialPropertiesDescriptionwrap(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 Material Properties Description (seeMaterialPropertiesDescription)- Returns:
- A wrapper object implementing the
MaterialPropertiesDescription.Holderinterface.
-
builder
- Returns:
- a
MaterialPropertiesDescription.Holder.Builderto create Material Properties Description Items with a fluent API.
-
builder
static MaterialPropertiesDescription.Holder.Builder builder(org.dcm4che3.data.Attributes attributes) - Parameters:
attributes- The Attributes to be wrapped by theMaterialPropertiesDescription.Holder.Builder.- Returns:
- a
MaterialPropertiesDescription.Holder.Builderto create Material Properties Description Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getMaterialPropertiesDescription
- Returns:
- the Material Properties Description (see
MaterialPropertiesDescription)
-
containsMaterialPropertiesDescription
default boolean containsMaterialPropertiesDescription()- Returns:
- Whether it contains the Material Properties Description (see
MaterialPropertiesDescription)
-
removeMaterialPropertiesDescription
default void removeMaterialPropertiesDescription()Removes the Material Properties Description (seeMaterialPropertiesDescription
-