|
EclipseLink 2.4.2, build 'v20130514-5956486' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<TrimExpression.Specification> org.eclipse.persistence.jpa.jpql.parser.TrimExpression.Specification
public static enum TrimExpression.Specification
The possible ways to trim the string.
Enum Constant Summary | |
---|---|
BOTH
The leading and trailing parts of the string will be trimmed. |
|
DEFAULT
Used when the trim specification is not specified, by default it means the leading and trailing parts of the string will be trimmed. |
|
LEADING
Only the leading part of the string will be trimmed. |
|
TRAILING
Only the trailing part of the string will be trimmed. |
Method Summary | |
---|---|
java.lang.String |
getValue()
Returns the actual identifier associated with the constant. |
static TrimExpression.Specification |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static TrimExpression.Specification[] |
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 |
---|
public static final TrimExpression.Specification BOTH
public static final TrimExpression.Specification DEFAULT
public static final TrimExpression.Specification LEADING
public static final TrimExpression.Specification TRAILING
Method Detail |
---|
public static TrimExpression.Specification[] values()
for (TrimExpression.Specification c : TrimExpression.Specification.values()) System.out.println(c);
public static TrimExpression.Specification 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 name
java.lang.NullPointerException
- if the argument is nullpublic java.lang.String getValue()
DEFAULT
|
EclipseLink 2.4.2, build 'v20130514-5956486' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |