Uses of Class
org.apache.cayenne.map.ObjRelationship
-
Packages that use ObjRelationship 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.configuration.xml 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. -
-
Uses of ObjRelationship in org.apache.cayenne.access.translator.ejbql
Methods in org.apache.cayenne.access.translator.ejbql with parameters of type ObjRelationship Modifier and Type Method Description protected DbRelationshipEJBQLPathTranslator. chooseDbRelationship(ObjRelationship relationship)Checks if the object relationship is flattened and then chooses the corresponding db relationship.protected voidEJBQLPathTranslator. processTerminatingRelationship(ObjRelationship relationship) -
Uses of ObjRelationship in org.apache.cayenne.access.translator.select
Methods in org.apache.cayenne.access.translator.select with parameters of type ObjRelationship Modifier and Type Method Description protected voidQueryAssemblerHelper. processRelTermination(ObjRelationship rel, JoinType joinType, String joinSplitAlias)Processes case when an OBJ_PATH expression ends with relationship. -
Uses of ObjRelationship in org.apache.cayenne.ashwood
Methods in org.apache.cayenne.ashwood with parameters of type ObjRelationship Modifier and Type Method Description protected ObjectAshwoodEntitySorter. findReflexiveMaster(Persistent object, ObjRelationship toOneRel, String targetEntityName) -
Uses of ObjRelationship in org.apache.cayenne.configuration
Methods in org.apache.cayenne.configuration with parameters of type ObjRelationship Modifier and Type Method Description TBaseConfigurationNodeVisitor. visitObjRelationship(ObjRelationship relationship)TConfigurationNodeVisitor. visitObjRelationship(ObjRelationship relationship)VoidEmptyConfigurationNodeVisitor. visitObjRelationship(ObjRelationship relationship) -
Uses of ObjRelationship in org.apache.cayenne.configuration.xml
Methods in org.apache.cayenne.configuration.xml that return ObjRelationship Modifier and Type Method Description ObjRelationshipObjRelationshipHandler. getObjRelationship() -
Uses of ObjRelationship in org.apache.cayenne.map
Methods in org.apache.cayenne.map that return ObjRelationship Modifier and Type Method Description ObjRelationshipObjRelationship. createReverseRelationship()Creates a complimentary reverse relationship from target entity to the source entity.ObjRelationshipObjRelationship. getClientRelationship()Returns an ObjAttribute stripped of any server-side information, such as DbAttribute mapping.ObjRelationshipObjEntity. getRelationship(String name)Returns a named Relationship that either belongs to this ObjEntity or is inherited.ObjRelationshipObjEntity. getRelationshipForDbRelationship(DbRelationship dbRelationship)Returns ObjRelationship of this entity that maps todbRelationshipparameter.ObjRelationshipObjRelationship. getReverseRelationship()Returns a "complimentary" ObjRelationship going in the opposite direction.Methods in org.apache.cayenne.map that return types with arguments of type ObjRelationship Modifier and Type Method Description Collection<ObjRelationship>EntityInheritanceTree. allRelationships()Collection<ObjRelationship>ObjEntity. getDeclaredRelationships()Returns a Collection of all relationships that belong to this ObjEntity, excluding inherited attributes.Map<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.Method parameters in org.apache.cayenne.map with type arguments of type ObjRelationship Modifier and Type Method Description protected voidEntityInheritanceTree. appendDeclaredRelationships(Collection<ObjRelationship> c) -
Uses of ObjRelationship in org.apache.cayenne.query
Fields in org.apache.cayenne.query declared as ObjRelationship Modifier and Type Field Description protected ObjRelationshipPrefetchSelectQuery. lastPrefetchHintStores the last ObjRelationship in the prefetch path.Methods in org.apache.cayenne.query that return ObjRelationship Modifier and Type Method Description ObjRelationshipPrefetchSelectQuery. getLastPrefetchHint()Returns last incoming ObjRelationship in the prefetch relationship chain.ObjRelationshipRelationshipQuery. getRelationship(EntityResolver resolver)Returns a non-null relationship object for this query.Methods in org.apache.cayenne.query with parameters of type ObjRelationship Modifier and Type Method Description voidPrefetchSelectQuery. setLastPrefetchHint(ObjRelationship relationship)Constructors in org.apache.cayenne.query with parameters of type ObjRelationship Constructor Description PrefetchSelectQuery(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 Modifier and Type Field Description protected ObjRelationshipBaseArcProperty. relationshipMethods in org.apache.cayenne.reflect that return ObjRelationship Modifier and Type Method Description ObjRelationshipArcProperty. getRelationship()Returns a relationship associated with this arc.ObjRelationshipBaseArcProperty. getRelationship()Methods in org.apache.cayenne.reflect with parameters of type ObjRelationship Modifier and Type Method Description protected AccessorPersistentDescriptorFactory. createMapKeyAccessor(ObjRelationship relationship, ClassDescriptor targetDescriptor)Creates an accessor to read a map key for a given relationship.protected abstract voidPersistentDescriptorFactory. createToManyCollectionProperty(PersistentDescriptor descriptor, ObjRelationship relationship)protected abstract voidPersistentDescriptorFactory. createToManyListProperty(PersistentDescriptor descriptor, ObjRelationship relationship)protected abstract voidPersistentDescriptorFactory. createToManyMapProperty(PersistentDescriptor descriptor, ObjRelationship relationship)protected abstract voidPersistentDescriptorFactory. createToManySetProperty(PersistentDescriptor descriptor, ObjRelationship relationship)protected abstract voidPersistentDescriptorFactory. 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 Modifier and Type Method Description protected voidDataObjectDescriptorFactory. createToManyCollectionProperty(PersistentDescriptor descriptor, ObjRelationship relationship)protected voidDataObjectDescriptorFactory. createToManyListProperty(PersistentDescriptor descriptor, ObjRelationship relationship)protected voidDataObjectDescriptorFactory. createToManyMapProperty(PersistentDescriptor descriptor, ObjRelationship relationship)protected voidDataObjectDescriptorFactory. createToManySetProperty(PersistentDescriptor descriptor, ObjRelationship relationship)protected voidDataObjectDescriptorFactory. 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 Modifier and Type Method Description protected voidValueHolderDescriptorFactory. createToManyCollectionProperty(PersistentDescriptor descriptor, ObjRelationship relationship)protected voidValueHolderDescriptorFactory. createToManyListProperty(PersistentDescriptor descriptor, ObjRelationship relationship)protected voidValueHolderDescriptorFactory. createToManyMapProperty(PersistentDescriptor descriptor, ObjRelationship relationship)protected voidValueHolderDescriptorFactory. createToManySetProperty(PersistentDescriptor descriptor, ObjRelationship relationship)protected voidValueHolderDescriptorFactory. createToOneProperty(PersistentDescriptor descriptor, ObjRelationship relationship) -
Uses of ObjRelationship in org.apache.cayenne.util
Methods in org.apache.cayenne.util with parameters of type ObjRelationship Modifier and Type Method Description voidDeleteRuleUpdater. objRelationshipAdded(ObjRelationship rel)voidEntityMergeListener. objRelationshipAdded(ObjRelationship rel)Invoked when a missing relationship in ObjEntity is completed from DbEntitystatic voidDeleteRuleUpdater. updateObjRelationship(ObjRelationship rel)Updates delete rules for specified relationship
-