Class QuantityParam

    • Constructor Detail

      • QuantityParam

        public QuantityParam​(ParamPrefixEnum thePrefix,
                             BigDecimal theValue,
                             String theSystem,
                             String theUnits)
        Constructor
        Parameters:
        thePrefix - The comparator, or null for an equals comparator
        theValue - A quantity value
        theSystem - The unit system
        theUnits - The unit code
      • QuantityParam

        public QuantityParam​(ParamPrefixEnum thePrefix,
                             double theValue,
                             String theSystem,
                             String theUnits)
        Constructor
        Parameters:
        thePrefix - The comparator, or null for an equals comparator
        theValue - A quantity value
        theSystem - The unit system
        theUnits - The unit code
      • QuantityParam

        public QuantityParam​(ParamPrefixEnum thePrefix,
                             long theValue,
                             String theSystem,
                             String theUnits)
        Constructor
        Parameters:
        thePrefix - The comparator, or null for an equals comparator
        theValue - A quantity value
        theSystem - The unit system
        theUnits - The unit code
      • QuantityParam

        public QuantityParam​(String theQuantity)
        Constructor
        Parameters:
        theQuantity - A quantity value (with no system or units), such as "100.0" or "gt4"
      • QuantityParam

        public QuantityParam​(long theQuantity)
        Constructor
        Parameters:
        theQuantity - A quantity value (with no system or units), such as 100
      • QuantityParam

        public QuantityParam​(String theQuantity,
                             String theSystem,
                             String theUnits)
        Constructor
        Parameters:
        theQuantity - A quantity value (with no system or units), such as "100.0" or "<=4"
        theSystem - The unit system
        theUnits - The unit code