|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.mathema.pride.DatabaseAdapter de.mathema.pride.ObjectAdapter de.mathema.pride.MappedObject
public abstract class MappedObject
Convenience derivation from ObjectAdapter
, assuming
that the entity to operate on is this object itself. This
base class is of interest for hybrid entities containing both
the actual data and the mapping information. This may be nice
for small projects to keep all related information in one class.
However, in larger projects it is recommended to separate the
mapping from the value objects as it is intended in base class
ValueObjectAdapter
Field Summary | |
---|---|
static java.lang.String |
REVISION_ID
|
Constructor Summary | |
---|---|
MappedObject()
|
Method Summary | |
---|---|
java.lang.Object |
getEntity()
Returns the value object the adapter is operating on |
Methods inherited from class de.mathema.pride.ObjectAdapter |
---|
commit, constraint, constraint, constraint, create, create, createx, delete, delete, fetch, fetchx, fetchx, fetchx, find, find, find, getAutoFields, getDatabase, getDatabase, getDescriptor, getKeyFields, getXDescriptor, process, query, query, queryAll, update, update, update, update, update, updatex, updatex, updatex, wildcard |
Methods inherited from class de.mathema.pride.DatabaseAdapter |
---|
commit, constraint, create, create, create, delete, delete, fetch, fetch, fetch, fetch, find, find, find, process, query, query, queryAll, update, update, update, update, update, update, update, update, wildcard |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String REVISION_ID
Constructor Detail |
---|
public MappedObject()
Method Detail |
---|
public java.lang.Object getEntity()
ObjectAdapter
getEntity
in class ObjectAdapter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |