Uses of Class
org.apache.cayenne.map.DbRelationship
Packages that use DbRelationship
Package
Description
-
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.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.map
Subclasses with type arguments of type DbRelationship in org.apache.cayenne.mapModifier and TypeClassDescriptionclassA DbAttribute defines a descriptor for a single database table column.classA DbEntity is a mapping descriptor that defines a structure of a database table.classA DbRelationship is a descriptor of a database inter-table relationship based on one or more primary key/foreign key pairs.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.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.voidDbEntity.renameRelationship(DbRelationship rel, String newName) Renames a relationship owned by this entity, re-keying the relationship map and refreshing dependent ObjAttribute db-paths across the parentDataMap.voidDbJoin.setRelationship(DbRelationship relationship) Constructors in org.apache.cayenne.map with parameters of type DbRelationshipModifierConstructorDescriptionDbJoin(DbRelationship relationship) DbJoin(DbRelationship relationship, String sourceName, String targetName) -
Uses of DbRelationship in org.apache.cayenne.project
Methods in org.apache.cayenne.project with parameters of type DbRelationshipModifier and TypeMethodDescriptionBaseProjectNodeVisitor.visitDbRelationship(DbRelationship relationship) EmptyProjectNodeVisitor.visitDbRelationship(DbRelationship relationship) ProjectNodeVisitor.visitDbRelationship(DbRelationship relationship) -
Uses of DbRelationship in org.apache.cayenne.project.xml
Methods in org.apache.cayenne.project.xml that return DbRelationship