Uses of Class
org.apache.cayenne.map.Relationship

Packages that use Relationship
org.apache.cayenne.map Contains O/R mapping classes that store relational database metadata information and map it to Java classes. 
org.apache.cayenne.map.event   
org.apache.cayenne.project Contains model classes used by CayenneModeler or any other MVC type of application to work with Cayenne project files. 
 

Uses of Relationship in org.apache.cayenne.map
 

Subclasses of Relationship in org.apache.cayenne.map
 class DbRelationship
          A DbRelationship is a descriptor of a database inter-table relationship based on one or more primary key/foreign key pairs.
 class ObjRelationship
          Describes navigational association between two Java classes, represented as source and target ObjEntity.
 

Methods in org.apache.cayenne.map that return Relationship
 Relationship Entity.getAnyRelationship(Entity targetEntity)
          Returns a relationship that has a specified entity as a target.
 Relationship Entity.getRelationship(String relName)
          Returns relationship with name relName.
 Relationship ObjEntity.getRelationship(String name)
          Returns a named Relationship that either belongs to this ObjEntity or is inherited.
 

Methods in org.apache.cayenne.map with parameters of type Relationship
 void Entity.addRelationship(Relationship relationship)
          Adds new relationship to the entity.
 

Uses of Relationship in org.apache.cayenne.map.event
 

Fields in org.apache.cayenne.map.event declared as Relationship
protected  Relationship RelationshipEvent.relationship
           
 

Methods in org.apache.cayenne.map.event that return Relationship
 Relationship RelationshipEvent.getRelationship()
          Returns relationship associated with this event.
 

Methods in org.apache.cayenne.map.event with parameters of type Relationship
 void RelationshipEvent.setRelationship(Relationship relationship)
          Sets relationship associated with this event.
 

Constructors in org.apache.cayenne.map.event with parameters of type Relationship
RelationshipEvent(Object src, Relationship rel, Entity entity)
          Creates a Relationship change event.
RelationshipEvent(Object src, Relationship rel, Entity entity, int id)
          Creates a Relationship event of a specified type.
RelationshipEvent(Object src, Relationship rel, Entity entity, String oldName)
          Creates a Relationship name change event.
 

Uses of Relationship in org.apache.cayenne.project
 

Methods in org.apache.cayenne.project that return Relationship
static Relationship NamedObjectFactory.createRelationship(Entity srcEnt, Entity targetEnt, boolean toMany)
          Creates a relationship using an appropriate factory class.
 



Copyright © 2001-2007 Apache Cayenne. All Rights Reserved.