org.apache.cayenne.wocompat
Class EOObjEntity
java.lang.Object
org.apache.cayenne.map.Entity
org.apache.cayenne.map.ObjEntity
org.apache.cayenne.wocompat.EOObjEntity
- All Implemented Interfaces:
- Serializable, EventListener, ObjEntityListener, CayenneMapEntry, XMLSerializable
public class EOObjEntity
- extends ObjEntity
An extension of ObjEntity used to accomodate extra EOModel entity properties.
- See Also:
- Serialized Form
| Fields inherited from class org.apache.cayenne.map.ObjEntity |
_abstract, attributeOverrides, callbacks, className, clientClassName, clientSuperClassName, dbEntityName, DEFAULT_GENERIC_CLASSES, entityListeners, excludingDefaultListeners, excludingSuperclassListeners, LOCK_TYPE_NONE, LOCK_TYPE_OPTIMISTIC, lockType, qualifier, readOnly, serverOnly, superClassName, superEntityName |
| Methods inherited from class org.apache.cayenne.map.ObjEntity |
addAttributeOverride, addEntityListener, clearDbMapping, encodeAsXML, getAttribute, getAttributeForDbAttribute, getAttributeMap, getAttributes, getCallbackMap, getClassName, getClientClassName, getClientEntity, getClientSuperClassName, getDbEntity, getDbEntityName, getDeclaredAttributeOverrides, getDeclaredAttributes, getDeclaredLockType, getDeclaredQualifier, getDeclaredRelationships, getEntityListener, getEntityListeners, getJavaClass, getLockType, getPrimaryKeyNames, getPrimaryKeys, getRelationship, getRelationshipForDbRelationship, getRelationshipMap, getRelationships, getSuperClassName, getSuperEntity, getSuperEntityName, isAbstract, isClientAllowed, isExcludingDefaultListeners, isExcludingSuperclassListeners, isGeneric, isReadOnly, isServerOnly, isSubentityOf, lastPathComponent, objEntityAdded, objEntityChanged, objEntityRemoved, removeEntityListener, resolvePath, resolvePathComponents, setAbstract, setClassName, setClientClassName, setClientSuperClassName, setDbEntity, setDbEntityName, setDeclaredLockType, setDeclaredQualifier, setExcludingDefaultListeners, setExcludingSuperclassListeners, setReadOnly, setServerOnly, setSuperClassName, setSuperEntityName, translateToRelatedEntity |
| Methods inherited from class org.apache.cayenne.map.Entity |
addAttribute, addRelationship, clearAttributes, clearRelationships, getAnyRelationship, getDataMap, getName, getParent, removeAttribute, removeRelationship, resolvePathComponents, setDataMap, setName, setParent, toString |
subclass
protected boolean subclass
abstractEntity
protected boolean abstractEntity
EOObjEntity
public EOObjEntity()
EOObjEntity
public EOObjEntity(String name)
getEOQuery
public EOQuery getEOQuery(String queryName)
- Returns stored EOQuery.
- Since:
- 1.1
translateToDbPath
public Expression translateToDbPath(Expression expression)
- Overrides super to support translation of EO attributes that have no ObjAttributes.
- Overrides:
translateToDbPath in class ObjEntity
- Since:
- 1.2
getEOQueries
public Collection getEOQueries()
- Returns a collection of queries for this entity.
- Since:
- 1.1
isAbstractEntity
public boolean isAbstractEntity()
setAbstractEntity
public void setAbstractEntity(boolean abstractEntity)
isSubclass
public boolean isSubclass()
setSubclass
public void setSubclass(boolean subclass)
qualifiedQueryName
public String qualifiedQueryName(String queryName)
- Translates query name local to the ObjEntity to the global name. This translation
is needed since EOModels store queries by entity, while Cayenne DataMaps store them
globally.
- Since:
- 1.1
localQueryName
public String localQueryName(String qualifiedQueryName)
- Since:
- 1.1
Copyright © 2001-2009 Apache Cayenne. All Rights Reserved.