Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.cayenne
Interface Persistent

All Superinterfaces:
  java.io.Serializable

All Known Subinterfaces:
  DataObject

All Known Implementing Classes:
  CayenneDataObject, PersistentObject

    public interface Persistent

extends java.io.Serializable

Defines minimal API of an object that can be persisted via Cayenne.

Since:
  1.2
Author:
  Andrus Adamchik

Method Summary
`ObjectContext` | `getObjectContext()`
`ObjectId` | `getObjectId()`
`int` | `getPersistenceState()`
`void` | `setObjectContext(ObjectContext objectContext)`
`void` | `setObjectId(ObjectId id)`
`void` | `setPersistenceState(int state)`

Method Detail

### getObjectId

    ObjectId getObjectId()

### setObjectId

    void setObjectId(ObjectId id)

### getPersistenceState

    int getPersistenceState()

### setPersistenceState

    void setPersistenceState(int state)

### getObjectContext

    ObjectContext getObjectContext()

### setObjectContext

    void setObjectContext(ObjectContext objectContext)

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2006 Apache.org All Rights Reserved.