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