Uses of Class
org.apache.cayenne.map.DbRelationship
Packages that use DbRelationship
Package
Description
Contains persistence APIs directly accessible by users.
Contains database adapter API (DbAdapter) and its default implementation.
HSQLDB DbAdapter.
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 DbRelationshipModifier and TypeMethodDescriptionDataRow.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 DbRelationshipModifier and TypeMethodDescriptionprotected 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 DbRelationshipModifier and TypeMethodDescriptionprotected voidEJBQLDbPathTranslator.processTerminatingRelationship(DbRelationship relationship) -
Uses of DbRelationship in org.apache.cayenne.ashwood
Fields in org.apache.cayenne.ashwood with type parameters of type DbRelationshipModifier and TypeFieldDescriptionprotected Map<DbEntity, List<DbRelationship>> AshwoodEntitySorter.reflexiveDbEntities -
Uses of DbRelationship in org.apache.cayenne.configuration
Methods in org.apache.cayenne.configuration with parameters of type DbRelationshipModifier and TypeMethodDescriptionBaseConfigurationNodeVisitor.visitDbRelationship(DbRelationship relationship) ConfigurationNodeVisitor.visitDbRelationship(DbRelationship relationship) EmptyConfigurationNodeVisitor.visitDbRelationship(DbRelationship relationship) -
Uses of DbRelationship in org.apache.cayenne.configuration.xml
Methods in org.apache.cayenne.configuration.xml that return DbRelationship -
Uses of DbRelationship in org.apache.cayenne.dba
Methods in org.apache.cayenne.dba with parameters of type DbRelationshipModifier and TypeMethodDescriptionAutoAdapter.createFkConstraint(DbRelationship rel) DbAdapter.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.JdbcAdapter.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 DbRelationshipModifier and TypeMethodDescriptionHSQLDBAdapter.createFkConstraint(DbRelationship rel) Adds an ADD CONSTRAINT clause to a relationship constraint. -
Uses of DbRelationship in org.apache.cayenne.dba.sqlite
Methods in org.apache.cayenne.dba.sqlite with parameters of type DbRelationship -
Uses of DbRelationship in org.apache.cayenne.ejbql
Methods in org.apache.cayenne.ejbql that return types with arguments of type DbRelationshipModifier and TypeMethodDescriptionEJBQLCompiledExpression.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 DbRelationshipFields in org.apache.cayenne.map with type parameters of type DbRelationshipMethods in org.apache.cayenne.map that return DbRelationshipModifier and TypeMethodDescriptionDbRelationship.createReverseRelationship()Creates a new relationship with the same set of joins, but going in the opposite direction.DbJoin.getRelationship()DbRelationship.getReverseRelationship()Returns DbRelationship that is the opposite of this DbRelationship.Methods in org.apache.cayenne.map that return types with arguments of type DbRelationshipModifier and TypeMethodDescriptionObjRelationship.getDbRelationships()Returns an immutable list of underlying DbRelationships.DbEntity.resolvePath(Expression pathExp, Map<String, String> aliasMap) Returns an Iterable instance over expression path components based on this entity.Methods in org.apache.cayenne.map with parameters of type DbRelationshipModifier and TypeMethodDescriptionvoidObjRelationship.addDbRelationship(DbRelationship dbRel) Appends a DbRelationship to the existing list of DbRelationships.ObjEntity.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 DbRelationshipModifierConstructorDescriptionDbJoin(DbRelationship relationship) DbJoin(DbRelationship relationship, String sourceName, String targetName)