|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectstyle.cayenne.map.Entity
org.objectstyle.cayenne.map.ObjEntity
org.objectstyle.cayenne.wocompat.EOObjEntity
public class EOObjEntity
An EOObjEntity is a mapping descriptor of a Java class property with added fields for WebObjects EOModel. It is an informal "decorator" of Cayenne ObjEntity to provide access to the extra information of WebObjects EOEntity.
Field Summary | |
---|---|
protected boolean |
hasSuperClass
|
protected boolean |
isAbstractEntity
|
protected boolean |
isClientEntity
|
Fields inherited from class org.objectstyle.cayenne.map.ObjEntity |
---|
className, clientClassName, clientSuperClassName, dbEntityName, DEFAULT_GENERIC_CLASSES, LOCK_TYPE_NONE, LOCK_TYPE_OPTIMISTIC, lockType, qualifier, readOnly, serverOnly, superClassName, superEntityName |
Fields inherited from class org.objectstyle.cayenne.map.Entity |
---|
attributes, dataMap, name, PATH_SEPARATOR, relationships |
Constructor Summary | |
---|---|
EOObjEntity()
|
|
EOObjEntity(java.lang.String s)
|
Method Summary | |
---|---|
java.util.Collection |
getEOQueries()
Returns a collection of queries for this entity. |
EOQuery |
getEOQuery(java.lang.String queryName)
Returns stored EOQuery. |
boolean |
getHasSuperClass()
Returns the superclass state. |
boolean |
getIsAbstractEntity()
Returns the abstract Entity state |
boolean |
getIsClientEntity()
Returns the client entity flag |
java.lang.String |
localQueryName(java.lang.String qualifiedQueryName)
|
java.lang.String |
qualifiedQueryName(java.lang.String queryName)
Translates query name local to the ObjEntity to the global name. |
void |
setHasSuperClass(boolean value)
Sets the the superclass state. |
void |
setIsAbstractEntity(boolean value)
Sets the abstract entity flag. |
void |
setIsClientEntity(boolean value)
Sets the client entity state. |
Expression |
translateToDbPath(Expression expression)
Overrides super to support translation of EO attributes that have no ObjAttributes. |
Methods inherited from class org.objectstyle.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 isClientEntity
protected boolean hasSuperClass
protected boolean isAbstractEntity
Constructor Detail |
---|
public EOObjEntity()
public EOObjEntity(java.lang.String s)
Method Detail |
---|
public void setHasSuperClass(boolean value)
value
- public boolean getHasSuperClass()
public void setIsClientEntity(boolean value)
value
- public boolean getIsClientEntity()
public void setIsAbstractEntity(boolean value)
value
- public boolean getIsAbstractEntity()
public java.lang.String qualifiedQueryName(java.lang.String queryName)
public java.lang.String localQueryName(java.lang.String qualifiedQueryName)
public EOQuery getEOQuery(java.lang.String queryName)
public java.util.Collection getEOQueries()
public Expression translateToDbPath(Expression expression)
translateToDbPath
in class ObjEntity
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |