EclipseLink 2.4.2, build 'v20130514-5956486' API Reference

org.eclipse.persistence.jpa.jpql
Enum AbstractContentAssistVisitor.AppendableType

java.lang.Object
  extended by java.lang.Enum<AbstractContentAssistVisitor.AppendableType>
      extended by org.eclipse.persistence.jpa.jpql.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 how AbstractContentAssistVisitor.AbstractAppendableExpressionVisitor should perform the check.


Enum Constant Summary
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.
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 Summary
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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.


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 (AND and OR) 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 name
java.lang.NullPointerException - if the argument is null

EclipseLink 2.4.2, build 'v20130514-5956486' API Reference