StateObject wraps the name of an Enum constant.
| Access | Constructor and Description |
|---|---|
| public | EnumTypeStateObject(StateObject
The parent of this state object, which cannot be parent)nullCreates a new |
| public | EnumTypeStateObject(StateObject
The parent of this state object, which cannot be parent, Enum<? extends Enum<?>> nullThe fully qualified name of the enumConstant)Enum type following by the constantCreates a new |
| public | EnumTypeStateObject(StateObject
The parent of this state object, which cannot be parent, String nullThe fully qualified name of the enumConstant)Enum constantCreates a new |
| Modifier and Type | Method and Description |
|---|---|
| public void | accept(StateObjectVisitor
The visitor)visitor to visit this objectImplements org. StateObject by the given visitor.
|
| public AbstractPathExpression | getExpression()
Overrides org. Implements org. StateObject representation of the JPQL query
was created by parsing an existing JPQL query.
|
| public void | setExpression(AbstractPathExpression
The expression)parsed object representing the enum typeKeeps a reference of the |
| private static String |
| EnumTypeStateObject | back to summary |
|---|---|
| public EnumTypeStateObject(StateObject parent) Creates a new
| |
| EnumTypeStateObject | back to summary |
|---|---|
| public EnumTypeStateObject(StateObject parent, Enum<? extends Enum<?>> enumConstant) Creates a new
| |
| EnumTypeStateObject | back to summary |
|---|---|
| public EnumTypeStateObject(StateObject parent, String enumConstant) Creates a new
| |
| accept | back to summary |
|---|---|
| public void accept(StateObjectVisitor visitor) Implements org. Doc from org. Visits this
| |
| getExpression | back to summary |
|---|---|
| public AbstractPathExpression getExpression() Overrides org. Implements org. Doc from org. Returns the actual parsed object if this
| |
| setExpression | back to summary |
|---|---|
| public void setExpression(AbstractPathExpression expression) Keeps a reference of the
| |
| toString | back to summary |
|---|---|
| private static String toString(Enum<? extends Enum<?>> enumConstant) | |