Module eclipselink
Enum Class FunctionExpressionFactory.ParameterCount
java.lang.Object
java.lang.Enum<FunctionExpressionFactory.ParameterCount>
org.eclipse.persistence.jpa.jpql.parser.FunctionExpressionFactory.ParameterCount
- All Implemented Interfaces:
Serializable,Comparable<FunctionExpressionFactory.ParameterCount>,Constable
- Enclosing class:
FunctionExpressionFactory
public static enum FunctionExpressionFactory.ParameterCount
extends Enum<FunctionExpressionFactory.ParameterCount>
The number of parameters a
FunctionExpression can have.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionOnly one parameter is allowed.[1, n] are allowed.No parameters are allowed.[0, n] are allowed.[0, 1] are allowed. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ONE
Only one parameter is allowed. -
ONE_OR_MANY
[1, n] are allowed. -
ZERO
No parameters are allowed. -
ZERO_OR_MANY
[0, n] are allowed. -
ZERO_OR_ONE
[0, 1] are allowed.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-