Interface Quantity.Holder

  • All Superinterfaces:
    org.dcm4che.typeddicom.AttributesWrapper
    All Known Implementing Classes:
    QuantitySequence.Item
    Enclosing class:
    Quantity

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

      • 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