Interface OOITypeDescriptor.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
OOITypeDescriptor.SimpleHolder
- Enclosing class:
- OOITypeDescriptor
A class implementing this interface can hold attributes which contain the DICOM tag "OOI Type Descriptor" (see
OOITypeDescriptor)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault OOITypeDescriptordefault voidRemoves the OOI Type Descriptor (seeOOITypeDescriptorstatic OOITypeDescriptor.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 OOI Type Descriptor (seeOOITypeDescriptor)- Returns:
- A wrapper object implementing the
OOITypeDescriptor.Holderinterface.
-
builder
- Returns:
- a
OOITypeDescriptor.Holder.Builderto create OOI Type Descriptor Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theOOITypeDescriptor.Holder.Builder.- Returns:
- a
OOITypeDescriptor.Holder.Builderto create OOI Type Descriptor Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getOOITypeDescriptor
- Returns:
- the OOI Type Descriptor (see
OOITypeDescriptor)
-
containsOOITypeDescriptor
default boolean containsOOITypeDescriptor()- Returns:
- Whether it contains the OOI Type Descriptor (see
OOITypeDescriptor)
-
removeOOITypeDescriptor
default void removeOOITypeDescriptor()Removes the OOI Type Descriptor (seeOOITypeDescriptor
-