Interface CarrierID.Holder

All Superinterfaces:
AttributesWrapper
All Known Implementing Classes:
CarrierID.SimpleHolder
Enclosing class:
CarrierID

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

    • wrap

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

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

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

      default CarrierID getCarrierID()
      Returns:
      the Carrier ID (see CarrierID)
    • containsCarrierID

      default boolean containsCarrierID()
      Returns:
      Whether it contains the Carrier ID (see CarrierID)
    • removeCarrierID

      default void removeCarrierID()
      Removes the Carrier ID (see CarrierID