|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use DbRelationship | |
---|---|
org.apache.cayenne | Contains persistence APIs directly accessible by users. |
org.apache.cayenne.access | Contains classes that make up Cayenne ORM stack. |
org.apache.cayenne.access.trans | Provides translators for Cayenne queries. |
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.map | Contains O/R mapping classes that store relational database metadata information and map it to Java classes. |
org.apache.cayenne.project.validator |
Uses of DbRelationship in org.apache.cayenne |
---|
Methods in org.apache.cayenne with parameters of type DbRelationship | |
---|---|
ObjectId |
DataRow.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 |
---|
Methods in org.apache.cayenne.access with parameters of type DbRelationship | |
---|---|
protected void |
DbLoader.postprocessMasterDbRelationship(DbRelationship relationship)
Detects correct relationship multiplicity and "to dep pk" flag. |
Uses of DbRelationship in org.apache.cayenne.access.trans |
---|
Fields in org.apache.cayenne.access.trans declared as DbRelationship | |
---|---|
protected DbRelationship |
DataObjectMatchTranslator.relationship
|
Methods in org.apache.cayenne.access.trans that return DbRelationship | |
---|---|
DbRelationship |
DataObjectMatchTranslator.getRelationship()
|
Methods in org.apache.cayenne.access.trans with parameters of type DbRelationship | |
---|---|
String |
QueryAssembler.aliasForTable(DbEntity ent,
DbRelationship rel)
|
String |
SelectTranslator.aliasForTable(DbEntity ent,
DbRelationship rel)
|
void |
DeleteTranslator.dbRelationshipAdded(DbRelationship dbRel)
|
abstract void |
QueryAssembler.dbRelationshipAdded(DbRelationship dbRel)
Processes a join being added. |
void |
SelectTranslator.dbRelationshipAdded(DbRelationship rel)
Stores a new relationship in an internal list. |
void |
UpdateTranslator.dbRelationshipAdded(DbRelationship dbRel)
|
protected void |
QueryAssemblerHelper.processColumn(StringBuffer buf,
DbAttribute dbAttr,
DbRelationship relationship)
|
protected void |
TrimmingQualifierTranslator.processColumn(StringBuffer buf,
DbAttribute dbAttr,
DbRelationship rel)
Adds special handling of CHAR columns. |
protected void |
QualifierTranslator.processRelTermination(StringBuffer buf,
DbRelationship rel)
|
protected void |
QueryAssemblerHelper.processRelTermination(StringBuffer buf,
DbRelationship rel)
Handles case when a DB_NAME expression ends with relationship. |
void |
DataObjectMatchTranslator.setRelationship(DbRelationship rel)
Initializes itself to do translation of the match ending with a DbRelationship. |
Uses of DbRelationship in org.apache.cayenne.dba |
---|
Methods in org.apache.cayenne.dba with parameters of type DbRelationship | |
---|---|
String |
AutoAdapter.createFkConstraint(DbRelationship rel)
|
String |
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. |
String |
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 DbRelationship | |
---|---|
String |
HSQLDBAdapter.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 | |
---|---|
String |
OpenBaseAdapter.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.map |
---|
Fields in org.apache.cayenne.map declared as DbRelationship | |
---|---|
protected DbRelationship |
DbJoin.relationship
|
Methods in org.apache.cayenne.map that return DbRelationship | |
---|---|
DbRelationship |
DbRelationship.createReverseRelationship()
Creates a new relationship with the same set of joins, but going in the opposite direction. |
DbRelationship |
DbJoin.getRelationship()
|
DbRelationship |
DbRelationship.getReverseRelationship()
Returns DbRelationship that is the opposite of this DbRelationship. |
Methods in org.apache.cayenne.map with parameters of type DbRelationship | |
---|---|
void |
ObjRelationship.addDbRelationship(DbRelationship dbRel)
Appends a DbRelationship to the existing list of DbRelationships. |
ObjRelationship |
ObjEntity.getRelationshipForDbRelationship(DbRelationship dbRelationship)
Returns ObjRelationship of this entity that maps to dbRelationship
parameter. |
void |
ObjRelationship.removeDbRelationship(DbRelationship dbRel)
Removes the relationship dbRel from the list of relationships. |
void |
DbJoin.setRelationship(DbRelationship relationship)
|
Constructors in org.apache.cayenne.map with parameters of type DbRelationship | |
---|---|
DbJoin(DbRelationship relationship)
|
|
DbJoin(DbRelationship relationship,
String sourceName,
String targetName)
|
Uses of DbRelationship in org.apache.cayenne.project.validator |
---|
Methods in org.apache.cayenne.project.validator with parameters of type DbRelationship | |
---|---|
String |
DbRelationshipValidator.dbRelationshipIdentifier(DbRelationship rel)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |