|
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.query.AnonymousStateObjectVisitor org.eclipse.persistence.jpa.jpql.model.query.AbstractTraverseChildrenVisitor org.eclipse.persistence.jpa.jpql.RefactoringTool.VariableNameRenamer
protected static class RefactoringTool.VariableNameRenamer
This visitor renames all the identification variables found in the JPQL query.
Field Summary | |
---|---|
protected java.lang.String |
newVariableName
The new name of the identification variable. |
protected java.lang.String |
oldVariableName
The current identification variable name. |
Constructor Summary | |
---|---|
RefactoringTool.VariableNameRenamer(java.lang.String oldVariableName,
java.lang.String newVariableName)
Creates a new VariableNameRenamer . |
Method Summary | |
---|---|
void |
visit(CollectionValuedPathExpressionStateObject stateObject)
Visits the given CollectionValuedPathExpressionStateObject . |
void |
visit(IdentificationVariableStateObject stateObject)
Visits the given IdentificationVariableStateObject . |
void |
visit(StateFieldPathExpressionStateObject stateObject)
Visits the given StateFieldPathExpressionStateObject . |
Methods inherited from class org.eclipse.persistence.jpa.jpql.model.query.AbstractTraverseChildrenVisitor |
---|
visit |
Methods inherited from class org.eclipse.persistence.jpa.jpql.model.query.AnonymousStateObjectVisitor |
---|
visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final java.lang.String newVariableName
protected final java.lang.String oldVariableName
Constructor Detail |
---|
public RefactoringTool.VariableNameRenamer(java.lang.String oldVariableName, java.lang.String newVariableName)
VariableNameRenamer
.
oldVariableName
- The current identification variable namenewVariableName
- The new name of the identification variableMethod Detail |
---|
public void visit(CollectionValuedPathExpressionStateObject stateObject)
CollectionValuedPathExpressionStateObject
.
visit
in interface StateObjectVisitor
visit
in class AnonymousStateObjectVisitor
stateObject
- The CollectionValuedPathExpressionStateObject
to visitpublic void visit(IdentificationVariableStateObject stateObject)
IdentificationVariableStateObject
.
visit
in interface StateObjectVisitor
visit
in class AnonymousStateObjectVisitor
stateObject
- The IdentificationVariableStateObject
to visitpublic void visit(StateFieldPathExpressionStateObject stateObject)
StateFieldPathExpressionStateObject
.
visit
in interface StateObjectVisitor
visit
in class AnonymousStateObjectVisitor
stateObject
- The StateFieldPathExpressionStateObject
to visit
|
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 |