Enum AbstractContentAssistVisitor.AppendableType

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      ARITHMETIC
      Determines whether the arithmetic operators (+, -, *, /) can be appended as valid proposals.
      CLAUSE
      Determines whether the JPQL identifiers identifying a clause (eg: WHERE) can be appended as valid proposals.
      COMPARISON
      Determines whether the comparison operators (<, <=, <>, >=, =) can be appended as valid proposals.
      COMPLETE
      Determines whether the visited Expression is grammatically complete by making sure its ending is valid.
      COMPOUNDABLE
      Determines whether the compound identifiers (eg: IS NULL) can be appended as valid proposals.
      LOGICAL
      Determines whether the logical identifiers (AND and OR) can be appended as valid proposals.
      SUBQUERY
      Determines whether the JPQL identifiers identifying a subquery (eg: SELECT) can be appended as valid proposals.
    • Method Detail

      • values

        public static AbstractContentAssistVisitor.AppendableType[] 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 (AbstractContentAssistVisitor.AppendableType c : AbstractContentAssistVisitor.AppendableType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static AbstractContentAssistVisitor.AppendableType valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null