Interface ThreatCategory.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
ThreatCategory.SimpleHolder
- Enclosing class:
- ThreatCategory
public static interface ThreatCategory.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Threat Category" (seeThreatCategory)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classThreatCategory.Holder.Builder
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static ThreatCategory.Holder.Builderbuilder()static ThreatCategory.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes)default booleancontainsThreatCategory()default ThreatCategorygetThreatCategory()default voidremoveThreatCategory()Removes the Threat Category (seeThreatCategorystatic ThreatCategory.Holderwrap(org.dcm4che3.data.Attributes attributes)
-
-
-
Method Detail
-
wrap
static ThreatCategory.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Threat Category (seeThreatCategory)- Returns:
- a wrapper object implementing the
ThreatCategory.Holderinterface.
-
builder
static ThreatCategory.Holder.Builder builder()
- Returns:
- a
ThreatCategory.Holder.Builderto create Threat Category Items with a fluent API.
-
builder
static ThreatCategory.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- 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
default ThreatCategory 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
-
-