Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
org.apache.cayenne.map.Entity

Packages that use Entity
org.apache.cayenne.exp.parser | Contains expression parser and other expression internals.
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.util | General utility classes.

Uses of Entity in org.apache.cayenne.exp.parser

Methods in org.apache.cayenne.exp.parser with parameters of type Entity
`protected CayenneMapEntry` | `ASTPath.evaluateEntityNode(Entity entity)` Helper method to evaluate path expression with Cayenne Entity.

Uses of Entity in org.apache.cayenne.map

Subclasses of Entity in org.apache.cayenne.map
`class` | `DbEntity` A DbEntity is a mapping descriptor that defines a structure of a database table.
`class` | `DetectedDbEntity` A `DbEntity` subclass used to hold extra JDBC metadata.
`class` | `ObjEntity` ObjEntity is a mapping descriptor for a DataObject Java class.

Fields in org.apache.cayenne.map declared as Entity
`protected Entity` | `Attribute.entity`
`protected Entity` | `Relationship.sourceEntity`

Methods in org.apache.cayenne.map that return Entity
`Entity` | `Attribute.getEntity()` Returns parent entity that holds this attribute.
`Entity` | `Relationship.getSourceEntity()` Returns relationship source entity.
`Entity` | `DbRelationship.getTargetEntity()` Returns a target of this relationship.
`Entity` | `ObjRelationship.getTargetEntity()` Returns a target ObjEntity of this relationship.
`abstract Entity` | `Relationship.getTargetEntity()` Returns a target entity of the relationship.

Methods in org.apache.cayenne.map with parameters of type Entity
`Relationship` | `Entity.getAnyRelationship(Entity targetEntity)` Returns a relationship that has a specified entity as a target.
`void` | `Attribute.setEntity(Entity entity)` Sets parent entity that holds this attribute.
`void` | `Relationship.setSourceEntity(Entity sourceEntity)` Sets relationship source entity.
`void` | `Relationship.setTargetEntity(Entity targetEntity)` Sets relationship target entity.

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

Fields in org.apache.cayenne.map.event declared as Entity
`protected Entity` | `EntityEvent.entity`

Methods in org.apache.cayenne.map.event that return Entity
`Entity` | `EntityEvent.getEntity()` Returns entity object associated with this event.

Methods in org.apache.cayenne.map.event with parameters of type Entity
`void` | `EntityEvent.setEntity(Entity entity)` Sets the entity.

Constructors in org.apache.cayenne.map.event with parameters of type Entity
`AttributeEvent(Object src, Attribute attr, Entity entity)` Creates a Attribute change event.
`AttributeEvent(Object src, Attribute attr, Entity entity, int id)` Creates a Attribute event of a specified type.
`AttributeEvent(Object src, Attribute attr, Entity entity, String oldName)` Creates a Attribute name change event.
`EntityEvent(Object src, Entity entity)` Creates a Entity change event.
`EntityEvent(Object src, Entity entity, int id)` Creates a Entity event of a specified type.
`EntityEvent(Object src, Entity entity, String oldName)` Creates a Entity name change event.
`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 Entity in org.apache.cayenne.util

Methods in org.apache.cayenne.util with parameters of type Entity
`static Relationship` | `NamedObjectFactory.createRelationship(Entity srcEnt, Entity targetEnt, boolean toMany)` Creates a relationship using an appropriate factory class.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

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