Package | Description |
---|---|
org.apache.cayenne.configuration | |
org.apache.cayenne.map |
Contains O/R mapping classes that store relational database
metadata information and map it to Java classes.
|
org.apache.cayenne.query |
Defines standard queries supported by Cayenne and extension mechanism to create
custom queries.
|
Modifier and Type | Class and Description |
---|---|
class |
ConfigurationTree<T extends ConfigurationNode>
A tree of configuration nodes that contains extra information about the nodes, such
as load errors.
|
Modifier and Type | Class and Description |
---|---|
class |
DataChannelDescriptor
A descriptor of a DataChannel normally loaded from XML configuration.
|
class |
DataNodeDescriptor
A descriptor of
DataNode configuration. |
Modifier and Type | Field and Description |
---|---|
protected T |
ConfigurationTree.rootNode |
Modifier and Type | Method and Description |
---|---|
String |
DefaultConfigurationNameMapper.configurationLocation(ConfigurationNode node) |
String |
ConfigurationNameMapper.configurationLocation(ConfigurationNode node)
Returns the name of a configuration resource based on a naming convention
for a given node type.
|
Modifier and Type | Method and Description |
---|---|
String |
DefaultConfigurationNameMapper.configurationLocation(Class<? extends ConfigurationNode> type,
String name) |
String |
ConfigurationNameMapper.configurationLocation(Class<? extends ConfigurationNode> type,
String nodeName)
Returns the name of a configuration resource based on a naming convention
for a given node type.
|
String |
DefaultConfigurationNameMapper.configurationNodeName(Class<? extends ConfigurationNode> type,
Resource resource) |
String |
ConfigurationNameMapper.configurationNodeName(Class<? extends ConfigurationNode> type,
Resource resource)
Returns a node name for a given configuration type and a configuration
resource.
|
Modifier and Type | Class and Description |
---|---|
class |
DataMap
Stores a collection of related mapping objects that describe database and
object layers of an application.
|
class |
DbAttribute
A DbAttribute defines a descriptor for a single database table column.
|
class |
DbEntity
A DbEntity is a mapping descriptor that defines a structure of a database
table.
|
class |
DbRelationship
A DbRelationship is a descriptor of a database inter-table relationship based
on one or more primary key/foreign key pairs.
|
class |
DbRelationshipDetected
A subclass of
DbRelationship to hold some extra runtime information. |
class |
DetectedDbEntity
A
DbEntity subclass used to hold extra JDBC metadata. |
class |
Embeddable
A mapping descriptor of an embeddable class.
|
class |
EmbeddableAttribute
A persistent attribute of an embeddable object.
|
class |
EmbeddedAttribute
An attribute of the ObjEntity that maps to an embeddable class.
|
class |
ObjAttribute
An ObjAttribute is a mapping descriptor of a Java class property.
|
class |
ObjEntity
ObjEntity is a mapping descriptor for a DataObject Java class.
|
class |
ObjRelationship
Describes an association between two Java classes mapped as source and target
ObjEntity.
|
class |
Procedure
A mapping descriptor for a database stored procedure.
|
class |
ProcedureParameter
A descriptor for the Procedure parameter.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ParameterizedQuery
Defines a query that can serve as a template for other queries.
|
interface |
Query
Defines minimal API of a query descriptor that is executable via Cayenne.
|
interface |
Select<T>
A common interface for grouping together different kinds of queries
that return results.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractQuery
A common superclass of Cayenne queries.
|
class |
BatchQuery
BatchQuery and its descendants allow to group similar data for the batch
database modifications, including inserts, updates and deletes.
|
class |
DeleteBatchQuery
Batched delete query.
|
class |
EJBQLQuery
An EJBQL query representation in Cayenne.
|
class |
IndirectQuery
A base superclass for queries that resolve into some other queries during the
routing phase.
|
class |
InsertBatchQuery
Batched INSERT query.
|
class |
NamedQuery
A query that is a reference to a named parameterized query stored in the mapping.
|
class |
ObjectIdQuery
A query that matches zero or one object or data row corresponding to the ObjectId.
|
class |
ObjectSelect<T>
A selecting query providing chainable API.
|
class |
PrefetchSelectQuery
A SelectQuery to perform a prefetch based on another query.
|
class |
ProcedureQuery
A query based on Procedure.
|
class |
QueryChain
A Query decorator for a collection of other queries.
|
class |
RefreshQuery
A query that allows to explicitly clear both object and list caches either via refetch
(eager refresh) or invalidate (lazy refresh).
|
class |
RelationshipQuery
A query that selects objects related to a given object via a mapped relationship.
|
class |
SelectById<T>
A query to select single objects by id.
|
class |
SelectQuery<T>
A query that selects persistent objects of a certain type or "raw data" (aka
DataRows).
|
class |
SQLSelect<T>
A selecting query based on raw SQL and featuring fluent API.
|
class |
SQLTemplate
A query that executes unchanged (except for template preprocessing) "raw" SQL
specified by the user.
|
class |
UpdateBatchQuery
Batched UPDATE query.
|
Copyright © 2001–2015 Apache Cayenne. All rights reserved.