Interface DeviceDescription.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
DeviceDescription.SimpleHolder,DeviceSequence.Item,UDISequence.Item
- Enclosing class:
- DeviceDescription
A class implementing this interface can hold attributes which contain the DICOM tag "Device Description" (see
DeviceDescription)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault DeviceDescriptiondefault voidRemoves the Device Description (seeDeviceDescriptionstatic DeviceDescription.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 Device Description (seeDeviceDescription)- Returns:
- A wrapper object implementing the
DeviceDescription.Holderinterface.
-
builder
- Returns:
- a
DeviceDescription.Holder.Builderto create Device Description Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theDeviceDescription.Holder.Builder.- Returns:
- a
DeviceDescription.Holder.Builderto create Device Description Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getDeviceDescription
- Returns:
- the Device Description (see
DeviceDescription)
-
containsDeviceDescription
default boolean containsDeviceDescription()- Returns:
- Whether it contains the Device Description (see
DeviceDescription)
-
removeDeviceDescription
default void removeDeviceDescription()Removes the Device Description (seeDeviceDescription
-