| java.lang.Object com.triactive.jdo.store.Mapping com.triactive.jdo.store.ComplexMapping
All known Subclasses: com.triactive.jdo.store.SetMapping, com.triactive.jdo.store.MapMapping,
ComplexMapping | abstract public class ComplexMapping extends Mapping (Code) | | A database mapping that incorporates custom logic for object storage and
retrieval.
author: Mike Martin version: $Revision: 1.2 $ |
ComplexMapping | protected ComplexMapping(DatabaseAdapter dba, Class type)(Code) | | Create a new complex mapping with the given DatabaseAdapter for the given
type.
Parameters: dba - The DatabaseAdapter that this Mapping should use. Parameters: type - The Class that this mapping maps to the database. |
deleteObject | abstract public void deleteObject(StateManager sm)(Code) | | Deletes an object from the database.
Parameters: sm - The state manager of the instance owning the Java object beingdeleted. |
fetchObject | abstract public Object fetchObject(StateManager sm)(Code) | | Fetchs an object from the database.
Parameters: sm - The state manager of the instance owning the Java object beingfetched. |
insertObject | abstract public void insertObject(StateManager sm, Object value)(Code) | | Inserts an object in the database.
Parameters: sm - The state manager of the instance owning the Java object beinginserted. Parameters: value - The object to insert. |
updateObject | abstract public void updateObject(StateManager sm, Object value)(Code) | | Updates an object in the database.
Parameters: sm - The state manager of the instance owning the Java object beingupdated. Parameters: value - The object to update. |
|
|