Interface Units.Holder

  • All Superinterfaces:
    org.dcm4che.typeddicom.AttributesWrapper
    All Known Subinterfaces:
    PETSeriesModule
    All Known Implementing Classes:
    PETImageIOD, Units.SimpleHolder
    Enclosing class:
    Units

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

      • wrap

        static Units.Holder wrap​(org.dcm4che3.data.Attributes attributes)
        Parameters:
        attributes - an attributes object containing the Units (see Units)
        Returns:
        a wrapper object implementing the Units.Holder interface.
      • builder

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

        default Units getUnits()
        Returns:
        the Units (see Units)
      • containsUnits

        default boolean containsUnits()
        Returns:
        whether it contains the Units (see Units)
      • removeUnits

        default void removeUnits()
        Removes the Units (see Units