de.mathema.pride
Class ValueObjectAdapter

java.lang.Object
  extended by de.mathema.pride.DatabaseAdapter
      extended by de.mathema.pride.ObjectAdapter
          extended by de.mathema.pride.ValueObjectAdapter

public abstract class ValueObjectAdapter
extends ObjectAdapter

Convenience derivation from ObjectAdapter, operating on a passed value object.

Author:
Jan Lessner

Field Summary
static java.lang.String REVISION_ID
           
 
Constructor Summary
ValueObjectAdapter(java.lang.Object entity)
           
 
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

REVISION_ID

public static final java.lang.String REVISION_ID
See Also:
Constant Field Values
Constructor Detail

ValueObjectAdapter

public ValueObjectAdapter(java.lang.Object entity)
Method Detail

getEntity

public java.lang.Object getEntity()
Description copied from class: ObjectAdapter
Returns the value object the adapter is operating on

Specified by:
getEntity in class ObjectAdapter