Uses of Class
org.apache.cayenne.map.DataMap
Package
Description
Contains classes that make up Cayenne ORM stack.
Contains database adapter API (DbAdapter) and its default implementation.
Contains O/R mapping classes that store relational database
metadata information and map it to Java classes.
Defines standard queries supported by Cayenne and extension mechanism to create
custom queries.
General utility classes.
-
Uses of DataMap in org.apache.cayenne.access
Modifier and TypeMethodDescriptionDataDomain.getDataMap
(String mapName) DataNode.getDataMap
(String name) Returns datamap with specified name, null if none presentModifier and TypeMethodDescriptionDataDomain.getDataMaps()
Returns a collection of registered DataMaps.DataNode.getDataMaps()
Returns an unmodifiable collection of DataMaps handled by this DataNode.Modifier and TypeMethodDescriptionvoid
DataDomain.addDataMap
(DataMap dataMap) void
DataNode.addDataMap
(DataMap map) Adds a DataMap to be handled by this node.DataDomain.lookupDataNode
(DataMap map) Returns a DataNode that should handle queries for all entities in a DataMap.DataNode.lookupDataNode
(DataMap dataMap) Returns a DataNode that should handle queries for all DataMap components.void
DataNode.removeDataMap
(DataMap map) ModifierConstructorDescriptionDbGenerator
(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) -
Uses of DataMap in org.apache.cayenne.configuration
Modifier and TypeMethodDescriptionBaseConfigurationNodeVisitor.visitDataMap
(DataMap dataMap) ConfigurationNodeVisitor.visitDataMap
(DataMap dataMap) EmptyConfigurationNodeVisitor.visitDataMap
(DataMap dataMap) -
Uses of DataMap in org.apache.cayenne.configuration.xml
Modifier and TypeMethodDescriptionvoid
LoaderContext.dataMapLoaded
(DataMap dataMap) void
DataMapLoaderListener.onDataMapLoaded
(DataMap dataMap) ModifierConstructorDescriptionDbEntityHandler
(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) -
Uses of DataMap in org.apache.cayenne.dba
Modifier and TypeMethodDescriptionvoid
DefaultQuotingStrategy.quotedIdentifier
(DataMap dataMap, CharSequence identifier, Appendable appender) DefaultQuotingStrategy.quotedIdentifier
(DataMap dataMap, String... identifierParts) void
QuotingStrategy.quotedIdentifier
(DataMap dataMap, CharSequence identifier, Appendable appender) Append quoted identifier to provided appenderQuotingStrategy.quotedIdentifier
(DataMap dataMap, String... identifierParts) -
Uses of DataMap in org.apache.cayenne.map
Modifier and TypeFieldDescriptionprotected DataMap
Embeddable.dataMap
protected DataMap
Entity.dataMap
protected DataMap
Procedure.dataMap
protected DataMap
QueryDescriptor.dataMap
protected DataMap
QueryDescriptorLoader.dataMap
Modifier and TypeMethodDescriptionDataMap.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.Embeddable.getDataMap()
Entity.getDataMap()
EntityResolver.getDataMap
(String mapName) Returns a DataMap matching the name.Procedure.getDataMap()
QueryDescriptor.getDataMap()
Modifier and TypeMethodDescriptionEntityResolver.getDataMaps()
Returns an unmodifiable collection of DataMaps.Modifier and TypeMethodDescriptionvoid
EntityResolver.addDataMap
(DataMap map) int
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
Sets the information pertaining to the root of the query.ModifierConstructorDescriptionEntityResolver
(Collection<DataMap> dataMaps) Creates new EntityResolver that indexes a collection of DataMaps. -
Uses of DataMap in org.apache.cayenne.map.event
Modifier and TypeMethodDescriptionvoid
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. -
Uses of DataMap in org.apache.cayenne.query
Modifier and TypeMethodDescriptionQueryMetadata.getDataMap()
Returns a DataMap associated with a query or null if no such DataMap exists.QueryMetadataProxy.getDataMap()
Modifier and TypeMethodDescriptionQueryRouter.engineForDataMap
(DataMap map) Returns a QueryEngine that is configured to handle a given DataMap.ModifierConstructorDescriptionSQLTemplate
(DataMap rootMap, String defaultTemplate, boolean isFetchingDataRows) -
Uses of DataMap in org.apache.cayenne.util
Modifier and TypeMethodDescriptionstatic void
DeleteRuleUpdater.updateDataMap
(DataMap map) Updates delete rules for all obj entities in a datamap