|
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.EnumConstantRenamer
protected static class RefactoringTool.EnumConstantRenamer
This visitor renames an enum constant. An enum constant is represented by a path expression.
Field Summary | |
---|---|
protected IManagedTypeProvider |
managedTypeProvider
The external form of a provider that gives access to the JPA metadata. |
protected java.lang.String |
newEnumConstant
The current name of the enum constant to rename. |
protected java.lang.String |
oldEnumConstant
The new name of the enum constant. |
Constructor Summary | |
---|---|
RefactoringTool.EnumConstantRenamer(IManagedTypeProvider managedTypeProvider,
java.lang.String oldEnumConstant,
java.lang.String newEnumConstant)
Creates a new ClassNameRenamer . |
Method Summary | |
---|---|
protected void |
renameEnumConstant(AbstractPathExpressionStateObject stateObject)
|
void |
visit(CollectionValuedPathExpressionStateObject stateObject)
Visits the given CollectionValuedPathExpressionStateObject . |
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, visit |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final IManagedTypeProvider managedTypeProvider
protected final java.lang.String newEnumConstant
protected final java.lang.String oldEnumConstant
Constructor Detail |
---|
public RefactoringTool.EnumConstantRenamer(IManagedTypeProvider managedTypeProvider, java.lang.String oldEnumConstant, java.lang.String newEnumConstant)
ClassNameRenamer
.
managedTypeProvider
- The provider of managed typesoldEnumConstant
- The new name of the enum constantnewEnumConstant
- The current name of the enum constant to renameMethod Detail |
---|
protected void renameEnumConstant(AbstractPathExpressionStateObject stateObject)
public void visit(CollectionValuedPathExpressionStateObject stateObject)
CollectionValuedPathExpressionStateObject
.
visit
in interface StateObjectVisitor
visit
in class AnonymousStateObjectVisitor
stateObject
- The CollectionValuedPathExpressionStateObject
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 |