Uses of Class
org.apache.cayenne.map.Relationship
Packages that use Relationship
Package
Description
Contains O/R mapping classes that store relational database
metadata information and map it to Java classes.
-
Uses of Relationship in org.apache.cayenne.map
Classes in org.apache.cayenne.map with type parameters of type RelationshipModifier and TypeClassDescriptionclassAttribute<E extends Entity<E,A, R>, A extends Attribute<E, A, R>, R extends Relationship<E, A, R>> Defines a property descriptor that is a part of an Entity.classEntity<E extends Entity<E,A, R>, A extends Attribute<E, A, R>, R extends Relationship<E, A, R>> An Entity is an abstract descriptor for an entity mapping concept.interfacePathComponent<A extends Attribute,R extends Relationship> A component in a path chain.classRelationship<E extends Entity<E,A, R>, A extends Attribute<E, A, R>, R extends Relationship<E, A, R>> Defines a relationship between two entities.Subclasses of Relationship in org.apache.cayenne.mapModifier and TypeClassDescriptionclassA DbRelationship is a descriptor of a database inter-table relationship based on one or more primary key/foreign key pairs.classDescribes an association between two Java classes mapped as source and target ObjEntity.Methods in org.apache.cayenne.map that return RelationshipModifier and TypeMethodDescriptionabstract Relationship<E, A, R> Relationship.getReverseRelationship()Returns a "complimentary" relationship going in the opposite direction. -
Uses of Relationship in org.apache.cayenne.map.event
Fields in org.apache.cayenne.map.event declared as RelationshipMethods in org.apache.cayenne.map.event that return RelationshipModifier and TypeMethodDescriptionRelationship<?, ?, ?> RelationshipEvent.getRelationship()Returns relationship associated with this event.Methods in org.apache.cayenne.map.event with parameters of type RelationshipModifier and TypeMethodDescriptionvoidRelationshipEvent.setRelationship(Relationship<?, ?, ?> relationship) Sets relationship associated with this event.Constructors in org.apache.cayenne.map.event with parameters of type RelationshipModifierConstructorDescriptionRelationshipEvent(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.