|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cayenne.map.Entity
org.apache.cayenne.map.ObjEntity
org.apache.cayenne.wocompat.EOObjEntity
public class EOObjEntity
An extension of ObjEntity used to accomodate extra EOModel entity properties.
Field Summary | |
---|---|
protected boolean |
abstractEntity
|
protected boolean |
subclass
|
Fields inherited from class org.apache.cayenne.map.ObjEntity |
---|
callbacks, className, clientClassName, clientSuperClassName, dbEntityName, DEFAULT_GENERIC_CLASSES, entityListeners, excludingDefaultListeners, excludingSuperclassListeners, LOCK_TYPE_NONE, LOCK_TYPE_OPTIMISTIC, lockType, qualifier, readOnly, serverOnly, superClassName, superEntityName |
Fields inherited from class org.apache.cayenne.map.Entity |
---|
attributes, dataMap, name, PATH_SEPARATOR, relationships |
Constructor Summary | |
---|---|
EOObjEntity()
|
|
EOObjEntity(String name)
|
Method Summary | |
---|---|
Collection |
getEOQueries()
Returns a collection of queries for this entity. |
EOQuery |
getEOQuery(String queryName)
Returns stored EOQuery. |
boolean |
getHasSuperClass()
Deprecated. since 2.0 use isSubclass() |
boolean |
getIsAbstractEntity()
Deprecated. since 2.0 use isAbstractEntity() |
boolean |
getIsClientEntity()
Deprecated. since 2.0 use !isServerOnly() |
boolean |
isAbstractEntity()
|
boolean |
isSubclass()
|
String |
localQueryName(String qualifiedQueryName)
|
String |
qualifiedQueryName(String queryName)
Translates query name local to the ObjEntity to the global name. |
void |
setAbstractEntity(boolean abstractEntity)
|
void |
setHasSuperClass(boolean value)
Deprecated. since 2.0 use setSubclass() |
void |
setIsAbstractEntity(boolean value)
Deprecated. since 2.0 use setAbstractEntity() |
void |
setIsClientEntity(boolean value)
Deprecated. since 2.0 use setServerOnly() |
void |
setSubclass(boolean subclass)
|
Expression |
translateToDbPath(Expression expression)
Overrides super to support translation of EO attributes that have no ObjAttributes. |
Methods inherited from class org.apache.cayenne.map.Entity |
---|
addAttribute, addRelationship, clearAttributes, clearRelationships, getAnyRelationship, getDataMap, getName, getParent, lastPathComponent, removeAttribute, removeRelationship, resolvePathComponents, setDataMap, setName, setParent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected boolean subclass
protected boolean abstractEntity
Constructor Detail |
---|
public EOObjEntity()
public EOObjEntity(String name)
Method Detail |
---|
public void setHasSuperClass(boolean value)
public boolean getHasSuperClass()
public void setIsClientEntity(boolean value)
public boolean getIsClientEntity()
public void setIsAbstractEntity(boolean value)
public boolean getIsAbstractEntity()
public EOQuery getEOQuery(String queryName)
public Expression translateToDbPath(Expression expression)
translateToDbPath
in class ObjEntity
public Collection getEOQueries()
public boolean isAbstractEntity()
public void setAbstractEntity(boolean abstractEntity)
public boolean isSubclass()
public void setSubclass(boolean subclass)
public String qualifiedQueryName(String queryName)
public String localQueryName(String qualifiedQueryName)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |