protected static enum AbstractContentAssistVisitor.AppendableType extends java.lang.Enum<AbstractContentAssistVisitor.AppendableType>
AbstractContentAssistVisitor.AppendableExpressionVisitor
should perform the check.Enum Constant and 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. |
Modifier and Type | Method and Description |
---|---|
static AbstractContentAssistVisitor.AppendableType |
valueOf(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.
|
public static final AbstractContentAssistVisitor.AppendableType ARITHMETIC
public static final AbstractContentAssistVisitor.AppendableType CLAUSE
WHERE
)
can be appended as valid proposals.public static final AbstractContentAssistVisitor.AppendableType COMPARISON
public static final AbstractContentAssistVisitor.AppendableType COMPLETE
Expression
is grammatically complete by making sure
its ending is valid.public static final AbstractContentAssistVisitor.AppendableType COMPOUNDABLE
IS NULL
) can be
appended as valid proposals.public static final AbstractContentAssistVisitor.AppendableType LOGICAL
AND
and OR
)
can be appended as valid proposals.public static final AbstractContentAssistVisitor.AppendableType SUBQUERY
SELECT
)
can be appended as valid proposals.public static AbstractContentAssistVisitor.AppendableType[] values()
for (AbstractContentAssistVisitor.AppendableType c : AbstractContentAssistVisitor.AppendableType.values()) System.out.println(c);
public static AbstractContentAssistVisitor.AppendableType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is null