Interface Quantity.Holder

All Superinterfaces:
AttributesWrapper
All Known Implementing Classes:
QuantitySequence.Item
Enclosing class:
Quantity

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

    • wrap

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

      default Quantity getQuantity()
      Returns:
      the Quantity (see Quantity)
    • containsQuantity

      default boolean containsQuantity()
      Returns:
      Whether it contains the Quantity (see Quantity)
    • removeQuantity

      default void removeQuantity()
      Removes the Quantity (see Quantity