Class FHIRPathIntegerValue

    • Method Detail

      • decimal

        public java.math.BigDecimal decimal()
        Description copied from interface: FHIRPathNumberValue
        The BigDecimal value wrapped by this FHIRPathNumberValue
        Specified by:
        decimal in interface FHIRPathNumberValue
        Returns:
        the BigDecimal value wrapped by this FHIRPathNumberValue
      • integer

        public java.lang.Integer integer()
        Description copied from interface: FHIRPathNumberValue
        The Integer value wrapped by this FHIRPathNumberValue
        Specified by:
        integer in interface FHIRPathNumberValue
        Returns:
        the Integer value wrapped by this FHIRPathNumberValue
      • integerValue

        public static FHIRPathIntegerValue integerValue​(java.lang.Integer integer)
        Static factory method for creating FHIRPathIntegerValue instances from an Integer value
        Parameters:
        integer - the Integer value
        Returns:
        a new FHIRPathIntegerValue instance
      • integerValue

        public static FHIRPathIntegerValue integerValue​(java.lang.String path,
                                                        java.lang.String name,
                                                        java.lang.Integer integer)
        Static factory method for creating named FHIRPathIntegerValue instances from an Integer value
        Parameters:
        path - the path of the FHIRPathNode
        name - the name
        integer - the Integer value
        Returns:
        a new named FHIRPathIntegerValue instance
      • builder

        public static FHIRPathIntegerValue.Builder builder​(java.lang.Integer integer)
        Static factory method for creating builder instances from an Integer value
        Parameters:
        decimal - the Integer value
        Returns:
        a new builder for building FHIRPathIntegerValue instances
      • div

        public FHIRPathNumberValue div​(FHIRPathNumberValue value)
        Description copied from interface: FHIRPathNumberValue
        Divide this FHIRPathNumberValue by another FHIRPathNumberValue and convert the result to an integer
        Specified by:
        div in interface FHIRPathNumberValue
        Parameters:
        value - the other FHIRPathNumberValue
        Returns:
        the result of dividing this FHIRPathNumberValue by another FHIRPathNumberValue and converting the result to an integer
      • mod

        public FHIRPathNumberValue mod​(FHIRPathNumberValue value)
        Description copied from interface: FHIRPathNumberValue
        Compute the remainder resulting from the integer division of this FHIRPathNumberValue by another FHIRPathNumberValue
        Specified by:
        mod in interface FHIRPathNumberValue
        Parameters:
        value - the other FHIRPathNumberValue
        Returns:
        the integer remainder resulting from the division of this FHIRPathNumberValue by another FHIRPathNumberValue
      • equals

        public boolean equals​(java.lang.Object obj)
        Indicates whether the integer value wrapped by this FHIRPathIntegerValue node is equal the parameter (or its primitive value)
        Overrides:
        equals in class java.lang.Object
        Parameters:
        obj - the other Object
        Returns:
        true if the integer value wrapped by this FHIRPathIntegerValue node is equal the parameter (or its primitive value), otherwise false
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object