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