Enum AbstractContentAssistVisitor.AppendableType
java.lang.Object
java.lang.Enum<AbstractContentAssistVisitor.AppendableType>
org.eclipse.persistence.jpa.jpql.tools.AbstractContentAssistVisitor.AppendableType
- All Implemented Interfaces:
Serializable
,Comparable<AbstractContentAssistVisitor.AppendableType>
,java.lang.constant.Constable
- Enclosing class:
AbstractContentAssistVisitor
protected static enum AbstractContentAssistVisitor.AppendableType
extends Enum<AbstractContentAssistVisitor.AppendableType>
This is used to determine how
AbstractContentAssistVisitor.AppendableExpressionVisitor
should perform the check.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionDetermines whether the arithmetic operators (+, -, *, /) can be appended as valid proposals.Determines whether the JPQL identifiers identifying a clause (eg:WHERE
) can be appended as valid proposals.Determines whether the comparison operators (<, <=, <>, >=, =) can be appended as valid proposals.Determines whether the visitedExpression
is grammatically complete by making sure its ending is valid.Determines whether the compound identifiers (eg:IS NULL
) can be appended as valid proposals.Determines whether the logical identifiers (AND
andOR
) can be appended as valid proposals.Determines whether the JPQL identifiers identifying a subquery (eg:SELECT
) can be appended as valid proposals. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
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 visitedExpression
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
andOR
) can be appended as valid proposals. -
SUBQUERY
Determines whether the JPQL identifiers identifying a subquery (eg:SELECT
) can be appended as valid proposals.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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 nameNullPointerException
- if the argument is null
-