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 the
StateObject
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.
- Since:
- 2.4
- Version:
- 2.4
-
Method Summary
Modifier and TypeMethodDescriptionvoid
visit
(AbsExpressionStateObject stateObject) Visits the givenAbsExpressionStateObject
.void
visit
(AbstractSchemaNameStateObject stateObject) Visits the givenAbstractSchemaNameStateObject
.void
visit
(AdditionExpressionStateObject stateObject) Visits the givenAdditionExpressionStateObject
.void
visit
(AllOrAnyExpressionStateObject stateObject) Visits the givenAllOrAnyExpressionStateObject
.void
visit
(AndExpressionStateObject stateObject) Visits the givenAndExpressionStateObject
.void
visit
(ArithmeticFactorStateObject stateObject) Visits the givenArithmeticFactorStateObject
.void
visit
(AvgFunctionStateObject stateObject) Visits the givenAvgFunctionStateObject
.void
visit
(BadExpressionStateObject stateObject) Visits the givenBadExpressionStateObject
.void
visit
(BetweenExpressionStateObject stateObject) Visits the givenBetweenExpressionStateObject
.void
visit
(CaseExpressionStateObject stateObject) Visits the givenCaseExpressionStateObject
.void
visit
(CoalesceExpressionStateObject stateObject) Visits the givenCoalesceExpressionStateObject
.void
visit
(CollectionMemberDeclarationStateObject stateObject) Visits the givenCollectionMemberDeclarationStateObject
.void
visit
(CollectionMemberExpressionStateObject stateObject) Visits the givenCollectionMemberExpressionStateObject
.void
visit
(CollectionValuedPathExpressionStateObject stateObject) Visits the givenCollectionValuedPathExpressionStateObject
.void
visit
(ComparisonExpressionStateObject stateObject) Visits the givenComparisonExpressionStateObject
.void
visit
(ConcatExpressionStateObject stateObject) Visits the givenConcatExpressionStateObject
.void
visit
(ConstructorExpressionStateObject stateObject) Visits the givenConstructorExpressionStateObject
.void
visit
(CountFunctionStateObject stateObject) Visits the givenCountFunctionStateObject
.void
visit
(DateTimeStateObject stateObject) Visits the givenDateTimeStateObject
.void
visit
(DeleteClauseStateObject stateObject) Visits the givenDeleteClauseStateObject
.void
visit
(DeleteStatementStateObject stateObject) Visits the givenDeleteStatementStateObject
.void
Visits the givenDerivedPathIdentificationVariableDeclarationStateObject
.void
visit
(DerivedPathVariableDeclarationStateObject stateObject) Visits the givenDerivedPathVariableDeclarationStateObject
.void
visit
(DivisionExpressionStateObject stateObject) Visits the givenDivisionExpressionStateObject
.void
visit
(EmptyCollectionComparisonExpressionStateObject stateObject) Visits the givenEmptyCollectionComparisonExpressionStateObject
.void
visit
(EntityTypeLiteralStateObject stateObject) Visits the givenEntityTypeLiteralStateObject
.void
visit
(EntryExpressionStateObject stateObject) Visits the givenEntryExpressionStateObject
.void
visit
(EnumTypeStateObject stateObject) Visits the givenEnumTypeStateObject
.void
visit
(ExistsExpressionStateObject stateObject) Visits the givenExistsExpressionStateObject
.void
visit
(FromClauseStateObject stateObject) Visits the givenFromClauseStateObject
.void
visit
(FunctionExpressionStateObject stateObject) Visits the givenFunctionExpressionStateObject
.void
visit
(GroupByClauseStateObject stateObject) Visits the givenGroupByClauseStateObject
.void
visit
(HavingClauseStateObject stateObject) Visits the givenHavingClauseStateObject
.void
visit
(IdentificationVariableDeclarationStateObject stateObject) Visits the givenIdentificationVariableDeclarationStateObject
.void
visit
(IdentificationVariableStateObject stateObject) Visits the givenIdentificationVariableStateObject
.void
visit
(IndexExpressionStateObject stateObject) Visits the givenIndexExpressionStateObject
.void
visit
(InExpressionStateObject stateObject) Visits the givenInExpressionStateObject
.void
visit
(InputParameterStateObject stateObject) Visits the givenInputParameterStateObject
.void
visit
(JoinStateObject stateObject) Visits the givenJoinStateObject
.void
visit
(JPQLQueryStateObject stateObject) Visits the givenJPQLQueryStateObject
.void
visit
(KeyExpressionStateObject stateObject) Visits the givenKeyExpressionStateObject
.void
visit
(KeywordExpressionStateObject stateObject) Visits the givenKeywordExpressionStateObject
.void
visit
(LengthExpressionStateObject stateObject) Visits the givenLengthExpressionStateObject
.void
visit
(LikeExpressionStateObject stateObject) Visits the givenLikeExpressionStateObject
.void
visit
(LocateExpressionStateObject stateObject) Visits the givenLocateExpressionStateObject
.void
visit
(LowerExpressionStateObject stateObject) Visits the givenLowerExpressionStateObject
.void
visit
(MaxFunctionStateObject stateObject) Visits the givenMaxFunctionStateObject
.void
visit
(MinFunctionStateObject stateObject) Visits the givenWhereClauseStateObject
.void
visit
(ModExpressionStateObject stateObject) Visits the givenModExpressionStateObject
.void
visit
(MultiplicationExpressionStateObject stateObject) Visits the givenMultiplicationExpressionStateObject
.void
visit
(NotExpressionStateObject stateObject) Visits the givenNotExpressionStateObject
.void
visit
(NullComparisonExpressionStateObject stateObject) Visits the givenNullComparisonExpressionStateObject
.void
visit
(NullIfExpressionStateObject stateObject) Visits the givenNullIfExpressionStateObject
.void
visit
(NumericLiteralStateObject stateObject) Visits the givenNumericLiteralStateObject
.void
visit
(ObjectExpressionStateObject stateObject) Visits the givenObjectExpressionStateObject
.void
visit
(OrderByClauseStateObject stateObject) Visits the givenOrderByClauseStateObject
.void
visit
(OrderByItemStateObject stateObject) Visits the givenOrderByItemStateObject
.void
visit
(OrExpressionStateObject stateObject) Visits the givenOrExpressionStateObject
.void
visit
(RangeVariableDeclarationStateObject stateObject) Visits the givenRangeVariableDeclarationStateObject
.void
visit
(ResultVariableStateObject stateObject) Visits the givenResultVariableStateObject
.void
visit
(SelectClauseStateObject stateObject) Visits the givenSelectClauseStateObject
.void
visit
(SelectStatementStateObject stateObject) Visits the givenSelectStatementStateObject
.void
visit
(SimpleFromClauseStateObject stateObject) Visits the givenSimpleFromClauseStateObject
.void
visit
(SimpleSelectClauseStateObject stateObject) Visits the givenSimpleSelectClauseStateObject
.void
visit
(SimpleSelectStatementStateObject stateObject) Visits the givenSimpleSelectStatementStateObject
.void
visit
(SizeExpressionStateObject stateObject) Visits the givenSizeExpressionStateObject
.void
visit
(SqrtExpressionStateObject stateObject) Visits the givenSqrtExpressionStateObject
.void
visit
(StateFieldPathExpressionStateObject stateObject) Visits the givenStateFieldPathExpressionStateObject
.void
visit
(StringLiteralStateObject stateObject) Visits the givenStringLiteralStateObject
.void
visit
(SubExpressionStateObject stateObject) Visits the givenSubExpressionStateObject
.void
visit
(SubstringExpressionStateObject stateObject) Visits the givenSubstringExpressionStateObject
.void
visit
(SubtractionExpressionStateObject stateObject) Visits the givenSubtractionExpressionStateObject
.void
visit
(SumFunctionStateObject stateObject) Visits the givenSumFunctionStateObject
.void
visit
(TreatExpressionStateObject stateObject) Visits the givenTreatExpressionStateObject
.void
visit
(TrimExpressionStateObject stateObject) Visits the givenTrimExpressionStateObject
.void
visit
(TypeExpressionStateObject stateObject) Visits the givenTypeExpressionStateObject
.void
visit
(UnknownExpressionStateObject stateObject) Visits the givenUnknownExpressionStateObject
.void
visit
(UpdateClauseStateObject stateObject) Visits the givenUpdateClauseStateObject
.void
visit
(UpdateItemStateObject stateObject) Visits the givenUpdateItemStateObject
.void
visit
(UpdateStatementStateObject stateObject) Visits the givenUpdateStatementStateObject
.void
visit
(UpperExpressionStateObject stateObject) Visits the givenUpperExpressionStateObject
.void
visit
(ValueExpressionStateObject stateObject) Visits the givenValueExpressionStateObject
.void
visit
(WhenClauseStateObject stateObject) Visits the givenWhenClauseStateObject
.void
visit
(WhereClauseStateObject stateObject) Visits the givenWhereClauseStateObject
.
-
Method Details
-
visit
Visits the givenAbsExpressionStateObject
.- Parameters:
stateObject
- TheAbsExpressionStateObject
to visit
-
visit
Visits the givenAbstractSchemaNameStateObject
.- Parameters:
stateObject
- TheAbstractSchemaNameStateObject
to visit
-
visit
Visits the givenAdditionExpressionStateObject
.- Parameters:
stateObject
- TheAdditionExpressionStateObject
to visit
-
visit
Visits the givenAllOrAnyExpressionStateObject
.- Parameters:
stateObject
- TheAllOrAnyExpressionStateObject
to visit
-
visit
Visits the givenAndExpressionStateObject
.- Parameters:
stateObject
- TheAndExpressionStateObject
to visit
-
visit
Visits the givenArithmeticFactorStateObject
.- Parameters:
stateObject
- TheArithmeticFactorStateObject
to visit
-
visit
Visits the givenAvgFunctionStateObject
.- Parameters:
stateObject
- TheAvgFunctionStateObject
to visit
-
visit
Visits the givenBadExpressionStateObject
.- Parameters:
stateObject
- TheBadExpressionStateObject
to visit
-
visit
Visits the givenBetweenExpressionStateObject
.- Parameters:
stateObject
- TheBetweenExpressionStateObject
to visit
-
visit
Visits the givenCaseExpressionStateObject
.- Parameters:
stateObject
- TheCaseExpressionStateObject
to visit
-
visit
Visits the givenCoalesceExpressionStateObject
.- Parameters:
stateObject
- TheCoalesceExpressionStateObject
to visit
-
visit
Visits the givenCollectionMemberDeclarationStateObject
.- Parameters:
stateObject
- TheCollectionMemberDeclarationStateObject
to visit
-
visit
Visits the givenCollectionMemberExpressionStateObject
.- Parameters:
stateObject
- TheCollectionMemberExpressionStateObject
to visit
-
visit
Visits the givenCollectionValuedPathExpressionStateObject
.- Parameters:
stateObject
- TheCollectionValuedPathExpressionStateObject
to visit
-
visit
Visits the givenComparisonExpressionStateObject
.- Parameters:
stateObject
- TheComparisonExpressionStateObject
to visit
-
visit
Visits the givenConcatExpressionStateObject
.- Parameters:
stateObject
- TheConcatExpressionStateObject
to visit
-
visit
Visits the givenConstructorExpressionStateObject
.- Parameters:
stateObject
- TheConstructorExpressionStateObject
to visit
-
visit
Visits the givenCountFunctionStateObject
.- Parameters:
stateObject
- TheCountFunctionStateObject
to visit
-
visit
Visits the givenDateTimeStateObject
.- Parameters:
stateObject
- TheDateTimeStateObject
to visit
-
visit
Visits the givenDeleteClauseStateObject
.- Parameters:
stateObject
- TheDeleteClauseStateObject
to visit
-
visit
Visits the givenDeleteStatementStateObject
.- Parameters:
stateObject
- TheDeleteStatementStateObject
to visit
-
visit
Visits the givenDerivedPathIdentificationVariableDeclarationStateObject
.- Parameters:
stateObject
- TheDerivedPathIdentificationVariableDeclarationStateObject
to visit
-
visit
Visits the givenDerivedPathVariableDeclarationStateObject
.- Parameters:
stateObject
- TheDerivedPathVariableDeclarationStateObject
to visit
-
visit
Visits the givenDivisionExpressionStateObject
.- Parameters:
stateObject
- TheDivisionExpressionStateObject
to visit
-
visit
Visits the givenEmptyCollectionComparisonExpressionStateObject
.- Parameters:
stateObject
- TheEmptyCollectionComparisonExpressionStateObject
to visit
-
visit
Visits the givenEntityTypeLiteralStateObject
.- Parameters:
stateObject
- TheEntityTypeLiteralStateObject
to visit
-
visit
Visits the givenEntryExpressionStateObject
.- Parameters:
stateObject
- TheEntryExpressionStateObject
to visit
-
visit
Visits the givenEnumTypeStateObject
.- Parameters:
stateObject
- TheEnumTypeStateObject
to visit
-
visit
Visits the givenExistsExpressionStateObject
.- Parameters:
stateObject
- TheExistsExpressionStateObject
to visit
-
visit
Visits the givenFromClauseStateObject
.- Parameters:
stateObject
- TheFromClauseStateObject
to visit
-
visit
Visits the givenFunctionExpressionStateObject
.- Parameters:
stateObject
- TheFunctionExpressionStateObject
to visit
-
visit
Visits the givenGroupByClauseStateObject
.- Parameters:
stateObject
- TheGroupByClauseStateObject
to visit
-
visit
Visits the givenHavingClauseStateObject
.- Parameters:
stateObject
- TheHavingClauseStateObject
to visit
-
visit
Visits the givenIdentificationVariableDeclarationStateObject
.- Parameters:
stateObject
- TheIdentificationVariableDeclarationStateObject
to visit
-
visit
Visits the givenIdentificationVariableStateObject
.- Parameters:
stateObject
- TheIdentificationVariableStateObject
to visit
-
visit
Visits the givenIndexExpressionStateObject
.- Parameters:
stateObject
- TheIndexExpressionStateObject
to visit
-
visit
Visits the givenInExpressionStateObject
.- Parameters:
stateObject
- TheInExpressionStateObject
to visit
-
visit
Visits the givenInputParameterStateObject
.- Parameters:
stateObject
- TheInputParameterStateObject
to visit
-
visit
Visits the givenJoinStateObject
.- Parameters:
stateObject
- TheJPQLQueryStateObject
to visit
-
visit
Visits the givenJPQLQueryStateObject
.- Parameters:
stateObject
- TheJPQLQueryStateObject
to visit
-
visit
Visits the givenKeyExpressionStateObject
.- Parameters:
stateObject
- TheKeyExpressionStateObject
to visit
-
visit
Visits the givenKeywordExpressionStateObject
.- Parameters:
stateObject
- TheKeywordExpressionStateObject
to visit
-
visit
Visits the givenLengthExpressionStateObject
.- Parameters:
stateObject
- TheLengthExpressionStateObject
to visit
-
visit
Visits the givenLikeExpressionStateObject
.- Parameters:
stateObject
- TheLikeExpressionStateObject
to visit
-
visit
Visits the givenLocateExpressionStateObject
.- Parameters:
stateObject
- TheLocateExpressionStateObject
to visit
-
visit
Visits the givenLowerExpressionStateObject
.- Parameters:
stateObject
- TheLowerExpressionStateObject
to visit
-
visit
Visits the givenMaxFunctionStateObject
.- Parameters:
stateObject
- TheMaxFunctionStateObject
to visit
-
visit
Visits the givenWhereClauseStateObject
.- Parameters:
stateObject
- TheWhereClauseStateObject
to visit
-
visit
Visits the givenModExpressionStateObject
.- Parameters:
stateObject
- TheModExpressionStateObject
to visit
-
visit
Visits the givenMultiplicationExpressionStateObject
.- Parameters:
stateObject
- TheMultiplicationExpressionStateObject
to visit
-
visit
Visits the givenNotExpressionStateObject
.- Parameters:
stateObject
- TheNotExpressionStateObject
to visit
-
visit
Visits the givenNullComparisonExpressionStateObject
.- Parameters:
stateObject
- TheNullComparisonExpressionStateObject
to visit
-
visit
Visits the givenNullIfExpressionStateObject
.- Parameters:
stateObject
- TheNullIfExpressionStateObject
to visit
-
visit
Visits the givenNumericLiteralStateObject
.- Parameters:
stateObject
- TheNumericLiteralStateObject
to visit
-
visit
Visits the givenObjectExpressionStateObject
.- Parameters:
stateObject
- TheObjectExpressionStateObject
to visit
-
visit
Visits the givenOrderByClauseStateObject
.- Parameters:
stateObject
- TheOrderByClauseStateObject
to visit
-
visit
Visits the givenOrderByItemStateObject
.- Parameters:
stateObject
- TheOrderByItemStateObject
to visit
-
visit
Visits the givenOrExpressionStateObject
.- Parameters:
stateObject
- TheOrExpressionStateObject
to visit
-
visit
Visits the givenRangeVariableDeclarationStateObject
.- Parameters:
stateObject
- TheRangeVariableDeclarationStateObject
to visit
-
visit
Visits the givenResultVariableStateObject
.- Parameters:
stateObject
- TheResultVariableStateObject
to visit
-
visit
Visits the givenSelectClauseStateObject
.- Parameters:
stateObject
- TheSelectClauseStateObject
to visit
-
visit
Visits the givenSelectStatementStateObject
.- Parameters:
stateObject
- TheSelectStatementStateObject
to visit
-
visit
Visits the givenSimpleFromClauseStateObject
.- Parameters:
stateObject
- TheSimpleFromClauseStateObject
to visit
-
visit
Visits the givenSimpleSelectClauseStateObject
.- Parameters:
stateObject
- TheSimpleSelectClauseStateObject
to visit
-
visit
Visits the givenSimpleSelectStatementStateObject
.- Parameters:
stateObject
- TheSimpleSelectStatementStateObject
to visit
-
visit
Visits the givenSizeExpressionStateObject
.- Parameters:
stateObject
- TheSizeExpressionStateObject
to visit
-
visit
Visits the givenSqrtExpressionStateObject
.- Parameters:
stateObject
- TheSqrtExpressionStateObject
to visit
-
visit
Visits the givenStateFieldPathExpressionStateObject
.- Parameters:
stateObject
- TheStateFieldPathExpressionStateObject
to visit
-
visit
Visits the givenStringLiteralStateObject
.- Parameters:
stateObject
- TheStringLiteralStateObject
to visit
-
visit
Visits the givenSubExpressionStateObject
.- Parameters:
stateObject
- TheSubExpressionStateObject
to visit
-
visit
Visits the givenSubstringExpressionStateObject
.- Parameters:
stateObject
- TheSubstringExpressionStateObject
to visit
-
visit
Visits the givenSubtractionExpressionStateObject
.- Parameters:
stateObject
- TheSubtractionExpressionStateObject
to visit
-
visit
Visits the givenSumFunctionStateObject
.- Parameters:
stateObject
- TheSumFunctionStateObject
to visit
-
visit
Visits the givenTreatExpressionStateObject
.- Parameters:
stateObject
- TheTreatExpressionStateObject
to visit
-
visit
Visits the givenTrimExpressionStateObject
.- Parameters:
stateObject
- TheTrimExpressionStateObject
to visit
-
visit
Visits the givenTypeExpressionStateObject
.- Parameters:
stateObject
- TheTypeExpressionStateObject
to visit
-
visit
Visits the givenUnknownExpressionStateObject
.- Parameters:
stateObject
- TheUnknownExpressionStateObject
to visit
-
visit
Visits the givenUpdateClauseStateObject
.- Parameters:
stateObject
- TheUpdateClauseStateObject
to visit
-
visit
Visits the givenUpdateItemStateObject
.- Parameters:
stateObject
- TheUpdateItemStateObject
to visit
-
visit
Visits the givenUpdateStatementStateObject
.- Parameters:
stateObject
- TheUpdateStatementStateObject
to visit
-
visit
Visits the givenUpperExpressionStateObject
.- Parameters:
stateObject
- TheUpperExpressionStateObject
to visit
-
visit
Visits the givenValueExpressionStateObject
.- Parameters:
stateObject
- TheValueExpressionStateObject
to visit
-
visit
Visits the givenWhenClauseStateObject
.- Parameters:
stateObject
- TheWhenClauseStateObject
to visit
-
visit
Visits the givenWhereClauseStateObject
.- Parameters:
stateObject
- TheWhereClauseStateObject
to visit
-