Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Interface
org.apache.cayenne.DataObject

Packages that use DataObject
org.apache.cayenne | Contains persistence APIs directly accessible by users.
org.apache.cayenne.access | Contains classes that make up Cayenne ORM stack.

Uses of DataObject in org.apache.cayenne

Classes in org.apache.cayenne that implement DataObject
`class` | `CayenneDataObject` A default implementation of DataObject interface.

Methods in org.apache.cayenne with parameters of type DataObject
`void` | `CayenneDataObject.addToManyTarget(String relName, DataObject value, boolean setReverse)`
`void` | `DataObject.addToManyTarget(String relationshipName, DataObject target, boolean setReverse)` Adds an object to a to-many relationship.
`void` | `CayenneDataObject.removeToManyTarget(String relName, DataObject value, boolean setReverse)`
`void` | `DataObject.removeToManyTarget(String relationshipName, DataObject target, boolean unsetReverse)` Removes an object from a to-many relationship.
`protected void` | `CayenneDataObject.setReverseRelationship(String relName, DataObject val)` Initializes reverse relationship from object `val` to this object.
`void` | `CayenneDataObject.setToOneTarget(String relationshipName, DataObject value, boolean setReverse)`
`void` | `DataObject.setToOneTarget(String relationshipName, DataObject value, boolean setReverse)` Sets to-one relationship to a new value.
`protected void` | `CayenneDataObject.unsetReverseRelationship(String relName, DataObject val)` Removes current object from reverse relationship of object `val` to this object.

Uses of DataObject in org.apache.cayenne.access

Methods in org.apache.cayenne.access that return DataObject
`DataObject` | `DataContext.createAndRegisterNewObject(Class objectClass)` Deprecated. since 3.0, use `DataContext.newObject(Class)` instead.
`DataObject` | `DataContext.createAndRegisterNewObject(String objEntityName)` Deprecated. since 3.0, use `DataContext.newObject(String)` instead.
`DataObject` | `DataContext.objectFromDataRow(Class objectClass, DataRow dataRow, boolean refresh)` Creates a DataObject from DataRow.
`DataObject` | `DataContext.objectFromDataRow(String entityName, DataRow dataRow, boolean refresh)` Creates a DataObject from DataRow.
`DataObject` | `DataContext.refetchObject(ObjectId oid)` Deprecated. since 3.0 use `ObjectIdQuery` with appropriate refresh settings.

Methods in org.apache.cayenne.access with parameters of type DataObject
`void` | `DataContextDelegate.finishedMergeChanges(DataObject object)` Called after a successful merging of external changes to an object.
`void` | `DataContextDelegate.finishedProcessDelete(DataObject object)` Called after a successful processing of externally deleted object.
`boolean` | `DataContextDelegate.shouldMergeChanges(DataObject object, DataRow snapshotInStore)` Invoked by parent DataContext whenever an object change is detected.
`boolean` | `DataContextDelegate.shouldProcessDelete(DataObject object)` Invoked by ObjectStore whenever it is detected that a database row was deleted for object.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

Copyright © 2001-2007 Apache Cayenne. All Rights Reserved.