Enum LyreExpressionType

    • Enum Constant Detail

      • PREDICATE

        public static final LyreExpressionType PREDICATE
        A predicate expression that returns true / false
      • HSTRING

        public static final LyreExpressionType HSTRING
        An expression that returns an HString as a result
      • STRING

        public static final LyreExpressionType STRING
        An expression that returns an String as a result
      • FEATURE

        public static final LyreExpressionType FEATURE
        An expression that returns a Feature as a result
      • OBJECT

        public static final LyreExpressionType OBJECT
        An expression that returns an Object as a result
      • NUMERIC

        public static final LyreExpressionType NUMERIC
        An expression that returns a number as a result
      • COUNTER

        public static final LyreExpressionType COUNTER
        An expression that returns a Counter as a result
    • Method Detail

      • values

        public static LyreExpressionType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (LyreExpressionType c : LyreExpressionType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static LyreExpressionType valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null