Uses of Class
org.apache.cayenne.map.ObjRelationship

Packages that use ObjRelationship
org.apache.cayenne.access.jdbc Contains classes that handle JDBC interactions. 
org.apache.cayenne.access.trans Provides translators for Cayenne queries. 
org.apache.cayenne.map Contains O/R mapping classes that store relational database metadata information and map it to Java classes. 
org.apache.cayenne.merge   
org.apache.cayenne.project.validator   
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.pojo   
org.apache.cayenne.reflect.valueholder   
org.apache.cayenne.util General utility classes. 
 

Uses of ObjRelationship in org.apache.cayenne.access.jdbc
 

Methods in org.apache.cayenne.access.jdbc with parameters of type ObjRelationship
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)
           
 

Uses of ObjRelationship in org.apache.cayenne.access.trans
 

Methods in org.apache.cayenne.access.trans with parameters of type ObjRelationship
protected  void QueryAssemblerHelper.processRelTermination(ObjRelationship rel, JoinType joinType, String joinSplitAlias)
          Processes case when an OBJ_PATH expression ends with relationship.
 

Uses of ObjRelationship in org.apache.cayenne.map
 

Methods in org.apache.cayenne.map that return ObjRelationship
 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.getRelationshipForDbRelationship(DbRelationship dbRelationship)
          Returns ObjRelationship of this entity that maps to dbRelationship parameter.
 ObjRelationship ObjRelationship.getReverseRelationship()
          Returns a "complimentary" ObjRelationship going in the opposite direction.
 

Methods in org.apache.cayenne.map that return types with arguments of type ObjRelationship
 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.
 

Methods in org.apache.cayenne.map with parameters of type ObjRelationship
protected  Object AshwoodEntitySorter.findReflexiveMaster(Persistent object, ObjRelationship toOneRel, String targetEntityName)
           
 

Method parameters in org.apache.cayenne.map with type arguments of type ObjRelationship
protected  void EntityInheritanceTree.appendDeclaredRelationships(Collection<ObjRelationship> c)
           
 

Uses of ObjRelationship in org.apache.cayenne.merge
 

Methods in org.apache.cayenne.merge with parameters of type ObjRelationship
 void ModelMergeDelegate.objRelationshipAdded(ObjRelationship rel)
           
 void ModelMergeDelegate.objRelationshipRemoved(ObjRelationship rel)
           
protected  void AbstractToModelToken.remove(MergerContext mergerContext, ObjRelationship rel, boolean reverse)
           
 

Uses of ObjRelationship in org.apache.cayenne.project.validator
 

Methods in org.apache.cayenne.project.validator with parameters of type ObjRelationship
 String ObjRelationshipValidator.objRelationshipIdentifier(ObjRelationship rel)
           
 

Uses of ObjRelationship in org.apache.cayenne.query
 

Fields in org.apache.cayenne.query declared as ObjRelationship
protected  ObjRelationship PrefetchSelectQuery.lastPrefetchHint
          Stores the last ObjRelationship in the prefetch path.
 

Methods in org.apache.cayenne.query that return ObjRelationship
 ObjRelationship PrefetchSelectQuery.getLastPrefetchHint()
          Retunrs last incoming ObjRelationship in the prefetch relationship chain.
 ObjRelationship RelationshipQuery.getRelationship(EntityResolver resolver)
          Returns a non-null relationship object for this query.
 

Methods in org.apache.cayenne.query with parameters of type ObjRelationship
 void PrefetchSelectQuery.setLastPrefetchHint(ObjRelationship relationship)
           
 

Constructors in org.apache.cayenne.query with parameters of type ObjRelationship
PrefetchSelectQuery(SelectQuery parentQuery, String prefetchPath, ObjRelationship lastPrefetchHint)
          Creates a new disjoint prefetch select query.
 

Uses of ObjRelationship in org.apache.cayenne.reflect
 

Fields in org.apache.cayenne.reflect declared as ObjRelationship
protected  ObjRelationship BaseArcProperty.relationship
           
 

Methods in org.apache.cayenne.reflect that return ObjRelationship
 ObjRelationship ArcProperty.getRelationship()
          Returns a relationship associated with this arc.
 ObjRelationship BaseArcProperty.getRelationship()
           
 

Methods in org.apache.cayenne.reflect with parameters of type ObjRelationship
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)
           
 

Uses of ObjRelationship in org.apache.cayenne.reflect.generic
 

Methods in org.apache.cayenne.reflect.generic with parameters of type ObjRelationship
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)
           
 

Uses of ObjRelationship in org.apache.cayenne.reflect.pojo
 

Methods in org.apache.cayenne.reflect.pojo with parameters of type ObjRelationship
protected  void EnhancedPojoDescriptorFactory.createToManyCollectionProperty(PersistentDescriptor descriptor, ObjRelationship relationship)
           
protected  void EnhancedPojoDescriptorFactory.createToManyListProperty(PersistentDescriptor descriptor, ObjRelationship relationship)
           
protected  void EnhancedPojoDescriptorFactory.createToManyMapProperty(PersistentDescriptor descriptor, ObjRelationship relationship)
           
protected  void EnhancedPojoDescriptorFactory.createToManySetProperty(PersistentDescriptor descriptor, ObjRelationship relationship)
           
protected  void EnhancedPojoDescriptorFactory.createToOneProperty(PersistentDescriptor descriptor, ObjRelationship relationship)
           
 

Uses of ObjRelationship in org.apache.cayenne.reflect.valueholder
 

Methods in org.apache.cayenne.reflect.valueholder with parameters of type ObjRelationship
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)
           
 

Uses of ObjRelationship in org.apache.cayenne.util
 

Methods in org.apache.cayenne.util with parameters of type ObjRelationship
protected  void EntityMergeSupport.fireRelationshipAdded(ObjRelationship rel)
          Notifies all listeners that an ObjRelationship was added
 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-2011 Apache Cayenne. All Rights Reserved.