Uses of Class
org.apache.cayenne.map.ObjEntity
-
Packages that use ObjEntity 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.ashwood org.apache.cayenne.configuration org.apache.cayenne.configuration.xml 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. -
-
Uses of ObjEntity in org.apache.cayenne
Methods in org.apache.cayenne that return ObjEntity Modifier and Type Method Description static ObjEntity
Cayenne. getObjEntity(Persistent p)
Returns mapped ObjEntity for object. -
Uses of ObjEntity in org.apache.cayenne.access
Fields in org.apache.cayenne.access declared as ObjEntity Modifier and Type Field Description protected ObjEntity
IncrementalFaultList. rootEntity
-
Uses of ObjEntity in org.apache.cayenne.access.translator.ejbql
Fields in org.apache.cayenne.access.translator.ejbql declared as ObjEntity Modifier and Type Field Description protected ObjEntity
EJBQLPathTranslator. currentEntity
-
Uses of ObjEntity in org.apache.cayenne.ashwood
Fields in org.apache.cayenne.ashwood with type parameters of type ObjEntity Modifier and Type Field Description protected Comparator<ObjEntity>
AshwoodEntitySorter. objEntityComparator
Methods in org.apache.cayenne.ashwood that return types with arguments of type ObjEntity Modifier and Type Method Description Comparator<ObjEntity>
AshwoodEntitySorter. getObjEntityComparator()
protected Comparator<ObjEntity>
AshwoodEntitySorter. getObjEntityComparator(boolean dependantFirst)
protected Comparator<ObjEntity>
WeightedAshwoodEntitySorter. getObjEntityComparator(boolean dependantFirst)
Methods in org.apache.cayenne.ashwood with parameters of type ObjEntity Modifier and Type Method Description protected void
WeightedAshwoodEntitySorter. addWeightForEntity(ObjEntity entity)
protected <E> Digraph<E,Boolean>
AshwoodEntitySorter. buildDigraph(ObjEntity objEntity, List<E> objects, Function<E,Persistent> converter)
protected String[]
AshwoodEntitySorter. getReflexiveRelationshipsNames(ObjEntity objEntity)
void
AshwoodEntitySorter. sortObjectsForEntity(ObjEntity objEntity, List<?> objects, boolean deleteOrder)
protected <E> void
AshwoodEntitySorter. sortObjectsForEntity(ObjEntity objEntity, List<E> objects, boolean deleteOrder, Function<E,Persistent> converter)
Method parameters in org.apache.cayenne.ashwood with type arguments of type ObjEntity Modifier and Type Method Description void
AshwoodEntitySorter. sortObjEntities(List<ObjEntity> objEntities, boolean deleteOrder)
-
Uses of ObjEntity in org.apache.cayenne.configuration
Methods in org.apache.cayenne.configuration with parameters of type ObjEntity Modifier and Type Method Description T
BaseConfigurationNodeVisitor. visitObjEntity(ObjEntity entity)
T
ConfigurationNodeVisitor. visitObjEntity(ObjEntity entity)
Void
EmptyConfigurationNodeVisitor. visitObjEntity(ObjEntity entity)
-
Uses of ObjEntity in org.apache.cayenne.configuration.xml
Methods in org.apache.cayenne.configuration.xml that return ObjEntity Modifier and Type Method Description ObjEntity
ObjEntityHandler. getEntity()
Constructors in org.apache.cayenne.configuration.xml with parameters of type ObjEntity Constructor Description EmbeddableAttributeHandler(NamespaceAwareNestedTagHandler parentHandler, ObjEntity entity)
-
Uses of ObjEntity in org.apache.cayenne.map
Fields in org.apache.cayenne.map declared as ObjEntity Modifier and Type Field Description protected ObjEntity
EntityInheritanceTree. entity
Methods in org.apache.cayenne.map that return ObjEntity Modifier and Type Method 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
EntityInheritanceTree. getEntity()
ObjEntity
ObjAttribute. getEntity()
ObjEntity
DataMap. getObjEntity(Class<?> entityClass)
ObjEntity
DataMap. getObjEntity(String objEntityName)
Returns an ObjEntity for a given name.ObjEntity
DataMap. getObjEntity(Persistent object)
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 classObjEntity
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(String name)
ObjEntity
EntityResolver. getObjEntity(Persistent object)
ObjEntity
MappingNamespace. getObjEntity(Class<?> entityClass)
ObjEntity
MappingNamespace. getObjEntity(String name)
Returns ObjEntity for a given name, or null if no such ObjEntity is found in the MappingNamespace.ObjEntity
MappingNamespace. getObjEntity(Persistent object)
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.Methods in org.apache.cayenne.map that return types with arguments of type ObjEntity Modifier and Type Method 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>
DataMap. getObjEntities()
Returns an unmodifiable collection of ObjEntities stored in this DataMap.Collection<ObjEntity>
EntityResolver. getObjEntities()
Collection<ObjEntity>
MappingNamespace. getObjEntities()
Returns all ObjEntities in the namespace.Comparator<ObjEntity>
EntitySorter. getObjEntityComparator()
Map<String,ObjEntity>
DataMap. getObjEntityMap()
Returns a unmodifiable map of ObjEntities contained in this DataMap, keyed by ObjEntity name.Map<String,ObjEntity>
DataMap. getSubclassesForObjEntity(ObjEntity superEntity)
Collection<ObjEntity>
DbEntity. mappedObjEntities()
Methods in org.apache.cayenne.map with parameters of type ObjEntity Modifier and Type Method Description void
DataMap. addObjEntity(ObjEntity entity)
Adds a new ObjEntity to this DataMap.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.Method parameters in org.apache.cayenne.map with type arguments of type ObjEntity Modifier and Type Method Description void
EntitySorter. sortObjEntities(List<ObjEntity> objEntities, boolean deleteOrder)
Sorts a list of ObjEntities.Constructors in org.apache.cayenne.map with parameters of type ObjEntity Constructor Description EmbeddedAttribute(String name, String type, ObjEntity entity)
EntityInheritanceTree(ObjEntity entity)
ObjAttribute(String name, String type, ObjEntity entity)
-
Uses of ObjEntity in org.apache.cayenne.query
Methods in org.apache.cayenne.query that return ObjEntity Modifier and Type Method Description ObjEntity
QueryMetadata. getObjEntity()
Returns an ObjEntity associated with a query or null if no such entity exists.ObjEntity
QueryMetadataProxy. getObjEntity()
ObjEntity
SelectById.QueryRoot. resolve(EntityResolver resolver)
Methods in org.apache.cayenne.query with parameters of type ObjEntity Modifier and Type Method Description Expression
SelectById.IdSpec. getQualifier(ObjEntity entity)
Expression
SelectById.MultiMapIdSpec. getQualifier(ObjEntity entity)
Expression
SelectById.MultiScalarIdSpec. getQualifier(ObjEntity entity)
Expression
SelectById.SingleMapIdSpec. getQualifier(ObjEntity entity)
Expression
SelectById.SingleScalarIdSpec. getQualifier(ObjEntity entity)
Constructors in org.apache.cayenne.query with parameters of type ObjEntity Constructor Description SelectQuery(ObjEntity root)
Deprecated.Creates a SelectQuery with null qualifier, for the specifed ObjEntitySelectQuery(ObjEntity root, Expression qualifier)
Deprecated.Creates a SelectQuery for the specified ObjEntity with the given qualifier.SelectQuery(ObjEntity root, Expression qualifier, List<? extends Ordering> orderings)
Deprecated.Creates a SelectQuery for the specified ObjEntity with the given qualifier and orderings.SQLTemplate(ObjEntity rootEntity, String defaultTemplate)
-
Uses of ObjEntity in org.apache.cayenne.reflect
Fields in org.apache.cayenne.reflect declared as ObjEntity Modifier and Type Field Description protected ObjEntity
PersistentDescriptor. entity
Methods in org.apache.cayenne.reflect that return ObjEntity Modifier and Type Method Description ObjEntity
ClassDescriptor. getEntity()
Returns an ObjEntity associated with this descriptor.ObjEntity
LazyClassDescriptorDecorator. getEntity()
ObjEntity
PersistentDescriptor. getEntity()
Methods in org.apache.cayenne.reflect with parameters of type ObjEntity Modifier and Type Method Description protected ClassDescriptor
PersistentDescriptorFactory. getDescriptor(ObjEntity entity, Class<?> entityClass)
void
PersistentDescriptor. setEntity(ObjEntity entity)
-
Uses of ObjEntity in org.apache.cayenne.reflect.generic
Methods in org.apache.cayenne.reflect.generic with parameters of type ObjEntity Modifier and Type Method Description protected ClassDescriptor
DataObjectDescriptorFactory. getDescriptor(ObjEntity entity, Class<?> entityClass)
-
Uses of ObjEntity in org.apache.cayenne.util
Methods in org.apache.cayenne.util with parameters of type ObjEntity Modifier and Type Method Description static void
DeleteRuleUpdater. updateObjEntity(ObjEntity e)
Updates delete rules for all relationships in a objentity
-