Uses of Class
org.apache.cayenne.map.Entity
Package
Description
Contains database adapter API (DbAdapter) and its default implementation.
Contains expression parser and other expression internals.
Contains O/R mapping classes that store relational database
metadata information and map it to Java classes.
-
Uses of Entity in org.apache.cayenne.dba
Modifier and TypeMethodDescriptiondefault void
QuotingStrategy.quotedIdentifier
(Entity entity, CharSequence identifier, Appendable appender) Append quoted identifier to provided appenderdefault String
QuotingStrategy.quotedIdentifier
(Entity entity, String... identifierParts) -
Uses of Entity in org.apache.cayenne.exp.parser
Modifier and TypeMethodDescriptionprotected CayenneMapEntry
ASTDbIdPath.evaluateEntityNode
(Entity entity) protected CayenneMapEntry
ASTDbPath.evaluateEntityNode
(Entity entity) Helper method to evaluate path expression with Cayenne Entity.protected CayenneMapEntry
ASTPath.evaluateEntityNode
(Entity entity) Helper method to evaluate path expression with Cayenne Entity. -
Uses of Entity in org.apache.cayenne.map
Modifier and TypeClassDescriptionclass
A DbEntity is a mapping descriptor that defines a structure of a database table.class
ObjEntity is a mapping descriptor for a DataObject Java class.Modifier and TypeFieldDescriptionprotected Entity
Attribute.entity
protected Entity
Relationship.sourceEntity
Modifier and TypeMethodDescriptionAttribute.getEntity()
Returns parent entity that holds this attribute.Relationship.getSourceEntity()
Returns relationship source entity.abstract Entity
Relationship.getTargetEntity()
Returns a target entity of the relationship.Modifier and TypeMethodDescriptionEntity.getAnyRelationship
(Entity targetEntity) Returns a relationship that has a specified entity as a target.void
Sets parent entity that holds this attribute.void
Relationship.setSourceEntity
(Entity sourceEntity) Sets relationship source entity.void
Relationship.setTargetEntityName
(Entity targetEntity) Sets relationship target entity. -
Uses of Entity in org.apache.cayenne.map.event
Modifier and TypeMethodDescriptionEntityEvent.getEntity()
Returns entity object associated with this event.ModifierConstructorDescriptionAttributeEvent
(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.