Enum AbstractContentAssistVisitor.AppendableType
- java.lang.Object
-
- java.lang.Enum<AbstractContentAssistVisitor.AppendableType>
-
- org.eclipse.persistence.jpa.jpql.tools.AbstractContentAssistVisitor.AppendableType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<AbstractContentAssistVisitor.AppendableType>
- Enclosing class:
- AbstractContentAssistVisitor
protected static enum AbstractContentAssistVisitor.AppendableType extends java.lang.Enum<AbstractContentAssistVisitor.AppendableType>
This is used to determine howAbstractContentAssistVisitor.AppendableExpressionVisitorshould perform the check.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ARITHMETICDetermines whether the arithmetic operators (+, -, *, /) can be appended as valid proposals.CLAUSEDetermines whether the JPQL identifiers identifying a clause (eg:WHERE) can be appended as valid proposals.COMPARISONDetermines whether the comparison operators (<, <=, <>, >=, =) can be appended as valid proposals.COMPLETEDetermines whether the visitedExpressionis grammatically complete by making sure its ending is valid.COMPOUNDABLEDetermines whether the compound identifiers (eg:IS NULL) can be appended as valid proposals.LOGICALDetermines whether the logical identifiers (ANDandOR) can be appended as valid proposals.SUBQUERYDetermines whether the JPQL identifiers identifying a subquery (eg:SELECT) can be appended as valid proposals.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AbstractContentAssistVisitor.AppendableTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static AbstractContentAssistVisitor.AppendableType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ARITHMETIC
public static final AbstractContentAssistVisitor.AppendableType ARITHMETIC
Determines whether the arithmetic operators (+, -, *, /) can be appended as valid proposals.
-
CLAUSE
public static final AbstractContentAssistVisitor.AppendableType CLAUSE
Determines whether the JPQL identifiers identifying a clause (eg:WHERE) can be appended as valid proposals.
-
COMPARISON
public static final AbstractContentAssistVisitor.AppendableType COMPARISON
Determines whether the comparison operators (<, <=, <>, >=, =) can be appended as valid proposals.
-
COMPLETE
public static final AbstractContentAssistVisitor.AppendableType COMPLETE
Determines whether the visitedExpressionis grammatically complete by making sure its ending is valid.
-
COMPOUNDABLE
public static final AbstractContentAssistVisitor.AppendableType COMPOUNDABLE
Determines whether the compound identifiers (eg:IS NULL) can be appended as valid proposals.
-
LOGICAL
public static final AbstractContentAssistVisitor.AppendableType LOGICAL
Determines whether the logical identifiers (ANDandOR) can be appended as valid proposals.
-
SUBQUERY
public static final AbstractContentAssistVisitor.AppendableType 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 namejava.lang.NullPointerException- if the argument is null
-
-