| Package | Description | 
|---|---|
| org.apache.cayenne.access.translator.ejbql | |
| org.apache.cayenne.access.translator.select | |
| org.apache.cayenne.ashwood | |
| org.apache.cayenne.configuration | |
| 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.reflect.generic | |
| org.apache.cayenne.reflect.valueholder | |
| org.apache.cayenne.util | General utility classes. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected DbRelationship | EJBQLPathTranslator. chooseDbRelationship(ObjRelationship relationship)Checks if the object relationship is flattened and then chooses the
 corresponding db relationship. | 
| protected void | EJBQLPathTranslator. processTerminatingRelationship(ObjRelationship relationship) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | QueryAssemblerHelper. processRelTermination(ObjRelationship rel,
                     JoinType joinType,
                     String joinSplitAlias)Processes case when an OBJ_PATH expression ends with relationship. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected Object | AshwoodEntitySorter. findReflexiveMaster(Persistent object,
                   ObjRelationship toOneRel,
                   String targetEntityName) | 
| Modifier and Type | Method and Description | 
|---|---|
| T | BaseConfigurationNodeVisitor. visitObjRelationship(ObjRelationship relationship) | 
| T | ConfigurationNodeVisitor. visitObjRelationship(ObjRelationship relationship) | 
| Modifier and Type | Method and Description | 
|---|---|
| ObjRelationship | ObjRelationship. createReverseRelationship()Creates a complimentary reverse relationship from target entity to the
 source entity. | 
| ObjRelationship | ObjRelationship. getClientRelationship()Returns an ObjAttribute stripped of any server-side information, such as
 DbAttribute mapping. | 
| ObjRelationship | ObjEntity. getRelationship(String name)Returns a named Relationship that either belongs to this ObjEntity or is
 inherited. | 
| ObjRelationship | ObjEntity. getRelationshipForDbRelationship(DbRelationship dbRelationship)Returns ObjRelationship of this entity that maps to
  dbRelationshipparameter. | 
| ObjRelationship | ObjRelationship. getReverseRelationship()Returns a "complimentary" ObjRelationship going in the opposite
 direction. | 
| Modifier and Type | Method and Description | 
|---|---|
| Collection<ObjRelationship> | EntityInheritanceTree. allRelationships() | 
| Collection<ObjRelationship> | ObjEntity. getDeclaredRelationships()Returns a Collection of all relationships that belong to this ObjEntity,
 excluding inherited attributes. | 
| SortedMap<String,ObjRelationship> | ObjEntity. getRelationshipMap() | 
| Collection<ObjRelationship> | ObjEntity. getRelationships() | 
| PathComponent<ObjAttribute,ObjRelationship> | ObjEntity. lastPathComponent(Expression path,
                 Map aliasMap) | 
| Iterable<PathComponent<ObjAttribute,ObjRelationship>> | ObjEntity. resolvePath(Expression pathExp,
           Map aliasMap)Returns an Iterable instance over expression path components based on
 this entity. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | EntityInheritanceTree. appendDeclaredRelationships(Collection<ObjRelationship> c) | 
| Modifier and Type | Field and Description | 
|---|---|
| protected ObjRelationship | PrefetchSelectQuery. lastPrefetchHintStores the last ObjRelationship in the prefetch path. | 
| Modifier and Type | Method and Description | 
|---|---|
| ObjRelationship | PrefetchSelectQuery. getLastPrefetchHint()Returns last incoming ObjRelationship in the prefetch relationship chain. | 
| ObjRelationship | RelationshipQuery. getRelationship(EntityResolver resolver)Returns a non-null relationship object for this query. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | PrefetchSelectQuery. setLastPrefetchHint(ObjRelationship relationship) | 
| Constructor and Description | 
|---|
| PrefetchSelectQuery(String prefetchPath,
                   ObjRelationship lastPrefetchHint)Creates a new disjoint prefetch select query. | 
| Modifier and Type | Field and Description | 
|---|---|
| protected ObjRelationship | BaseArcProperty. relationship | 
| Modifier and Type | Method and Description | 
|---|---|
| ObjRelationship | ArcProperty. getRelationship()Returns a relationship associated with this arc. | 
| ObjRelationship | BaseArcProperty. getRelationship() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected Accessor | PersistentDescriptorFactory. createMapKeyAccessor(ObjRelationship relationship,
                    ClassDescriptor targetDescriptor)Creates an accessor to read a map key for a given relationship. | 
| protected abstract void | PersistentDescriptorFactory. createToManyCollectionProperty(PersistentDescriptor descriptor,
                              ObjRelationship relationship) | 
| protected abstract void | PersistentDescriptorFactory. createToManyListProperty(PersistentDescriptor descriptor,
                        ObjRelationship relationship) | 
| protected abstract void | PersistentDescriptorFactory. createToManyMapProperty(PersistentDescriptor descriptor,
                       ObjRelationship relationship) | 
| protected abstract void | PersistentDescriptorFactory. createToManySetProperty(PersistentDescriptor descriptor,
                       ObjRelationship relationship) | 
| protected abstract void | PersistentDescriptorFactory. createToOneProperty(PersistentDescriptor descriptor,
                   ObjRelationship relationship) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | DataObjectDescriptorFactory. createToManyCollectionProperty(PersistentDescriptor descriptor,
                              ObjRelationship relationship) | 
| protected void | DataObjectDescriptorFactory. createToManyListProperty(PersistentDescriptor descriptor,
                        ObjRelationship relationship) | 
| protected void | DataObjectDescriptorFactory. createToManyMapProperty(PersistentDescriptor descriptor,
                       ObjRelationship relationship) | 
| protected void | DataObjectDescriptorFactory. createToManySetProperty(PersistentDescriptor descriptor,
                       ObjRelationship relationship) | 
| protected void | DataObjectDescriptorFactory. createToOneProperty(PersistentDescriptor descriptor,
                   ObjRelationship relationship) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | ValueHolderDescriptorFactory. createToManyCollectionProperty(PersistentDescriptor descriptor,
                              ObjRelationship relationship) | 
| protected void | ValueHolderDescriptorFactory. createToManyListProperty(PersistentDescriptor descriptor,
                        ObjRelationship relationship) | 
| protected void | ValueHolderDescriptorFactory. createToManyMapProperty(PersistentDescriptor descriptor,
                       ObjRelationship relationship) | 
| protected void | ValueHolderDescriptorFactory. createToManySetProperty(PersistentDescriptor descriptor,
                       ObjRelationship relationship) | 
| protected void | ValueHolderDescriptorFactory. createToOneProperty(PersistentDescriptor descriptor,
                   ObjRelationship relationship) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | DeleteRuleUpdater. objRelationshipAdded(ObjRelationship rel) | 
| void | EntityMergeListener. objRelationshipAdded(ObjRelationship rel)Invoked when a missing relationship in ObjEntity is completed from DbEntity | 
| static void | DeleteRuleUpdater. updateObjRelationship(ObjRelationship rel)Updates delete rules for specified relationship | 
Copyright © 2001–2023 Apache Cayenne. All rights reserved.