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