Class RationalNumeratorValue

All Implemented Interfaces:
AttributesWrapper, DataElementWrapper, BytesDataElementWrapper, IntDataElementMultiWrapper, SignedLongMultiWrapper

public class RationalNumeratorValue extends AbstractDataElementWrapper implements SignedLongMultiWrapper
Name: Rational Numerator Value
Keyword: RationalNumeratorValue
Tag: (0040,A162)
Value Representation: SL
Value Multiplicity: 1-n
  • Described in the contexts: as follows:
    Attribute Name: Rational Numerator Value
    Type: 1C
    Attribute Description:

    The integer numerator of a rational representation of Numeric Value (0040,A30A). Encoded as a signed integer value. Only a single value shall be present.

    Required if Numeric Value (0040,A30A) has insufficient precision to represent a rational value as a string. May be present otherwise.


  • Described in the contexts: as follows:
    Attribute Name: Rational Numerator Value
    Type: 1C
    Attribute Description:

    The integer numerator of a rational representation of Numeric Value (0040,A30A). Encoded as a signed integer value. The same number of values as Numeric Value (0040,A30A) shall be present.

    Required if Numeric Value (0040,A30A) has insufficient precision to represent a rational value as a string. May be present otherwise.


  • Field Details

  • Constructor Details

    • RationalNumeratorValue

      public RationalNumeratorValue(org.dcm4che3.data.Attributes attributes)
      Creates a new Rational Numerator Value object which wraps the provided attributes.
      Parameters:
      attributes - The Attributes object to be wrapped.
    • RationalNumeratorValue

      public RationalNumeratorValue()
      Creates a new Rational Numerator Value object which wraps a new and empty Attributes object.
  • Method Details

    • copy

      public RationalNumeratorValue copy()
      Returns a new Rational Numerator Value which wraps a copy of the Attributes wrapped in this Rational Numerator Value. (see Attributes(Attributes)
      Returns:
      a new Rational Numerator Value which wraps a copy of the Attributes wrapped in this Rational Numerator Value.
    • getPrivateCreator

      public String getPrivateCreator()
      Specified by:
      getPrivateCreator in interface DataElementWrapper
      Returns:
      The DICOM Private Creator of the wrapped DICOM attributes. null if not private
    • getTag

      public int getTag()
      Specified by:
      getTag in interface DataElementWrapper
      Returns:
      The DICOM Tag of the wrapped DICOM attributes.