Class QuantityComparator

  • All Implemented Interfaces:
    Visitable

    @Generated("com.ibm.fhir.tools.CodeGenerator")
    public class QuantityComparator
    extends Code
    • Field Detail

      • LESS_THAN

        public static final QuantityComparator LESS_THAN
        Less than

        The actual value is less than the given value.

      • LESS_OR_EQUALS

        public static final QuantityComparator LESS_OR_EQUALS
        Less or Equal to

        The actual value is less than or equal to the given value.

      • GREATER_OR_EQUALS

        public static final QuantityComparator GREATER_OR_EQUALS
        Greater or Equal to

        The actual value is greater than or equal to the given value.

      • GREATER_THAN

        public static final QuantityComparator GREATER_THAN
        Greater than

        The actual value is greater than the given value.

    • Method Detail

      • of

        public static QuantityComparator of​(String value)
        Factory method for creating QuantityComparator objects from a passed string value.
        Parameters:
        value - A string that matches one of the allowed code values
        Throws:
        IllegalArgumentException - If the passed string cannot be parsed into an allowed code value
      • string

        public static String string​(String value)
        Inherited factory method for creating QuantityComparator objects from a passed string value.
        Parameters:
        value - A string that matches one of the allowed code values
        Throws:
        IllegalArgumentException - If the passed string cannot be parsed into an allowed code value
      • code

        public static Code code​(String value)
        Inherited factory method for creating QuantityComparator objects from a passed string value.
        Parameters:
        value - A string that matches one of the allowed code values
        Throws:
        IllegalArgumentException - If the passed string cannot be parsed into an allowed code value
      • equals

        public boolean equals​(Object obj)
        Overrides:
        equals in class Code
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Code