Interface StateObjectVisitor
-
- All Known Subinterfaces:
EclipseLinkStateObjectVisitor
- All Known Implementing Classes:
AbstractActualJPQLQueryFormatter
,AbstractEclipseLinkStateObjectVisitor
,AbstractEclipseLinkTraverseChildrenVisitor
,AbstractEclipseLinkTraverseParentVisitor
,AbstractJPQLQueryFormatter
,AbstractStateObjectVisitor
,AbstractTraverseChildrenVisitor
,AbstractTraverseParentVisitor
,AnonymousStateObjectVisitor
,AnonynousEclipseLinkStateObjectVisitor
,BaseJPQLQueryFormatter
,DefaultActualJPQLQueryFormatter
,DefaultJPQLQueryFormatter
,EclipseLinkActualJPQLQueryFormatter
,EclipseLinkJPQLQueryFormatter
,RefactoringTool.ClassNameRenamer
,RefactoringTool.EntityNameRenamer
,RefactoringTool.EnumConstantRenamer
,RefactoringTool.FieldNameRenamer
,RefactoringTool.ResultVariableNameRenamer
,RefactoringTool.VariableNameRenamer
public interface StateObjectVisitor
The visitor is used to traverse theStateObject
hierarchy that represents a JPQL query.Provisional API: This interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
- Version:
- 2.4
- Author:
- Pascal Filion
- Since:
- 2.4
-
-
Method Summary
-
-
-
Method Detail
-
visit
void visit(AbsExpressionStateObject stateObject)
Visits the givenAbsExpressionStateObject
.- Parameters:
stateObject
- TheAbsExpressionStateObject
to visit
-
visit
void visit(AbstractSchemaNameStateObject stateObject)
Visits the givenAbstractSchemaNameStateObject
.- Parameters:
stateObject
- TheAbstractSchemaNameStateObject
to visit
-
visit
void visit(AdditionExpressionStateObject stateObject)
Visits the givenAdditionExpressionStateObject
.- Parameters:
stateObject
- TheAdditionExpressionStateObject
to visit
-
visit
void visit(AllOrAnyExpressionStateObject stateObject)
Visits the givenAllOrAnyExpressionStateObject
.- Parameters:
stateObject
- TheAllOrAnyExpressionStateObject
to visit
-
visit
void visit(AndExpressionStateObject stateObject)
Visits the givenAndExpressionStateObject
.- Parameters:
stateObject
- TheAndExpressionStateObject
to visit
-
visit
void visit(ArithmeticFactorStateObject stateObject)
Visits the givenArithmeticFactorStateObject
.- Parameters:
stateObject
- TheArithmeticFactorStateObject
to visit
-
visit
void visit(AvgFunctionStateObject stateObject)
Visits the givenAvgFunctionStateObject
.- Parameters:
stateObject
- TheAvgFunctionStateObject
to visit
-
visit
void visit(BadExpressionStateObject stateObject)
Visits the givenBadExpressionStateObject
.- Parameters:
stateObject
- TheBadExpressionStateObject
to visit
-
visit
void visit(BetweenExpressionStateObject stateObject)
Visits the givenBetweenExpressionStateObject
.- Parameters:
stateObject
- TheBetweenExpressionStateObject
to visit
-
visit
void visit(CaseExpressionStateObject stateObject)
Visits the givenCaseExpressionStateObject
.- Parameters:
stateObject
- TheCaseExpressionStateObject
to visit
-
visit
void visit(CoalesceExpressionStateObject stateObject)
Visits the givenCoalesceExpressionStateObject
.- Parameters:
stateObject
- TheCoalesceExpressionStateObject
to visit
-
visit
void visit(CollectionMemberDeclarationStateObject stateObject)
Visits the givenCollectionMemberDeclarationStateObject
.- Parameters:
stateObject
- TheCollectionMemberDeclarationStateObject
to visit
-
visit
void visit(CollectionMemberExpressionStateObject stateObject)
Visits the givenCollectionMemberExpressionStateObject
.- Parameters:
stateObject
- TheCollectionMemberExpressionStateObject
to visit
-
visit
void visit(CollectionValuedPathExpressionStateObject stateObject)
Visits the givenCollectionValuedPathExpressionStateObject
.- Parameters:
stateObject
- TheCollectionValuedPathExpressionStateObject
to visit
-
visit
void visit(ComparisonExpressionStateObject stateObject)
Visits the givenComparisonExpressionStateObject
.- Parameters:
stateObject
- TheComparisonExpressionStateObject
to visit
-
visit
void visit(ConcatExpressionStateObject stateObject)
Visits the givenConcatExpressionStateObject
.- Parameters:
stateObject
- TheConcatExpressionStateObject
to visit
-
visit
void visit(ConstructorExpressionStateObject stateObject)
Visits the givenConstructorExpressionStateObject
.- Parameters:
stateObject
- TheConstructorExpressionStateObject
to visit
-
visit
void visit(CountFunctionStateObject stateObject)
Visits the givenCountFunctionStateObject
.- Parameters:
stateObject
- TheCountFunctionStateObject
to visit
-
visit
void visit(DateTimeStateObject stateObject)
Visits the givenDateTimeStateObject
.- Parameters:
stateObject
- TheDateTimeStateObject
to visit
-
visit
void visit(DeleteClauseStateObject stateObject)
Visits the givenDeleteClauseStateObject
.- Parameters:
stateObject
- TheDeleteClauseStateObject
to visit
-
visit
void visit(DeleteStatementStateObject stateObject)
Visits the givenDeleteStatementStateObject
.- Parameters:
stateObject
- TheDeleteStatementStateObject
to visit
-
visit
void visit(DerivedPathIdentificationVariableDeclarationStateObject stateObject)
Visits the givenDerivedPathIdentificationVariableDeclarationStateObject
.- Parameters:
stateObject
- TheDerivedPathIdentificationVariableDeclarationStateObject
to visit
-
visit
void visit(DerivedPathVariableDeclarationStateObject stateObject)
Visits the givenDerivedPathVariableDeclarationStateObject
.- Parameters:
stateObject
- TheDerivedPathVariableDeclarationStateObject
to visit
-
visit
void visit(DivisionExpressionStateObject stateObject)
Visits the givenDivisionExpressionStateObject
.- Parameters:
stateObject
- TheDivisionExpressionStateObject
to visit
-
visit
void visit(EmptyCollectionComparisonExpressionStateObject stateObject)
Visits the givenEmptyCollectionComparisonExpressionStateObject
.- Parameters:
stateObject
- TheEmptyCollectionComparisonExpressionStateObject
to visit
-
visit
void visit(EntityTypeLiteralStateObject stateObject)
Visits the givenEntityTypeLiteralStateObject
.- Parameters:
stateObject
- TheEntityTypeLiteralStateObject
to visit
-
visit
void visit(EntryExpressionStateObject stateObject)
Visits the givenEntryExpressionStateObject
.- Parameters:
stateObject
- TheEntryExpressionStateObject
to visit
-
visit
void visit(EnumTypeStateObject stateObject)
Visits the givenEnumTypeStateObject
.- Parameters:
stateObject
- TheEnumTypeStateObject
to visit
-
visit
void visit(ExistsExpressionStateObject stateObject)
Visits the givenExistsExpressionStateObject
.- Parameters:
stateObject
- TheExistsExpressionStateObject
to visit
-
visit
void visit(FromClauseStateObject stateObject)
Visits the givenFromClauseStateObject
.- Parameters:
stateObject
- TheFromClauseStateObject
to visit
-
visit
void visit(FunctionExpressionStateObject stateObject)
Visits the givenFunctionExpressionStateObject
.- Parameters:
stateObject
- TheFunctionExpressionStateObject
to visit
-
visit
void visit(GroupByClauseStateObject stateObject)
Visits the givenGroupByClauseStateObject
.- Parameters:
stateObject
- TheGroupByClauseStateObject
to visit
-
visit
void visit(HavingClauseStateObject stateObject)
Visits the givenHavingClauseStateObject
.- Parameters:
stateObject
- TheHavingClauseStateObject
to visit
-
visit
void visit(IdentificationVariableDeclarationStateObject stateObject)
Visits the givenIdentificationVariableDeclarationStateObject
.- Parameters:
stateObject
- TheIdentificationVariableDeclarationStateObject
to visit
-
visit
void visit(IdentificationVariableStateObject stateObject)
Visits the givenIdentificationVariableStateObject
.- Parameters:
stateObject
- TheIdentificationVariableStateObject
to visit
-
visit
void visit(IndexExpressionStateObject stateObject)
Visits the givenIndexExpressionStateObject
.- Parameters:
stateObject
- TheIndexExpressionStateObject
to visit
-
visit
void visit(InExpressionStateObject stateObject)
Visits the givenInExpressionStateObject
.- Parameters:
stateObject
- TheInExpressionStateObject
to visit
-
visit
void visit(InputParameterStateObject stateObject)
Visits the givenInputParameterStateObject
.- Parameters:
stateObject
- TheInputParameterStateObject
to visit
-
visit
void visit(JoinStateObject stateObject)
Visits the givenJoinStateObject
.- Parameters:
stateObject
- TheJPQLQueryStateObject
to visit
-
visit
void visit(JPQLQueryStateObject stateObject)
Visits the givenJPQLQueryStateObject
.- Parameters:
stateObject
- TheJPQLQueryStateObject
to visit
-
visit
void visit(KeyExpressionStateObject stateObject)
Visits the givenKeyExpressionStateObject
.- Parameters:
stateObject
- TheKeyExpressionStateObject
to visit
-
visit
void visit(KeywordExpressionStateObject stateObject)
Visits the givenKeywordExpressionStateObject
.- Parameters:
stateObject
- TheKeywordExpressionStateObject
to visit
-
visit
void visit(LengthExpressionStateObject stateObject)
Visits the givenLengthExpressionStateObject
.- Parameters:
stateObject
- TheLengthExpressionStateObject
to visit
-
visit
void visit(LikeExpressionStateObject stateObject)
Visits the givenLikeExpressionStateObject
.- Parameters:
stateObject
- TheLikeExpressionStateObject
to visit
-
visit
void visit(LocateExpressionStateObject stateObject)
Visits the givenLocateExpressionStateObject
.- Parameters:
stateObject
- TheLocateExpressionStateObject
to visit
-
visit
void visit(LowerExpressionStateObject stateObject)
Visits the givenLowerExpressionStateObject
.- Parameters:
stateObject
- TheLowerExpressionStateObject
to visit
-
visit
void visit(MaxFunctionStateObject stateObject)
Visits the givenMaxFunctionStateObject
.- Parameters:
stateObject
- TheMaxFunctionStateObject
to visit
-
visit
void visit(MinFunctionStateObject stateObject)
Visits the givenWhereClauseStateObject
.- Parameters:
stateObject
- TheWhereClauseStateObject
to visit
-
visit
void visit(ModExpressionStateObject stateObject)
Visits the givenModExpressionStateObject
.- Parameters:
stateObject
- TheModExpressionStateObject
to visit
-
visit
void visit(MultiplicationExpressionStateObject stateObject)
Visits the givenMultiplicationExpressionStateObject
.- Parameters:
stateObject
- TheMultiplicationExpressionStateObject
to visit
-
visit
void visit(NotExpressionStateObject stateObject)
Visits the givenNotExpressionStateObject
.- Parameters:
stateObject
- TheNotExpressionStateObject
to visit
-
visit
void visit(NullComparisonExpressionStateObject stateObject)
Visits the givenNullComparisonExpressionStateObject
.- Parameters:
stateObject
- TheNullComparisonExpressionStateObject
to visit
-
visit
void visit(NullIfExpressionStateObject stateObject)
Visits the givenNullIfExpressionStateObject
.- Parameters:
stateObject
- TheNullIfExpressionStateObject
to visit
-
visit
void visit(NumericLiteralStateObject stateObject)
Visits the givenNumericLiteralStateObject
.- Parameters:
stateObject
- TheNumericLiteralStateObject
to visit
-
visit
void visit(ObjectExpressionStateObject stateObject)
Visits the givenObjectExpressionStateObject
.- Parameters:
stateObject
- TheObjectExpressionStateObject
to visit
-
visit
void visit(OrderByClauseStateObject stateObject)
Visits the givenOrderByClauseStateObject
.- Parameters:
stateObject
- TheOrderByClauseStateObject
to visit
-
visit
void visit(OrderByItemStateObject stateObject)
Visits the givenOrderByItemStateObject
.- Parameters:
stateObject
- TheOrderByItemStateObject
to visit
-
visit
void visit(OrExpressionStateObject stateObject)
Visits the givenOrExpressionStateObject
.- Parameters:
stateObject
- TheOrExpressionStateObject
to visit
-
visit
void visit(RangeVariableDeclarationStateObject stateObject)
Visits the givenRangeVariableDeclarationStateObject
.- Parameters:
stateObject
- TheRangeVariableDeclarationStateObject
to visit
-
visit
void visit(ResultVariableStateObject stateObject)
Visits the givenResultVariableStateObject
.- Parameters:
stateObject
- TheResultVariableStateObject
to visit
-
visit
void visit(SelectClauseStateObject stateObject)
Visits the givenSelectClauseStateObject
.- Parameters:
stateObject
- TheSelectClauseStateObject
to visit
-
visit
void visit(SelectStatementStateObject stateObject)
Visits the givenSelectStatementStateObject
.- Parameters:
stateObject
- TheSelectStatementStateObject
to visit
-
visit
void visit(SimpleFromClauseStateObject stateObject)
Visits the givenSimpleFromClauseStateObject
.- Parameters:
stateObject
- TheSimpleFromClauseStateObject
to visit
-
visit
void visit(SimpleSelectClauseStateObject stateObject)
Visits the givenSimpleSelectClauseStateObject
.- Parameters:
stateObject
- TheSimpleSelectClauseStateObject
to visit
-
visit
void visit(SimpleSelectStatementStateObject stateObject)
Visits the givenSimpleSelectStatementStateObject
.- Parameters:
stateObject
- TheSimpleSelectStatementStateObject
to visit
-
visit
void visit(SizeExpressionStateObject stateObject)
Visits the givenSizeExpressionStateObject
.- Parameters:
stateObject
- TheSizeExpressionStateObject
to visit
-
visit
void visit(SqrtExpressionStateObject stateObject)
Visits the givenSqrtExpressionStateObject
.- Parameters:
stateObject
- TheSqrtExpressionStateObject
to visit
-
visit
void visit(StateFieldPathExpressionStateObject stateObject)
Visits the givenStateFieldPathExpressionStateObject
.- Parameters:
stateObject
- TheStateFieldPathExpressionStateObject
to visit
-
visit
void visit(StringLiteralStateObject stateObject)
Visits the givenStringLiteralStateObject
.- Parameters:
stateObject
- TheStringLiteralStateObject
to visit
-
visit
void visit(SubExpressionStateObject stateObject)
Visits the givenSubExpressionStateObject
.- Parameters:
stateObject
- TheSubExpressionStateObject
to visit
-
visit
void visit(SubstringExpressionStateObject stateObject)
Visits the givenSubstringExpressionStateObject
.- Parameters:
stateObject
- TheSubstringExpressionStateObject
to visit
-
visit
void visit(SubtractionExpressionStateObject stateObject)
Visits the givenSubtractionExpressionStateObject
.- Parameters:
stateObject
- TheSubtractionExpressionStateObject
to visit
-
visit
void visit(SumFunctionStateObject stateObject)
Visits the givenSumFunctionStateObject
.- Parameters:
stateObject
- TheSumFunctionStateObject
to visit
-
visit
void visit(TreatExpressionStateObject stateObject)
Visits the givenTreatExpressionStateObject
.- Parameters:
stateObject
- TheTreatExpressionStateObject
to visit
-
visit
void visit(TrimExpressionStateObject stateObject)
Visits the givenTrimExpressionStateObject
.- Parameters:
stateObject
- TheTrimExpressionStateObject
to visit
-
visit
void visit(TypeExpressionStateObject stateObject)
Visits the givenTypeExpressionStateObject
.- Parameters:
stateObject
- TheTypeExpressionStateObject
to visit
-
visit
void visit(UnknownExpressionStateObject stateObject)
Visits the givenUnknownExpressionStateObject
.- Parameters:
stateObject
- TheUnknownExpressionStateObject
to visit
-
visit
void visit(UpdateClauseStateObject stateObject)
Visits the givenUpdateClauseStateObject
.- Parameters:
stateObject
- TheUpdateClauseStateObject
to visit
-
visit
void visit(UpdateItemStateObject stateObject)
Visits the givenUpdateItemStateObject
.- Parameters:
stateObject
- TheUpdateItemStateObject
to visit
-
visit
void visit(UpdateStatementStateObject stateObject)
Visits the givenUpdateStatementStateObject
.- Parameters:
stateObject
- TheUpdateStatementStateObject
to visit
-
visit
void visit(UpperExpressionStateObject stateObject)
Visits the givenUpperExpressionStateObject
.- Parameters:
stateObject
- TheUpperExpressionStateObject
to visit
-
visit
void visit(ValueExpressionStateObject stateObject)
Visits the givenValueExpressionStateObject
.- Parameters:
stateObject
- TheValueExpressionStateObject
to visit
-
visit
void visit(WhenClauseStateObject stateObject)
Visits the givenWhenClauseStateObject
.- Parameters:
stateObject
- TheWhenClauseStateObject
to visit
-
visit
void visit(WhereClauseStateObject stateObject)
Visits the givenWhereClauseStateObject
.- Parameters:
stateObject
- TheWhereClauseStateObject
to visit
-
-