Package | Description |
---|---|
org.apache.cayenne.access |
Contains classes that make up Cayenne ORM stack.
|
org.apache.cayenne.configuration | |
org.apache.cayenne.dba |
Contains database adapter API (DbAdapter) and its default implementation.
|
org.apache.cayenne.map |
Contains O/R mapping classes that store relational database
metadata information and map it to Java classes.
|
org.apache.cayenne.map.event | |
org.apache.cayenne.query |
Defines standard queries supported by Cayenne and extension mechanism to create
custom queries.
|
org.apache.cayenne.util |
General utility classes.
|
Modifier and Type | Field and Description |
---|---|
protected DataMap |
DbGenerator.map |
Modifier and Type | Field and Description |
---|---|
protected Map<String,DataMap> |
DataNode.dataMaps |
Modifier and Type | Method and Description |
---|---|
DataMap |
DataDomain.getDataMap(String mapName) |
DataMap |
DataNode.getDataMap(String name)
Returns datamap with specified name, null if none present
|
Modifier and Type | Method and Description |
---|---|
Collection<DataMap> |
DataDomain.getDataMaps()
Returns a collection of registered DataMaps.
|
Collection<DataMap> |
DataNode.getDataMaps()
Returns an unmodifiable collection of DataMaps handled by this DataNode.
|
Modifier and Type | Method and Description |
---|---|
void |
DataDomain.addDataMap(DataMap dataMap) |
void |
DataNode.addDataMap(DataMap map)
Adds a DataMap to be handled by this node.
|
DataNode |
DataDomain.lookupDataNode(DataMap map)
Returns a DataNode that should handle queries for all entities in a
DataMap.
|
DataNode |
DataNode.lookupDataNode(DataMap dataMap)
Returns a DataNode that should handle queries for all DataMap components.
|
void |
DataNode.removeDataMap(DataMap map) |
Modifier and Type | Method and Description |
---|---|
void |
DataNode.setDataMaps(Collection<DataMap> dataMaps) |
Constructor and Description |
---|
DbGenerator(DbAdapter adapter,
DataMap map,
Collection<DbEntity> excludedEntities,
DataDomain domain,
JdbcEventLogger logger)
Creates and initializes new DbGenerator instance.
|
DbGenerator(DbAdapter adapter,
DataMap map,
JdbcEventLogger logger) |
DbGenerator(DbAdapter adapter,
DataMap map,
JdbcEventLogger logger,
Collection<DbEntity> excludedEntities) |
Modifier and Type | Field and Description |
---|---|
protected Collection<DataMap> |
DataChannelDescriptor.dataMaps |
Modifier and Type | Method and Description |
---|---|
DataMap |
DataChannelDescriptor.getDataMap(String name) |
DataMap |
DataMapLoader.load(Resource configurationResource) |
DataMap |
XMLDataMapLoader.load(Resource configurationResource) |
Modifier and Type | Method and Description |
---|---|
Collection<DataMap> |
DataChannelDescriptor.getDataMaps() |
Modifier and Type | Method and Description |
---|---|
T |
BaseConfigurationNodeVisitor.visitDataMap(DataMap dataMap) |
T |
ConfigurationNodeVisitor.visitDataMap(DataMap dataMap) |
Modifier and Type | Method and Description |
---|---|
String |
DefaultQuotingStrategy.quotedIdentifier(DataMap dataMap,
String... identifierParts) |
String |
QuotingStrategy.quotedIdentifier(DataMap dataMap,
String... identifierParts) |
Modifier and Type | Field and Description |
---|---|
protected DataMap |
Embeddable.dataMap |
protected DataMap |
Entity.dataMap |
protected DataMap |
Procedure.dataMap |
protected DataMap |
QueryDescriptor.dataMap |
protected DataMap |
QueryDescriptorLoader.dataMap |
Modifier and Type | Field and Description |
---|---|
protected Collection<DataMap> |
EntityResolver.maps |
Modifier and Type | Method and Description |
---|---|
DataMap |
DataMap.getClientDataMap(EntityResolver serverResolver)
Returns a DataMap stripped of any server-side information, such as
DbEntity mapping, or ObjEntities that are not allowed in the client tier.
|
DataMap |
Embeddable.getDataMap() |
DataMap |
Entity.getDataMap() |
DataMap |
Procedure.getDataMap() |
DataMap |
QueryDescriptor.getDataMap() |
DataMap |
EntityResolver.getDataMap(String mapName)
Returns a DataMap matching the name.
|
DataMap |
MapLoader.loadDataMap(InputSource src)
Loads a DataMap from XML input source.
|
Modifier and Type | Method and Description |
---|---|
Collection<DataMap> |
EntityResolver.getDataMaps()
Returns an unmodifiable collection of DataMaps.
|
Modifier and Type | Method and Description |
---|---|
void |
EntityResolver.addDataMap(DataMap map) |
int |
DataMap.compareTo(DataMap o) |
void |
DataMap.mergeWithDataMap(DataMap map)
Adds all Object and DB entities and Queries from another map to this map.
|
void |
EntityResolver.removeDataMap(DataMap map) |
void |
Embeddable.setDataMap(DataMap dataMap) |
void |
Entity.setDataMap(DataMap dataMap)
Sets parent DataMap of this entity.
|
void |
Procedure.setDataMap(DataMap dataMap)
Sets parent DataMap of this entity.
|
void |
QueryDescriptor.setDataMap(DataMap dataMap) |
Modifier and Type | Method and Description |
---|---|
void |
EntityResolver.setDataMaps(Collection<DataMap> maps) |
Constructor and Description |
---|
EntityResolver(Collection<DataMap> dataMaps)
Creates new EntityResolver that indexes a collection of DataMaps.
|
Modifier and Type | Method and Description |
---|---|
void |
EmbeddableListener.embeddableAdded(EmbeddableEvent e,
DataMap map)
New EmbeddableAttribute has been created/added.
|
void |
EmbeddableListener.embeddableChanged(EmbeddableEvent e,
DataMap map)
EmbeddableAttribute property changed.
|
void |
EmbeddableListener.embeddableRemoved(EmbeddableEvent e,
DataMap map)
EmbeddableAttribute has been removed.
|
Modifier and Type | Field and Description |
---|---|
protected DataMap |
AbstractQuery.dataMap
Deprecated.
|
protected DataMap |
BatchQuery.dataMap
Deprecated.
|
protected DataMap |
EJBQLQuery.dataMap
Deprecated.
|
protected DataMap |
IndirectQuery.dataMap |
protected DataMap |
QueryChain.dataMap
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
DataMap |
AbstractQuery.getDataMap()
Deprecated.
|
DataMap |
BatchQuery.getDataMap()
Deprecated.
|
DataMap |
EJBQLQuery.getDataMap()
Deprecated.
|
DataMap |
IndirectQuery.getDataMap()
Deprecated.
|
DataMap |
Query.getDataMap()
Deprecated.
since 4.0,
QueryDescriptor.getDataMap() should be used instead |
DataMap |
QueryChain.getDataMap()
Deprecated.
|
DataMap |
QueryMetadata.getDataMap()
Returns a DataMap associated with a query or null if no such DataMap exists.
|
DataMap |
QueryMetadataProxy.getDataMap() |
DataMap |
RefreshQuery.getDataMap()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
QueryEngine |
QueryRouter.engineForDataMap(DataMap map)
Returns a QueryEngine that is configured to handle a given DataMap.
|
void |
AbstractQuery.setDataMap(DataMap dataMap)
Deprecated.
|
void |
BatchQuery.setDataMap(DataMap dataMap)
Deprecated.
|
void |
EJBQLQuery.setDataMap(DataMap dataMap)
Deprecated.
|
void |
IndirectQuery.setDataMap(DataMap dataMap)
Deprecated.
|
void |
QueryChain.setDataMap(DataMap dataMap)
Deprecated.
|
Constructor and Description |
---|
SQLTemplate(DataMap rootMap,
String defaultTemplate,
boolean isFetchingDataRows) |
Modifier and Type | Method and Description |
---|---|
static void |
DeleteRuleUpdater.updateDataMap(DataMap map)
Updates delete rules for all obj entities in a datamap
|
Copyright © 2001–2023 Apache Cayenne. All rights reserved.