Uses of Class
org.apache.cayenne.map.DbRelationship
-
Packages that use DbRelationship Package Description org.apache.cayenne Contains persistence APIs directly accessible by users.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.dba Contains database adapter API (DbAdapter) and its default implementation.org.apache.cayenne.dba.hsqldb HSQLDB DbAdapter.org.apache.cayenne.dba.openbase OpenBase DbAdapter.org.apache.cayenne.dba.sqlite org.apache.cayenne.ejbql org.apache.cayenne.map Contains O/R mapping classes that store relational database metadata information and map it to Java classes. -
-
Uses of DbRelationship in org.apache.cayenne
Methods in org.apache.cayenne with parameters of type DbRelationship Modifier and Type Method Description ObjectIdDataRow. createTargetObjectId(String entityName, DbRelationship relationship)Returns an ObjectId of an object on the other side of the to-one relationship, for this DataRow representing a source of relationship. -
Uses of DbRelationship in org.apache.cayenne.access.translator.ejbql
Methods in org.apache.cayenne.access.translator.ejbql that return DbRelationship Modifier and Type Method Description protected DbRelationshipEJBQLPathTranslator. chooseDbRelationship(ObjRelationship relationship)Checks if the object relationship is flattened and then chooses the corresponding db relationship.Methods in org.apache.cayenne.access.translator.ejbql with parameters of type DbRelationship Modifier and Type Method Description protected voidEJBQLDbPathTranslator. processTerminatingRelationship(DbRelationship relationship) -
Uses of DbRelationship in org.apache.cayenne.access.translator.select
Fields in org.apache.cayenne.access.translator.select declared as DbRelationship Modifier and Type Field Description protected DbRelationshipDataObjectMatchTranslator. relationshipMethods in org.apache.cayenne.access.translator.select that return DbRelationship Modifier and Type Method Description DbRelationshipDataObjectMatchTranslator. getRelationship()DbRelationshipJoinTreeNode. getRelationship()Methods in org.apache.cayenne.access.translator.select with parameters of type DbRelationship Modifier and Type Method Description voidDefaultSelectTranslator. dbRelationshipAdded(DbRelationship relationship, JoinType joinType, String joinSplitAlias)abstract voidQueryAssembler. dbRelationshipAdded(DbRelationship relationship, JoinType joinType, String joinSplitAlias)Appends a join with given semantics to the query.protected voidQualifierTranslator. processRelTermination(DbRelationship rel, JoinType joinType, String joinSplitAlias)protected voidQueryAssemblerHelper. processRelTermination(DbRelationship rel, JoinType joinType, String joinSplitAlias)Handles case when a DB_NAME expression ends with relationship.voidDataObjectMatchTranslator. setRelationship(DbRelationship rel, String joinSplitAlias)Initializes itself to do translation of the match ending with a DbRelationship. -
Uses of DbRelationship in org.apache.cayenne.ashwood
Fields in org.apache.cayenne.ashwood with type parameters of type DbRelationship Modifier and Type Field Description protected Map<DbEntity,List<DbRelationship>>AshwoodEntitySorter. reflexiveDbEntities -
Uses of DbRelationship in org.apache.cayenne.configuration
Methods in org.apache.cayenne.configuration with parameters of type DbRelationship Modifier and Type Method Description TBaseConfigurationNodeVisitor. visitDbRelationship(DbRelationship relationship)TConfigurationNodeVisitor. visitDbRelationship(DbRelationship relationship)VoidEmptyConfigurationNodeVisitor. visitDbRelationship(DbRelationship relationship) -
Uses of DbRelationship in org.apache.cayenne.configuration.xml
Methods in org.apache.cayenne.configuration.xml that return DbRelationship Modifier and Type Method Description DbRelationshipDbRelationshipHandler. getDbRelationship() -
Uses of DbRelationship in org.apache.cayenne.dba
Methods in org.apache.cayenne.dba with parameters of type DbRelationship Modifier and Type Method Description StringAutoAdapter. createFkConstraint(DbRelationship rel)StringDbAdapter. createFkConstraint(DbRelationship rel)Returns a SQL string that can be used to create a foreign key constraint for the relationship, or null if foreign keys are not supported.StringJdbcAdapter. createFkConstraint(DbRelationship rel)Returns a SQL string that can be used to create a foreign key constraint for the relationship. -
Uses of DbRelationship in org.apache.cayenne.dba.hsqldb
Methods in org.apache.cayenne.dba.hsqldb with parameters of type DbRelationship Modifier and Type Method Description StringHSQLDBAdapter. createFkConstraint(DbRelationship rel)Adds an ADD CONSTRAINT clause to a relationship constraint. -
Uses of DbRelationship in org.apache.cayenne.dba.openbase
Methods in org.apache.cayenne.dba.openbase with parameters of type DbRelationship Modifier and Type Method Description StringOpenBaseAdapter. createFkConstraint(DbRelationship rel)Returns a SQL string that can be used to create a foreign key constraint for the relationship. -
Uses of DbRelationship in org.apache.cayenne.dba.sqlite
Methods in org.apache.cayenne.dba.sqlite with parameters of type DbRelationship Modifier and Type Method Description StringSQLiteAdapter. createFkConstraint(DbRelationship rel) -
Uses of DbRelationship in org.apache.cayenne.ejbql
Methods in org.apache.cayenne.ejbql that return types with arguments of type DbRelationship Modifier and Type Method Description List<DbRelationship>EJBQLCompiledExpression. getIncomingRelationships(String identifier)Returns a collection of relationships that joins identifier with a parent entity. -
Uses of DbRelationship in org.apache.cayenne.map
Fields in org.apache.cayenne.map declared as DbRelationship Modifier and Type Field Description protected DbRelationshipDbJoin. relationshipFields in org.apache.cayenne.map with type parameters of type DbRelationship Modifier and Type Field Description protected List<DbRelationship>ObjRelationship. dbRelationshipsMethods in org.apache.cayenne.map that return DbRelationship Modifier and Type Method Description DbRelationshipDbRelationship. createReverseRelationship()Creates a new relationship with the same set of joins, but going in the opposite direction.DbRelationshipDbEntity. getRelationship(String relName)DbRelationshipDbJoin. getRelationship()DbRelationshipDbRelationship. getReverseRelationship()Returns DbRelationship that is the opposite of this DbRelationship.Methods in org.apache.cayenne.map that return types with arguments of type DbRelationship Modifier and Type Method Description List<DbRelationship>ObjRelationship. getDbRelationships()Returns an immutable list of underlying DbRelationships.Map<String,DbRelationship>DbEntity. getRelationshipMap()Collection<DbRelationship>DbEntity. getRelationships()Returns a Collection of relationships from this entity or inherited.PathComponent<DbAttribute,DbRelationship>DbEntity. lastPathComponent(Expression path, Map aliasMap)Iterable<PathComponent<DbAttribute,DbRelationship>>DbEntity. 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 DbRelationship Modifier and Type Method Description voidObjRelationship. addDbRelationship(DbRelationship dbRel)Appends a DbRelationship to the existing list of DbRelationships.ObjRelationshipObjEntity. getRelationshipForDbRelationship(DbRelationship dbRelationship)Returns ObjRelationship of this entity that maps todbRelationshipparameter.voidObjRelationship. removeDbRelationship(DbRelationship dbRel)Removes the relationshipdbRelfrom the list of relationships.voidDbJoin. setRelationship(DbRelationship relationship)Constructors in org.apache.cayenne.map with parameters of type DbRelationship Constructor Description DbJoin(DbRelationship relationship)DbJoin(DbRelationship relationship, String sourceName, String targetName)
-