Uses of Class
org.apache.cayenne.map.Relationship
-
Packages that use Relationship Package Description 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 -
-
Uses of Relationship in org.apache.cayenne.map
Classes in org.apache.cayenne.map with type parameters of type Relationship Modifier and Type Interface Description interfacePathComponent<T extends Attribute,U extends Relationship>A component in a path chain.Subclasses of Relationship in org.apache.cayenne.map Modifier and Type Class Description classDbRelationshipA DbRelationship is a descriptor of a database inter-table relationship based on one or more primary key/foreign key pairs.classObjRelationshipDescribes an association between two Java classes mapped as source and target ObjEntity.Fields in org.apache.cayenne.map with type parameters of type Relationship Modifier and Type Field Description protected Map<String,Relationship>Entity. relationshipsMethods in org.apache.cayenne.map with type parameters of type Relationship Modifier and Type Method Description <T extends Attribute,U extends Relationship>
PathComponent<T,U>Entity. lastPathComponent(Expression path, Map aliasMap)Convenience method returning the last component in the path iterator.abstract <T extends Attribute,U extends Relationship>
Iterable<PathComponent<T,U>>Entity. resolvePath(Expression pathExp, Map aliasMap)Returns an Iterable over the path components with elements represented asPathComponentinstances, encapsulating a relationship, an attribute or a subpath alias.Methods in org.apache.cayenne.map that return Relationship Modifier and Type Method Description RelationshipEntity. getAnyRelationship(Entity targetEntity)Returns a relationship that has a specified entity as a target.RelationshipEntity. getRelationship(String relName)Returns relationship with namerelName.abstract RelationshipRelationship. getReverseRelationship()Returns a "complimentary" relationship going in the opposite direction.Methods in org.apache.cayenne.map that return types with arguments of type Relationship Modifier and Type Method Description Map<String,? extends Relationship>Entity. getRelationshipMap()Returns an unmodifiable map of relationships sorted by name.Collection<? extends Relationship>Entity. getRelationships()Returns an unmodifiable collection of Relationships that exist in this entity.Methods in org.apache.cayenne.map with parameters of type Relationship Modifier and Type Method Description voidEntity. 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 Modifier and Type Field Description protected RelationshipRelationshipEvent. relationshipMethods in org.apache.cayenne.map.event that return Relationship Modifier and Type Method Description RelationshipRelationshipEvent. getRelationship()Returns relationship associated with this event.Methods in org.apache.cayenne.map.event with parameters of type Relationship Modifier and Type Method Description voidRelationshipEvent. setRelationship(Relationship relationship)Sets relationship associated with this event.Constructors in org.apache.cayenne.map.event with parameters of type Relationship Constructor Description 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.
-