Enum AbstractQueryImpl.ResultType
- java.lang.Object
-
- java.lang.Enum<AbstractQueryImpl.ResultType>
-
- org.eclipse.persistence.internal.jpa.querydef.AbstractQueryImpl.ResultType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<AbstractQueryImpl.ResultType>
- Enclosing class:
- AbstractQueryImpl<T>
protected static enum AbstractQueryImpl.ResultType extends java.lang.Enum<AbstractQueryImpl.ResultType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONSTRUCTORENTITYOBJECT_ARRAYOTHERPARTIALTUPLEUNKNOWN
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AbstractQueryImpl.ResultTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static AbstractQueryImpl.ResultType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final AbstractQueryImpl.ResultType UNKNOWN
-
OBJECT_ARRAY
public static final AbstractQueryImpl.ResultType OBJECT_ARRAY
-
PARTIAL
public static final AbstractQueryImpl.ResultType PARTIAL
-
TUPLE
public static final AbstractQueryImpl.ResultType TUPLE
-
ENTITY
public static final AbstractQueryImpl.ResultType ENTITY
-
CONSTRUCTOR
public static final AbstractQueryImpl.ResultType CONSTRUCTOR
-
OTHER
public static final AbstractQueryImpl.ResultType OTHER
-
-
Method Detail
-
values
public static AbstractQueryImpl.ResultType[] 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 (AbstractQueryImpl.ResultType c : AbstractQueryImpl.ResultType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AbstractQueryImpl.ResultType 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
-
-