Interface DeviceID.Holder

All Superinterfaces:
AttributesWrapper
All Known Implementing Classes:
DeviceID.SimpleHolder, DeviceSequence.Item
Enclosing class:
DeviceID

public static interface DeviceID.Holder extends AttributesWrapper
A class implementing this interface can hold attributes which contain the DICOM tag "Device ID" (see DeviceID)
  • Method Details

    • wrap

      static DeviceID.Holder wrap(org.dcm4che3.data.Attributes attributes)
      Parameters:
      attributes - An attributes object containing the Device ID (see DeviceID)
      Returns:
      A wrapper object implementing the DeviceID.Holder interface.
    • builder

      static DeviceID.Holder.Builder builder()
      Returns:
      a DeviceID.Holder.Builder to create Device ID Items with a fluent API.
    • builder

      static DeviceID.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
      Parameters:
      attributes - The Attributes to be wrapped by the DeviceID.Holder.Builder.
      Returns:
      a DeviceID.Holder.Builder to create Device ID Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
    • getDeviceID

      default DeviceID getDeviceID()
      Returns:
      the Device ID (see DeviceID)
    • containsDeviceID

      default boolean containsDeviceID()
      Returns:
      Whether it contains the Device ID (see DeviceID)
    • removeDeviceID

      default void removeDeviceID()
      Removes the Device ID (see DeviceID