Package | Description |
---|---|
org.apache.cayenne.access |
Contains classes that make up Cayenne ORM stack.
|
org.apache.cayenne.configuration | |
org.apache.cayenne.configuration.xml | |
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) |
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) |
Void |
EmptyConfigurationNodeVisitor.visitDataMap(DataMap dataMap) |
Modifier and Type | Method and Description |
---|---|
DataMap |
DataMapHandler.getDataMap() |
DataMap |
XMLDataMapLoader.load(Resource configurationResource) |
Modifier and Type | Method and Description |
---|---|
void |
LoaderContext.dataMapLoaded(DataMap dataMap) |
void |
DataMapLoaderListener.onDataMapLoaded(DataMap dataMap) |
Constructor and Description |
---|
DbEntityHandler(NamespaceAwareNestedTagHandler parentHandler,
DataMap dataMap) |
DbRelationshipHandler(NamespaceAwareNestedTagHandler parentHandler,
DataMap map) |
EmbeddableHandler(NamespaceAwareNestedTagHandler parentHandler,
DataMap map) |
ObjEntityHandler(NamespaceAwareNestedTagHandler parentHandler,
DataMap map) |
ObjRelationshipHandler(NamespaceAwareNestedTagHandler parentHandler,
DataMap map) |
ProcedureHandler(NamespaceAwareNestedTagHandler parentHandler,
DataMap map) |
QueryDescriptorHandler(NamespaceAwareNestedTagHandler parentHandler,
DataMap map) |
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.
|
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) |
void |
QueryDescriptorLoader.setRoot(DataMap dataMap,
String rootType,
String rootName)
Sets the information pertaining to the root of the query.
|
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 |
IndirectQuery.dataMap |
Modifier and Type | Method and Description |
---|---|
DataMap |
QueryMetadata.getDataMap()
Returns a DataMap associated with a query or null if no such DataMap exists.
|
DataMap |
QueryMetadataProxy.getDataMap() |
Modifier and Type | Method and Description |
---|---|
QueryEngine |
QueryRouter.engineForDataMap(DataMap map)
Returns a QueryEngine that is configured to handle a given DataMap.
|
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–2019 Apache Cayenne. All rights reserved.