Class Literal

    • Constructor Detail

      • Literal

        public Literal​(Object value,
                       Class<?> type)
    • Method Detail

      • getValue

        public Object getValue()
      • getType

        public Class<?> getType()
        Description copied from interface: Expression
        Determine the type returned by this expression.
        Specified by:
        getType in interface Expression
        Returns:
        The type, as defined by a Java class
      • setValue

        public void setValue​(Object value)
      • setType

        public void setType​(Class<?> type)
      • isBindEligible

        public boolean isBindEligible()
        Set by the optimizer if the literal was created by the evaluation of another expression. Setting to true will not always result in the value being handled as a bind value.
        Returns:
      • setBindEligible

        public void setBindEligible​(boolean isBindEligible)