|
EclipseLink 2.4.2, build 'v20130514-5956486' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.persistence.jpa.jpql.model.AbstractStateObjectBuilder
public abstract class AbstractStateObjectBuilder
The abstract definition of a builder of a StateObject
hierarchy based on a JPQL fragment
that is manually created.
Constructor Summary | |
---|---|
protected |
AbstractStateObjectBuilder()
Creates a new AbstractStateObjectBuilder . |
Method Summary | ||
---|---|---|
protected void |
add(StateObject stateObject)
Adds the given StateObject to the stack for future use, which will be removed from
the stack to complete the creation of another StateObject . |
|
protected void |
checkBuilder(IScalarExpressionStateObjectBuilder<?> builder)
Makes sure the given builder is this one. |
|
protected
|
checkBuilders(T... builders)
Makes sure the given builder is this one. |
|
protected boolean |
hasStateObjects()
Determines whether the stack of StateObjects is not empty. |
|
protected StateObject |
pop()
Retrieves the StateObject that is on the stack. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected AbstractStateObjectBuilder()
AbstractStateObjectBuilder
.
Method Detail |
---|
protected void add(StateObject stateObject)
StateObject
to the stack for future use, which will be removed from
the stack to complete the creation of another StateObject
.
stateObject
- The newly created StateObject
protected final void checkBuilder(IScalarExpressionStateObjectBuilder<?> builder)
builder
is this one.
builder
- The builder that was passed as an argument, which is only meant to create the
stack of StateObjects
in the right orderprotected final <T extends IScalarExpressionStateObjectBuilder<?>> void checkBuilders(T... builders)
builder
is this one.
builders
- The builders that were passed as arguments, which is only meant to create the
stack of StateObjects
in the right orderprotected boolean hasStateObjects()
StateObjects
is not empty.
true
if the stack is not empty; false
otherwiseprotected final StateObject pop()
StateObject
that is on the stack.
StateObject
that was added on the stack
|
EclipseLink 2.4.2, build 'v20130514-5956486' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |