Interface FHIRPathNumberValue

    • Method Detail

      • decimal

        java.math.BigDecimal decimal()
        The BigDecimal value wrapped by this FHIRPathNumberValue
        Returns:
        the BigDecimal value wrapped by this FHIRPathNumberValue
      • integer

        java.lang.Integer integer()
        The Integer value wrapped by this FHIRPathNumberValue
        Returns:
        the Integer value wrapped by this FHIRPathNumberValue
      • number

        default java.lang.Number number()
        The Number value wrapped by this FHIRPathNumberValue
        Returns:
        the Number value wrapped by this FHIRPathNumberValue
      • add

        FHIRPathNumberValue add​(FHIRPathNumberValue value)
        Add this FHIRPathNumberValue to another FHIRPathNumber value
        Parameters:
        value - the other FHIRPathNumber value
        Returns:
        the result of adding this FHIRPathNumberValue to another FHIRPathNumberValue
      • subtract

        FHIRPathNumberValue subtract​(FHIRPathNumberValue value)
        Subtract another FHIRPathNumberValue from this FHIRPathNumberValue
        Parameters:
        value - the other FHIRPathNumberValue
        Returns:
        the result of subtracting another FHIRPathNumberValue from this FHIRPathNumberValue
      • multiply

        FHIRPathNumberValue multiply​(FHIRPathNumberValue value)
        Multiply this FHIRPathNumberValue by another FHIRPathNumberValue
        Parameters:
        value - the other FHIRPathNumberValue
        Returns:
        the result of multiplying this FHIRPathNumberValue by another FHIRPathNumberValue
      • divide

        FHIRPathNumberValue divide​(FHIRPathNumberValue value)
        Divide this FHIRPathNumberValue by another FHIRPathNumberValue
        Parameters:
        value - the other FHIRPathNumberValue
        Returns:
        the result of dividing this FHIRPathNumberValue by another FHIRPathNumberValue
      • div

        FHIRPathNumberValue div​(FHIRPathNumberValue value)
        Divide this FHIRPathNumberValue by another FHIRPathNumberValue and convert the result to an integer
        Parameters:
        value - the other FHIRPathNumberValue
        Returns:
        the result of dividing this FHIRPathNumberValue by another FHIRPathNumberValue and converting the result to an integer
      • mod

        FHIRPathNumberValue mod​(FHIRPathNumberValue value)
        Compute the remainder resulting from the integer division of this FHIRPathNumberValue by another FHIRPathNumberValue
        Parameters:
        value - the other FHIRPathNumberValue
        Returns:
        the integer remainder resulting from the division of this FHIRPathNumberValue by another FHIRPathNumberValue
      • negate

        FHIRPathNumberValue negate()
        Negate this FHIRPathNumberValue
        Returns:
        the result of negating this FHIRPathNumber
      • plus

        FHIRPathNumberValue plus()
        The inverse of negate (for symmetry)
        Returns:
        this FHIRPathNumberValue
      • compareTo

        default int compareTo​(FHIRPathNode other)
        Compare the number value wrapped by this FHIRPathNumberValue node to the parameter
        Specified by:
        compareTo in interface java.lang.Comparable<FHIRPathNode>
        Parameters:
        other - the other FHIRPathNode
        Returns:
        0 if the number value wrapped by this FHIRPathNumberValue node is equal to the parameter; a positive value if this FHIRPathNumberValue is greater than the parameter; and a negative value if this FHIRPathDateValue is less than the parameter