Package | Description |
---|---|
org.apache.cayenne |
Contains persistence APIs directly accessible by users.
|
org.apache.cayenne.access |
Contains classes that make up Cayenne ORM stack.
|
org.apache.cayenne.access.translator.ejbql | |
org.apache.cayenne.access.translator.select | |
org.apache.cayenne.ashwood | |
org.apache.cayenne.configuration | |
org.apache.cayenne.map |
Contains O/R mapping classes that store relational database
metadata information and map it to Java classes.
|
org.apache.cayenne.query |
Defines standard queries supported by Cayenne and extension mechanism to create
custom queries.
|
org.apache.cayenne.reflect | |
org.apache.cayenne.reflect.generic | |
org.apache.cayenne.util |
General utility classes.
|
Modifier and Type | Method and Description |
---|---|
static ObjEntity |
Cayenne.getObjEntity(Persistent p)
Returns mapped ObjEntity for object.
|
Modifier and Type | Field and Description |
---|---|
protected ObjEntity |
IncrementalFaultList.rootEntity |
Modifier and Type | Field and Description |
---|---|
protected ObjEntity |
EJBQLPathTranslator.currentEntity |
Modifier and Type | Method and Description |
---|---|
ObjEntity |
QueryAssemblerHelper.getObjEntity() |
Modifier and Type | Field and Description |
---|---|
protected Comparator<ObjEntity> |
AshwoodEntitySorter.objEntityComparator |
Modifier and Type | Method and Description |
---|---|
protected Comparator<ObjEntity> |
WeightedAshwoodEntitySorter.getObjEntityComparator(boolean dependantFirst) |
protected Comparator<ObjEntity> |
AshwoodEntitySorter.getObjEntityComparator(boolean dependantFirst) |
Modifier and Type | Method and Description |
---|---|
protected void |
WeightedAshwoodEntitySorter.addWeightForEntity(ObjEntity entity) |
void |
AshwoodEntitySorter.sortObjectsForEntity(ObjEntity objEntity,
List<?> objects,
boolean deleteOrder) |
Modifier and Type | Method and Description |
---|---|
void |
AshwoodEntitySorter.sortObjEntities(List<ObjEntity> objEntities,
boolean deleteOrder) |
Modifier and Type | Method and Description |
---|---|
T |
BaseConfigurationNodeVisitor.visitObjEntity(ObjEntity entity) |
T |
ConfigurationNodeVisitor.visitObjEntity(ObjEntity entity) |
Modifier and Type | Field and Description |
---|---|
protected ObjEntity |
EntityInheritanceTree.entity |
Modifier and Type | Method and Description |
---|---|
ObjEntity |
EntityInheritanceTree.entityMatchingRow(DataRow row)
Returns the deepest possible entity in the inheritance hierarchy that can be used
to create objects from a given DataRow.
|
ObjEntity |
ObjEntity.getClientEntity()
Returns an ObjEntity stripped of any server-side information, such as
DbEntity mapping.
|
ObjEntity |
ObjAttribute.getEntity() |
ObjEntity |
EntityInheritanceTree.getEntity() |
ObjEntity |
EntityResolver.getObjEntity(Class<?> entityClass)
Looks in the DataMap's that this object was created with for the
ObjEntity that maps to the services the specified class
|
ObjEntity |
DataMap.getObjEntity(Class<?> entityClass) |
ObjEntity |
MappingNamespace.getObjEntity(Class<?> entityClass) |
ObjEntity |
EntityResolver.getObjEntity(Class<?> entityClass,
boolean lookupClientResolver)
Looks in the DataMap's that this object was created with for the
ObjEntity that maps to the services the specified class, with option to
fallback to search by name with client resolver in case entity not found.
|
ObjEntity |
EntityResolver.getObjEntity(Persistent object) |
ObjEntity |
DataMap.getObjEntity(Persistent object) |
ObjEntity |
MappingNamespace.getObjEntity(Persistent object) |
ObjEntity |
EntityResolver.getObjEntity(String name) |
ObjEntity |
DataMap.getObjEntity(String objEntityName)
Returns an ObjEntity for a given name.
|
ObjEntity |
MappingNamespace.getObjEntity(String name)
Returns ObjEntity for a given name, or null if no such ObjEntity is found
in the MappingNamespace.
|
ObjEntity |
DataMap.getObjEntityForJavaClass(String javaClassName)
Returns an ObjEntity for a DataObject class name.
|
ObjEntity |
ObjRelationship.getSourceEntity() |
ObjEntity |
ObjEntity.getSuperEntity()
Returns a "super" entity in the entity inheritance hierarchy.
|
ObjEntity |
ObjRelationship.getTargetEntity()
Returns a target ObjEntity of this relationship.
|
ObjEntity |
EntityResolver.lookupObjEntity(Class<?> entityClass)
Deprecated.
since 4.0, use
EntityResolver.getObjEntity(Class) . |
ObjEntity |
EntityResolver.lookupObjEntity(Object object)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Collection<ObjEntity> |
EntityInheritanceTree.allSubEntities()
Returns a collection containing this inheritance tree node entity and all its
subentities.
|
Collection<ObjEntity> |
DataMap.getMappedEntities(DbEntity dbEntity)
Returns all ObjEntities mapped to the given DbEntity.
|
Collection<ObjEntity> |
EntityResolver.getObjEntities() |
Collection<ObjEntity> |
DataMap.getObjEntities()
Returns an unmodifiable collection of ObjEntities stored in this DataMap.
|
Collection<ObjEntity> |
MappingNamespace.getObjEntities()
Returns all ObjEntities in the namespace.
|
SortedMap<String,ObjEntity> |
DataMap.getObjEntityMap()
Returns a sorted unmodifiable map of ObjEntities contained in this
DataMap, keyed by ObjEntity name.
|
Map<String,ObjEntity> |
DataMap.getSubclassesForObjEntity(ObjEntity superEntity) |
Collection<ObjEntity> |
DbEntity.mappedObjEntities() |
Modifier and Type | Method and Description |
---|---|
void |
DataMap.addObjEntity(ObjEntity entity)
Adds a new ObjEntity to this DataMap.
|
Object |
EntityListenerFactory.createListener(EntityListener listenerMapping,
ObjEntity entity)
Deprecated.
Creates an instance of entity listener of a given class.
|
Iterator<CayenneMapEntry> |
ObjAttribute.getDbPathIterator(ObjEntity entity) |
Map<String,ObjEntity> |
DataMap.getSubclassesForObjEntity(ObjEntity superEntity) |
boolean |
ObjEntity.isSubentityOf(ObjEntity entity)
Returns true if this entity directly or indirectly inherits from a given
entity, false otherwise.
|
void |
EntitySorter.sortObjectsForEntity(ObjEntity entity,
List<?> objects,
boolean deleteOrder)
Sorts a list of objects belonging to the ObjEntity.
|
Modifier and Type | Method and Description |
---|---|
void |
EntitySorter.sortObjEntities(List<ObjEntity> objEntities,
boolean deleteOrder)
Sorts a list of ObjEntities.
|
Constructor and Description |
---|
EmbeddedAttribute(String name,
String type,
ObjEntity entity) |
EntityInheritanceTree(ObjEntity entity) |
ObjAttribute(String name,
String type,
ObjEntity entity) |
Modifier and Type | Method and Description |
---|---|
ObjEntity |
QueryMetadata.getObjEntity()
Returns an ObjEntity associated with a query or null if no such entity exists.
|
ObjEntity |
QueryMetadataProxy.getObjEntity() |
protected ObjEntity |
SelectById.resolveEntity(EntityResolver resolver) |
Modifier and Type | Method and Description |
---|---|
protected Map<String,?> |
SelectById.resolveId(ObjEntity entity) |
Constructor and Description |
---|
SelectQuery(ObjEntity root)
Creates a SelectQuery with null qualifier, for the specifed ObjEntity
|
SelectQuery(ObjEntity root,
Expression qualifier)
Creates a SelectQuery for the specified ObjEntity with the given
qualifier.
|
SelectQuery(ObjEntity root,
Expression qualifier,
List<? extends Ordering> orderings)
Creates a SelectQuery for the specified ObjEntity with the given
qualifier and orderings.
|
SQLTemplate(ObjEntity rootEntity,
String defaultTemplate) |
Modifier and Type | Field and Description |
---|---|
protected ObjEntity |
PersistentDescriptor.entity |
Modifier and Type | Method and Description |
---|---|
ObjEntity |
LazyClassDescriptorDecorator.getEntity() |
ObjEntity |
PersistentDescriptor.getEntity() |
ObjEntity |
ClassDescriptor.getEntity()
Returns an ObjEntity associated with this descriptor.
|
Modifier and Type | Method and Description |
---|---|
protected ClassDescriptor |
PersistentDescriptorFactory.getDescriptor(ObjEntity entity,
Class<?> entityClass) |
void |
PersistentDescriptor.setEntity(ObjEntity entity) |
Modifier and Type | Method and Description |
---|---|
protected ClassDescriptor |
DataObjectDescriptorFactory.getDescriptor(ObjEntity entity,
Class<?> entityClass) |
Modifier and Type | Method and Description |
---|---|
static void |
DeleteRuleUpdater.updateObjEntity(ObjEntity e)
Updates delete rules for all relationships in a objentity
|
Copyright © 2001–2023 Apache Cayenne. All rights reserved.