Contains classes that make up Cayenne ORM stack. Three main classes from top to bottom are DataContext, DataDomain and DataNode.
Interface Summary Interface Description DataContextDelegateDefines API for a DataContext "delegate" - an object that is temporarily passed control by DataContext at some critical points in the normal flow of execution. DataRowStoreFactoryA factory for creating
ObjectMapRetainStrategyA strategy for retaining objects in
OperationHintsDefines API that allows QueryEngine to obtain information about query execution strategy. OperationObserverDefines a set of callback methods that allow
QueryEngineto pass back query results and notify caller about exceptions.
QueryEngineDefines methods used to run Cayenne queries.
Class Summary Class Description AttributeFault ClientServerChannelA DataChannel that provides a server-side end of the bridge between client and server objects in a Remote Object Persistence stack. DataContextThe most common implementation of
DataDomainDataDomain performs query routing functions in Cayenne. DataNodeAn abstraction of a single physical data storage. DataRowStoreA fixed size cache of DataRows keyed by ObjectId. DbGeneratorUtility class that generates database schema based on Cayenne mapping. DefaultDataRowStoreFactoryA default implementation of
DefaultObjectMapRetainStrategyDefault implementation of
IncrementalFaultList<E>A synchronized list that serves as a container of DataObjects. LegacyDataDomainFlushAction Deprecated.this implementation is deprecated since 4.2,
LegacyDataDomainFlushActionFactory Deprecated. NoSyncObjectStore ObjectDiffA dynamic GraphDiff that represents a delta between object simple properties at diff creation time and its current state. ObjectStoreObjectStore stores objects using their ObjectId as a key. ObjectStoreGraphDiffA GraphDiff facade for the ObjectStore changes. ToManyList<E>A list that holds objects for to-many relationships. ToManyListFault ToManyMapFault ToManySet<E> ToManySetFault ToOneFault
Exception Summary Exception Description DomainStoppedExceptionAn exception thrown on attempts to access a DataDomain after it was explicitly shut down by the user. OptimisticLockExceptionAn exception thrown on optimistic lock failure.