Package | Description |
---|---|
org.apache.cayenne.dba |
Contains database adapter API (DbAdapter) and its default implementation.
|
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 |
Modifier and Type | Method and Description |
---|---|
String |
DefaultQuotingStrategy.quotedIdentifier(Entity entity,
String... identifierParts) |
String |
QuotingStrategy.quotedIdentifier(Entity entity,
String... identifierParts) |
Modifier and Type | Method and Description |
---|---|
protected CayenneMapEntry |
ASTPath.evaluateEntityNode(Entity entity)
Helper method to evaluate path expression with Cayenne Entity.
|
Modifier and Type | Class and Description |
---|---|
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.
|
Modifier and Type | Field and Description |
---|---|
protected Entity |
Attribute.entity |
protected Entity |
Relationship.sourceEntity |
Modifier and Type | Method and Description |
---|---|
Entity |
Attribute.getEntity()
Returns parent entity that holds this attribute.
|
Entity |
Relationship.getSourceEntity()
Returns relationship source entity.
|
abstract Entity |
Relationship.getTargetEntity()
Returns a target entity of the relationship.
|
Modifier and Type | Method and Description |
---|---|
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.setTargetEntityName(Entity targetEntity)
Sets relationship target entity.
|
Modifier and Type | Field and Description |
---|---|
protected Entity |
EntityEvent.entity |
Modifier and Type | Method and Description |
---|---|
Entity |
EntityEvent.getEntity()
Returns entity object associated with this event.
|
Modifier and Type | Method and Description |
---|---|
void |
EntityEvent.setEntity(Entity entity)
Sets the entity.
|
Constructor and Description |
---|
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.
|
Copyright © 2001–2023 Apache Cayenne. All rights reserved.