## Uses of Class
org.apache.cayenne.map.EntityResolver

- Packages that use EntityResolver
  Package | Description
  --- | ---
  org.apache.cayenne | Contains persistence APIs directly accessible by users.
  org.apache.cayenne.access | Contains classes that make up Cayenne ORM stack.
  org.apache.cayenne.access.translator.ejbql |
  org.apache.cayenne.access.translator.procedure |
  org.apache.cayenne.access.translator.select |
  org.apache.cayenne.ashwood |
  org.apache.cayenne.dba | Contains database adapter API (DbAdapter) and its default implementation.
  org.apache.cayenne.ejbql |
  org.apache.cayenne.ejbql.parser |
  org.apache.cayenne.map | Contains O/R mapping classes that store relational database metadata information and map it to Java classes.
  org.apache.cayenne.query | Defines standard queries supported by Cayenne and extension mechanism to create custom queries.
  org.apache.cayenne.reflect |
  org.apache.cayenne.remote | Contains classes an interfaces related to Cayenne remote object persistence features.
  org.apache.cayenne.remote.hessian.service |
  org.apache.cayenne.util | General utility classes.

- - ### Uses of EntityResolver in org.apache.cayenne

    Fields in org.apache.cayenne declared as EntityResolver
    Modifier and Type | Field | Description
    --- | --- | ---
    `protected EntityResolver` | BaseContext.`entityResolver` |

    Methods in org.apache.cayenne that return EntityResolver
    Modifier and Type | Method | Description
    --- | --- | ---
    `EntityResolver` | BaseContext.`getEntityResolver()` |
    `EntityResolver` | DataChannel.`getEntityResolver()` | Returns an EntityResolver instance that contains runtime mapping information.
    `EntityResolver` | ObjectContext.`getEntityResolver()` | Returns EntityResolver that stores all mapping information accessible by this ObjectContext.

    Methods in org.apache.cayenne with parameters of type EntityResolver
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | BaseContext.`setEntityResolver​(EntityResolver entityResolver)` |

  - ### Uses of EntityResolver in org.apache.cayenne.access

    Fields in org.apache.cayenne.access declared as EntityResolver
    Modifier and Type | Field | Description
    --- | --- | ---
    `protected EntityResolver` | DataDomain.`entityResolver` |
    `protected EntityResolver` | DataNode.`entityResolver` |

    Methods in org.apache.cayenne.access that return EntityResolver
    Modifier and Type | Method | Description
    --- | --- | ---
    `EntityResolver` | ClientServerChannel.`getEntityResolver()` |
    `EntityResolver` | DataDomain.`getEntityResolver()` | Returns an EntityResolver that stores mapping information for this domain.
    `EntityResolver` | DataNode.`getEntityResolver()` | Returns EntityResolver that handles DataMaps of this node.
    `EntityResolver` | QueryEngine.`getEntityResolver()` | Returns a resolver for this query engine that is capable of resolving between classes, entity names, and obj/db entities

    Methods in org.apache.cayenne.access with parameters of type EntityResolver
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | DataDomain.`setEntityResolver​(EntityResolver entityResolver)` | Sets EntityResolver.
    `void` | DataNode.`setEntityResolver​(EntityResolver entityResolver)` | Sets EntityResolver.

  - ### Uses of EntityResolver in org.apache.cayenne.access.translator.ejbql

    Constructors in org.apache.cayenne.access.translator.ejbql with parameters of type EntityResolver
    Constructor | Description
    --- | ---
    `EJBQLTranslationContext​(EntityResolver entityResolver, EJBQLQuery query, EJBQLCompiledExpression compiledExpression, EJBQLTranslatorFactory translatorFactory, QuotingStrategy quotingStrategy)` |

  - ### Uses of EntityResolver in org.apache.cayenne.access.translator.procedure

    Fields in org.apache.cayenne.access.translator.procedure declared as EntityResolver
    Modifier and Type | Field | Description
    --- | --- | ---
    `protected EntityResolver` | ProcedureTranslator.`entityResolver` |

    Methods in org.apache.cayenne.access.translator.procedure with parameters of type EntityResolver
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | ProcedureTranslator.`setEntityResolver​(EntityResolver entityResolver)` |

  - ### Uses of EntityResolver in org.apache.cayenne.access.translator.select

    Methods in org.apache.cayenne.access.translator.select with parameters of type EntityResolver
    Modifier and Type | Method | Description
    --- | --- | ---
    `QueryMetadata` | FluentSelectWrapper.`getMetaData​(EntityResolver resolver)` |
    `QueryMetadata` | SelectQueryWrapper.`getMetaData​(EntityResolver resolver)` | Deprecated.
    `QueryMetadata` | TranslatableQueryWrapper.`getMetaData​(EntityResolver resolver)` |
    `SelectTranslator` | DefaultSelectTranslatorFactory.`translator​(Select<?> query, DbAdapter adapter, EntityResolver entityResolver)` |
    `SelectTranslator` | SelectTranslatorFactory.`translator​(Select<?> query, DbAdapter adapter, EntityResolver entityResolver)` | Creates a proper translator for a BatchQuery

    Constructors in org.apache.cayenne.access.translator.select with parameters of type EntityResolver
    Constructor | Description
    --- | ---
    `DefaultSelectTranslator​(FluentSelect<?> query, DbAdapter adapter, EntityResolver entityResolver)` |
    `DefaultSelectTranslator​(SelectQuery<?> query, DbAdapter adapter, EntityResolver entityResolver)` | Deprecated. since 4.2 as `SelectQuery` is deprecated.

  - ### Uses of EntityResolver in org.apache.cayenne.ashwood

    Fields in org.apache.cayenne.ashwood declared as EntityResolver
    Modifier and Type | Field | Description
    --- | --- | ---
    `protected EntityResolver` | AshwoodEntitySorter.`entityResolver` |

    Methods in org.apache.cayenne.ashwood with parameters of type EntityResolver
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | AshwoodEntitySorter.`setEntityResolver​(EntityResolver entityResolver)` |

  - ### Uses of EntityResolver in org.apache.cayenne.dba

    Methods in org.apache.cayenne.dba with parameters of type EntityResolver
    Modifier and Type | Method | Description
    --- | --- | ---
    `SelectTranslator` | AutoAdapter.`getSelectTranslator​(FluentSelect<?> query, EntityResolver entityResolver)` |
    `SelectTranslator` | AutoAdapter.`getSelectTranslator​(SelectQuery<?> query, EntityResolver entityResolver)` | Deprecated.
    `SelectTranslator` | DbAdapter.`getSelectTranslator​(FluentSelect<?> query, EntityResolver entityResolver)` |
    `SelectTranslator` | DbAdapter.`getSelectTranslator​(SelectQuery<?> query, EntityResolver entityResolver)` | Deprecated. since 4.2 as `SelectQuery` is deprecated.
    `SelectTranslator` | JdbcAdapter.`getSelectTranslator​(FluentSelect<?> query, EntityResolver entityResolver)` |
    `SelectTranslator` | JdbcAdapter.`getSelectTranslator​(SelectQuery<?> query, EntityResolver entityResolver)` | Deprecated.

  - ### Uses of EntityResolver in org.apache.cayenne.ejbql

    Methods in org.apache.cayenne.ejbql with parameters of type EntityResolver
    Modifier and Type | Method | Description
    --- | --- | ---
    `EJBQLCompiledExpression` | EJBQLParser.`compile​(String ejbqlStatement, EntityResolver resolver)` | Parses and compiles an expression for the EntityResolver.

  - ### Uses of EntityResolver in org.apache.cayenne.ejbql.parser

    Methods in org.apache.cayenne.ejbql.parser with parameters of type EntityResolver
    Modifier and Type | Method | Description
    --- | --- | ---
    `EJBQLCompiledExpression` | EJBQL.EJBQLDefaultParser.`compile​(String ejbqlStatement, EntityResolver resolver)` |

  - ### Uses of EntityResolver in org.apache.cayenne.map

    Fields in org.apache.cayenne.map declared as EntityResolver
    Modifier and Type | Field | Description
    --- | --- | ---
    `protected EntityResolver` | EntityResolver.`clientEntityResolver` |

    Methods in org.apache.cayenne.map that return EntityResolver
    Modifier and Type | Method | Description
    --- | --- | ---
    `EntityResolver` | EntityResolver.`getClientEntityResolver()` | Returns ClientEntityResolver with mapping information that only includes entities available on CWS Client Tier.

    Methods in org.apache.cayenne.map with parameters of type EntityResolver
    Modifier and Type | Method | Description
    --- | --- | ---
    `DataMap` | DataMap.`getClientDataMap​(EntityResolver serverResolver)` | Returns a DataMap stripped of any server-side information, such as DbEntity mapping, or ObjEntities that are not allowed in the client tier.
    `Map<String,​String>` | EntityResult.`getDbFields​(EntityResolver resolver)` | Returns a map of result column names to attribute db paths from the root entity.
    `List<Object>` | SQLResult.`getResolvedComponents​(EntityResolver resolver)` |
    `boolean` | ObjRelationship.`isSourceDefiningTargetPrecenseAndType​(EntityResolver entityResolver)` | Returns true if the relationship is non-optional and target has no subclasses.
    `void` | EntitySorter.`setEntityResolver​(EntityResolver resolver)` | Sets EntityResolver for this sorter.

  - ### Uses of EntityResolver in org.apache.cayenne.query

    Fields in org.apache.cayenne.query declared as EntityResolver
    Modifier and Type | Field | Description
    --- | --- | ---
    `protected EntityResolver` | IndirectQuery.`lastResolver` |
    `protected EntityResolver` | ObjectIdQuery.`metadataResolver` |
    `protected EntityResolver` | RelationshipQuery.`metadataResolver` |

    Methods in org.apache.cayenne.query with parameters of type EntityResolver
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected Query` | AbstractMappedQuery.`createReplacementQuery​(EntityResolver resolver)` |
    `protected abstract Query` | IndirectQuery.`createReplacementQuery​(EntityResolver resolver)` | Creates a substitute query.
    `protected Query` | MappedSelect.`createReplacementQuery​(EntityResolver resolver)` |
    `protected Query` | ObjectIdQuery.`createReplacementQuery​(EntityResolver resolver)` |
    `protected Query` | ProcedureCall.`createReplacementQuery​(EntityResolver resolver)` |
    `protected Query` | RelationshipQuery.`createReplacementQuery​(EntityResolver resolver)` |
    `protected Query` | SelectById.`createReplacementQuery​(EntityResolver resolver)` |
    `protected Query` | SQLExec.`createReplacementQuery​(EntityResolver resolver)` |
    `protected Query` | SQLSelect.`createReplacementQuery​(EntityResolver resolver)` |
    `EJBQLCompiledExpression` | EJBQLQuery.`getExpression​(EntityResolver resolver)` | Returns lazily initialized EJBQLCompiledExpression for this query EJBQL.
    `QueryMetadata` | AbstractQuery.`getMetaData​(EntityResolver resolver)` | Returns default select parameters.
    `QueryMetadata` | BatchQuery.`getMetaData​(EntityResolver resolver)` | Returns default select parameters.
    `QueryMetadata` | ColumnSelect.`getMetaData​(EntityResolver resolver)` |
    `QueryMetadata` | EJBQLQuery.`getMetaData​(EntityResolver resolver)` |
    `QueryMetadata` | IndirectQuery.`getMetaData​(EntityResolver resolver)` | Returns the metadata obtained from the replacement query.
    `QueryMetadata` | ObjectIdQuery.`getMetaData​(EntityResolver resolver)` | Returns query metadata object.
    `QueryMetadata` | ObjectSelect.`getMetaData​(EntityResolver resolver)` |
    `QueryMetadata` | ProcedureQuery.`getMetaData​(EntityResolver resolver)` |
    `QueryMetadata` | Query.`getMetaData​(EntityResolver resolver)` | Returns query runtime parameters.
    `QueryMetadata` | QueryChain.`getMetaData​(EntityResolver resolver)` | Returns default metadata.
    `QueryMetadata` | RefreshQuery.`getMetaData​(EntityResolver resolver)` |
    `QueryMetadata` | RelationshipQuery.`getMetaData​(EntityResolver resolver)` | Returns query metadata object.
    `QueryMetadata` | SelectQuery.`getMetaData​(EntityResolver resolver)` | Deprecated.
    `QueryMetadata` | SQLTemplate.`getMetaData​(EntityResolver resolver)` |
    `ObjRelationship` | RelationshipQuery.`getRelationship​(EntityResolver resolver)` | Returns a non-null relationship object for this query.
    `protected Query` | IndirectQuery.`getReplacementQuery​(EntityResolver resolver)` | Returns a replacement query, creating it on demand and caching it for reuse.
    `ObjEntity` | SelectById.QueryRoot.`resolve​(EntityResolver resolver)` |
    `protected Object` | FluentSelect.`resolveRoot​(EntityResolver resolver)` |
    `void` | AbstractQuery.`route​(QueryRouter router, EntityResolver resolver, Query substitutedQuery)` | Implements default routing mechanism relying on the EntityResolver to find DataMap based on the query root.
    `void` | BatchQuery.`route​(QueryRouter router, EntityResolver resolver, Query substitutedQuery)` |
    `void` | EJBQLQuery.`route​(QueryRouter router, EntityResolver resolver, Query substitutedQuery)` |
    `void` | FluentSelect.`route​(QueryRouter router, EntityResolver resolver, Query substitutedQuery)` |
    `void` | IndirectQuery.`route​(QueryRouter router, EntityResolver resolver, Query substitutedQuery)` | Delegates routing to a replacement query.
    `void` | Query.`route​(QueryRouter router, EntityResolver resolver, Query substitutedQuery)` | A callback method invoked by Cayenne during the routing phase of the query execution.
    `void` | QueryChain.`route​(QueryRouter router, EntityResolver resolver, Query substitutedQuery)` | Delegates routing to each individual query in the chain.
    `void` | RefreshQuery.`route​(QueryRouter router, EntityResolver resolver, Query substitutedQuery)` |
    `void` | SelectQuery.`route​(QueryRouter router, EntityResolver resolver, Query substitutedQuery)` | Deprecated. Routes itself and if there are any prefetches configured, creates prefetch queries and routes them as well.
    `void` | SQLTemplate.`route​(QueryRouter router, EntityResolver resolver, Query substitutedQuery)` |
    `protected void` | FluentSelect.`routePrefetches​(QueryRouter router, EntityResolver resolver)` |
    `protected void` | PrefetchSelectQuery.`routePrefetches​(QueryRouter router, EntityResolver resolver)` |

  - ### Uses of EntityResolver in org.apache.cayenne.reflect

    Fields in org.apache.cayenne.reflect declared as EntityResolver
    Modifier and Type | Field | Description
    --- | --- | ---
    `protected EntityResolver` | ClassDescriptorMap.`resolver` |

    Methods in org.apache.cayenne.reflect that return EntityResolver
    Modifier and Type | Method | Description
    --- | --- | ---
    `EntityResolver` | ClassDescriptorMap.`getResolver()` |

    Constructors in org.apache.cayenne.reflect with parameters of type EntityResolver
    Constructor | Description
    --- | ---
    `ClassDescriptorMap​(EntityResolver resolver)` |
    `LifecycleCallbackRegistry​(EntityResolver resolver)` | Creates an empty callback registry.

  - ### Uses of EntityResolver in org.apache.cayenne.remote

    Fields in org.apache.cayenne.remote declared as EntityResolver
    Modifier and Type | Field | Description
    --- | --- | ---
    `protected EntityResolver` | ClientChannel.`entityResolver` |

    Methods in org.apache.cayenne.remote that return EntityResolver
    Modifier and Type | Method | Description
    --- | --- | ---
    `EntityResolver` | ClientChannel.`getEntityResolver()` | Returns EntityResolver obtained from the server.

  - ### Uses of EntityResolver in org.apache.cayenne.remote.hessian.service

    Methods in org.apache.cayenne.remote.hessian.service with parameters of type EntityResolver
    Modifier and Type | Method | Description
    --- | --- | ---
    `static Object` | HessianUtil.`cloneViaClientServerSerialization​(Serializable object, EntityResolver serverResolver)` | A utility method that clones an object using Hessian serialization/deserialization mechanism, which is different from default Java serialization.
    `static Object` | HessianUtil.`cloneViaServerClientSerialization​(Serializable object, EntityResolver serverResolver)` |

  - ### Uses of EntityResolver in org.apache.cayenne.util

    Fields in org.apache.cayenne.util declared as EntityResolver
    Modifier and Type | Field | Description
    --- | --- | ---
    `protected EntityResolver` | ObjectDetachOperation.`targetResolver` |

    Constructors in org.apache.cayenne.util with parameters of type EntityResolver
    Constructor | Description
    --- | ---
    `ObjectDetachOperation​(EntityResolver targetResolver)` |