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

- Packages that use DataObject
  Package | Description
  --- | ---
  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
    Modifier and Type | Class and Description
    --- | ---
    `class` | `CayenneDataObject` A default implementation of DataObject interface.

    Methods in org.apache.cayenne with parameters of type DataObject
    Modifier and Type | Method and Description
    --- | ---
    `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 with type parameters of type DataObject
    Modifier and Type | Method and Description
    --- | ---
    `<T extends DataObject> T` | DataContext.`objectFromDataRow(Class<T> objectClass, DataRow dataRow)` Creates a DataObject from DataRow.
    `<T extends DataObject> T` | DataContext.`objectFromDataRow(Class<T> objectClass, DataRow dataRow, boolean refresh)` Deprecated. Use objectFromDataRow(Class objectClass, DataRow dataRow) instead.

    Methods in org.apache.cayenne.access that return DataObject
    Modifier and Type | Method and Description
    --- | ---
    `DataObject` | DataContext.`objectFromDataRow(String entityName, DataRow dataRow)` Creates a DataObject from DataRow.
    `DataObject` | DataContext.`objectFromDataRow(String entityName, DataRow dataRow, boolean refresh)` Deprecated. Use objectFromDataRow(String entityName, DataRow dataRow) instead.

    Methods in org.apache.cayenne.access with parameters of type DataObject
    Modifier and Type | Method and Description
    --- | ---
    `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.

Copyright © 2001–2014 Apache Cayenne. All rights reserved.