|
Oracle Fusion Middleware Java API Reference for Oracle TopLink 11g Release 1 (11.1.1) E28847-01 |
||||||||
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.internal.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 | |
---|---|
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 namejava.lang.NullPointerException
- if the argument is null
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |