Uses of Class
org.apache.cayenne.access.DataNode

Packages that use DataNode
org.apache.cayenne.access Contains classes that make up Cayenne ORM stack. 
org.apache.cayenne.access.dbsync   
org.apache.cayenne.conf Contains classes dealing with Cayenne configuration files. 
org.apache.cayenne.dba Contains database adapter API (DbAdapter) and its default implementation. 
org.apache.cayenne.dba.db2 IBM DB2 DbAdapter. 
org.apache.cayenne.dba.derby Apache Derby DbAdapter. 
org.apache.cayenne.dba.frontbase FrontBase DbAdapter. 
org.apache.cayenne.dba.hsqldb HSQLDB DbAdapter. 
org.apache.cayenne.dba.ingres   
org.apache.cayenne.dba.mysql MySQL DbAdapter. 
org.apache.cayenne.dba.openbase OpenBase DbAdapter. 
org.apache.cayenne.dba.oracle Oracle DbAdapter. 
org.apache.cayenne.dba.postgres PostgreSQL DbAdapter. 
org.apache.cayenne.dba.sqlite   
org.apache.cayenne.dba.sqlserver MS SQLServer DbAdapter. 
org.apache.cayenne.dba.sybase Sybase DbAdapter. 
org.apache.cayenne.map.event   
org.apache.cayenne.merge   
org.apache.cayenne.project Contains model classes used by CayenneModeler or any other MVC type of application to work with Cayenne project files. 
org.apache.cayenne.project.validator   
 

Uses of DataNode in org.apache.cayenne.access
 

Fields in org.apache.cayenne.access declared as DataNode
protected  DataNode DataPort.destinationNode
           
protected  DataNode DataPort.sourceNode
           
 

Fields in org.apache.cayenne.access with type parameters of type DataNode
protected  Map<String,DataNode> DataDomain.nodes
          Stores mapping of data nodes to DataNode name keys.
protected  Map<String,DataNode> DataDomain.nodesByDataMapName
           
 

Methods in org.apache.cayenne.access that return DataNode
 DataNode DataPort.getDestinationNode()
           
 DataNode DataDomain.getNode(String nodeName)
          Returns registered DataNode whose name matches name parameter.
 DataNode DataPort.getSourceNode()
           
 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 hanlde queries for all DataMap components.
 

Methods in org.apache.cayenne.access that return types with arguments of type DataNode
 Collection<DataNode> DataDomain.getDataNodes()
          Returns an unmodifiable collection of DataNodes associated with this domain.
 

Methods in org.apache.cayenne.access with parameters of type DataNode
 void DataDomain.addNode(DataNode node)
          Adds new DataNode.
 void DataPort.setDestinationNode(DataNode destinationNode)
          Sets the DataNode serving as a destination of the ported data.
 void DataPort.setSourceNode(DataNode sourceNode)
          Sets the DataNode serving as a source of the ported data.
 

Uses of DataNode in org.apache.cayenne.access.dbsync
 

Methods in org.apache.cayenne.access.dbsync with parameters of type DataNode
protected  Map<String,Boolean> CreateIfNoSchemaStrategy.getNameTablesInDB(DataNode dataNode)
          Returns all the table names in database.
protected abstract  void BaseSchemaUpdateStrategy.processSchemaUpdate(DataNode dataNode)
           
 void CreateIfNoSchemaStrategy.processSchemaUpdate(DataNode dataNode)
           
protected  void ThrowOnPartialSchemaStrategy.processSchemaUpdate(DataNode dataNode)
           
protected  void ThrowOnPartialOrCreateSchemaStrategy.processSchemaUpdate(DataNode dataNode, List<String> mergerOnlyTable, String errorMessage, int entitiesSize)
           
protected  void ThrowOnPartialSchemaStrategy.processSchemaUpdate(DataNode dataNode, List<String> mergerOnlyTable, String errorMessage, int entitiesSize)
           
 void BaseSchemaUpdateStrategy.updateSchema(DataNode dataNode)
           
 void SchemaUpdateStrategy.updateSchema(DataNode dataNode)
           
 void SkipSchemaUpdateStrategy.updateSchema(DataNode dataNode)
           
 

Uses of DataNode in org.apache.cayenne.conf
 

Methods in org.apache.cayenne.conf that return DataNode
protected  DataNode RuntimeLoadDelegate.createDataNode(String nodeName)
          Creates a new DataNode.
protected  DataNode RuntimeLoadDelegate.findNode(String domainName, String nodeName)
           
protected  DataNode RuntimeSaveDelegate.findNode(String domainName, String nodeName)
           
 

Methods in org.apache.cayenne.conf with parameters of type DataNode
protected  void RuntimeLoadDelegate.initAdapter(DataNode node, String adapterName)
          Intializes DataNode adapter.
 

Uses of DataNode in org.apache.cayenne.dba
 

Methods in org.apache.cayenne.dba with parameters of type DataNode
protected  boolean JdbcPkGenerator.autoPkTableExists(DataNode node)
          Checks if AUTO_PK_TABLE already exists in the database.
 void JdbcPkGenerator.createAutoPk(DataNode node, List<DbEntity> dbEntities)
           
 void PkGenerator.createAutoPk(DataNode node, List<DbEntity> dbEntities)
          Generates necessary database objects to provide automatic primary key support.
 void JdbcPkGenerator.dropAutoPk(DataNode node, List<DbEntity> dbEntities)
          Drops table named "AUTO_PK_SUPPORT" if it exists in the database.
 void PkGenerator.dropAutoPk(DataNode node, List<DbEntity> dbEntities)
          Drops any common database objects associated with automatic primary key generation process.
 Object JdbcPkGenerator.generatePk(DataNode node, DbAttribute pk)
          Generates a unique and non-repeating primary key for specified dbEntity.
 Object PkGenerator.generatePk(DataNode dataNode, DbAttribute pk)
          Generates a unique and non-repeating primary key for specified PK attribute.
 Object JdbcPkGenerator.generatePkForDbEntity(DataNode node, DbEntity ent)
          Deprecated. since 3.0
 Object PkGenerator.generatePkForDbEntity(DataNode dataNode, DbEntity ent)
          Deprecated. since 3.0 use PkGenerator.generatePk(DataNode, DbAttribute).
 SQLAction AutoAdapter.getAction(Query query, DataNode node)
           
 SQLAction DbAdapter.getAction(Query query, DataNode node)
          Returns an instance of SQLAction that should handle the query.
 SQLAction JdbcAdapter.getAction(Query query, DataNode node)
          Uses JdbcActionBuilder to create the right action.
protected  long JdbcPkGenerator.longPkFromDatabase(DataNode node, DbEntity entity)
          Performs primary key generation ignoring cache.
protected  int JdbcPkGenerator.pkFromDatabase(DataNode node, DbEntity ent)
          Deprecated. since 3.0 JdbcPkGenerator.longPkFromDatabase(DataNode, DbEntity) is used.
 int JdbcPkGenerator.runUpdate(DataNode node, String sql)
          Runs JDBC update over a Connection obtained from DataNode.
 

Uses of DataNode in org.apache.cayenne.dba.db2
 

Methods in org.apache.cayenne.dba.db2 with parameters of type DataNode
 void DB2PkGenerator.createAutoPk(DataNode node, List<DbEntity> dbEntities)
           
 void DB2PkGenerator.dropAutoPk(DataNode node, List<DbEntity> dbEntities)
          Drops PK sequences for all specified DbEntities.
protected  List<String> DB2PkGenerator.getExistingSequences(DataNode node)
          Fetches a list of existing sequences that might match Cayenne generated ones.
protected  long DB2PkGenerator.longPkFromDatabase(DataNode node, DbEntity entity)
           
protected  int DB2PkGenerator.pkFromDatabase(DataNode node, DbEntity ent)
          Deprecated. since 3.0
 

Uses of DataNode in org.apache.cayenne.dba.derby
 

Methods in org.apache.cayenne.dba.derby with parameters of type DataNode
protected  long DerbyPkGenerator.longPkFromDatabase(DataNode node, DbEntity entity)
           
protected  int DerbyPkGenerator.pkFromDatabase(DataNode node, DbEntity entity)
          Deprecated. since 3.0
 

Uses of DataNode in org.apache.cayenne.dba.frontbase
 

Methods in org.apache.cayenne.dba.frontbase with parameters of type DataNode
 void FrontBasePkGenerator.createAutoPk(DataNode node, List<DbEntity> dbEntities)
           
 void FrontBasePkGenerator.dropAutoPk(DataNode node, List<DbEntity> dbEntities)
           
 SQLAction FrontBaseAdapter.getAction(Query query, DataNode node)
          Uses special action builder to create the right action.
protected  long FrontBasePkGenerator.longPkFromDatabase(DataNode node, DbEntity entity)
           
protected  int FrontBasePkGenerator.pkFromDatabase(DataNode node, DbEntity entity)
          Deprecated. since 3.0
 

Uses of DataNode in org.apache.cayenne.dba.hsqldb
 

Methods in org.apache.cayenne.dba.hsqldb with parameters of type DataNode
 SQLAction HSQLDBAdapter.getAction(Query query, DataNode node)
          Uses special action builder to create the right action.
 

Uses of DataNode in org.apache.cayenne.dba.ingres
 

Methods in org.apache.cayenne.dba.ingres with parameters of type DataNode
protected  List<String> IngresPkGenerator.getExistingSequences(DataNode node)
           
protected  long IngresPkGenerator.longPkFromDatabase(DataNode node, DbEntity entity)
           
protected  int IngresPkGenerator.pkFromDatabase(DataNode node, DbEntity ent)
          Deprecated. since 3.0
 

Uses of DataNode in org.apache.cayenne.dba.mysql
 

Methods in org.apache.cayenne.dba.mysql with parameters of type DataNode
 SQLAction MySQLAdapter.getAction(Query query, DataNode node)
          Uses special action builder to create the right action.
protected  long MySQLPkGenerator.longPkFromDatabase(DataNode node, DbEntity entity)
          Overrides superclass's implementation to perform locking of the primary key lookup table.
protected  int MySQLPkGenerator.pkFromDatabase(DataNode node, DbEntity ent)
          Deprecated. since 3.0
 

Uses of DataNode in org.apache.cayenne.dba.openbase
 

Methods in org.apache.cayenne.dba.openbase with parameters of type DataNode
 void OpenBasePkGenerator.createAutoPk(DataNode node, List dbEntities)
           
 void OpenBasePkGenerator.dropAutoPk(DataNode node, List dbEntities)
           
 Object OpenBasePkGenerator.generatePk(DataNode node, DbAttribute pk)
          Returns a non-repeating primary key for a given PK attribute.
 Object OpenBasePkGenerator.generatePkForDbEntity(DataNode node, DbEntity entity)
          Deprecated. since 3.0
 SQLAction OpenBaseAdapter.getAction(Query query, DataNode node)
          Uses special action builder to create the right action.
protected  long OpenBasePkGenerator.longPkFromDatabase(DataNode node, DbEntity entity)
          Generates new (unique and non-repeating) primary key for specified DbEntity.
protected  int OpenBasePkGenerator.pkFromDatabase(DataNode node, DbEntity entity)
          Deprecated. since 3.0
 

Uses of DataNode in org.apache.cayenne.dba.oracle
 

Methods in org.apache.cayenne.dba.oracle with parameters of type DataNode
 void OraclePkGenerator.createAutoPk(DataNode node, List dbEntities)
           
 void OraclePkGenerator.dropAutoPk(DataNode node, List dbEntities)
           
 SQLAction Oracle8Adapter.getAction(Query query, DataNode node)
          Uses OracleActionBuilder to create the right action.
 SQLAction OracleAdapter.getAction(Query query, DataNode node)
          Uses OracleActionBuilder to create the right action.
protected  List OraclePkGenerator.getExistingSequences(DataNode node)
          Fetches a list of existing sequences that might match Cayenne generated ones.
protected  long OraclePkGenerator.longPkFromDatabase(DataNode node, DbEntity entity)
          Generates primary key by calling Oracle sequence corresponding to the dbEntity.
protected  int OraclePkGenerator.pkFromDatabase(DataNode node, DbEntity ent)
          Deprecated. since 3.0
 

Uses of DataNode in org.apache.cayenne.dba.postgres
 

Methods in org.apache.cayenne.dba.postgres with parameters of type DataNode
 SQLAction PostgresAdapter.getAction(Query query, DataNode node)
          Uses PostgresActionBuilder to create the right action.
protected  List<String> PostgresPkGenerator.getExistingSequences(DataNode node)
          Fetches a list of existing sequences that might match Cayenne generated ones.
protected  long PostgresPkGenerator.longPkFromDatabase(DataNode node, DbEntity entity)
           
protected  int PostgresPkGenerator.pkFromDatabase(DataNode node, DbEntity ent)
          Deprecated. since 3.0
 

Uses of DataNode in org.apache.cayenne.dba.sqlite
 

Methods in org.apache.cayenne.dba.sqlite with parameters of type DataNode
 SQLAction SQLiteAdapter.getAction(Query query, DataNode node)
           
 

Uses of DataNode in org.apache.cayenne.dba.sqlserver
 

Methods in org.apache.cayenne.dba.sqlserver with parameters of type DataNode
 SQLAction SQLServerAdapter.getAction(Query query, DataNode node)
          Uses SQLServerActionBuilder to create the right action.
 

Uses of DataNode in org.apache.cayenne.dba.sybase
 

Methods in org.apache.cayenne.dba.sybase with parameters of type DataNode
 void SybasePkGenerator.createAutoPk(DataNode node, List<DbEntity> dbEntities)
          Generates database objects to provide automatic primary key support.
 void SybasePkGenerator.dropAutoPk(DataNode node, List<DbEntity> dbEntities)
          Drops database objects related to automatic primary key support.
protected  long SybasePkGenerator.longPkFromDatabase(DataNode node, DbEntity entity)
           
protected  int SybasePkGenerator.pkFromDatabase(DataNode node, DbEntity ent)
          Deprecated. since 3.0
 

Uses of DataNode in org.apache.cayenne.map.event
 

Fields in org.apache.cayenne.map.event declared as DataNode
protected  DataNode DataNodeEvent.dataNode
           
 

Methods in org.apache.cayenne.map.event that return DataNode
 DataNode DataNodeEvent.getDataNode()
          Returns node object associated with this event.
 

Methods in org.apache.cayenne.map.event with parameters of type DataNode
 void DataNodeEvent.setDataNode(DataNode dataNode)
          Sets the dataNode.
 

Constructors in org.apache.cayenne.map.event with parameters of type DataNode
DataNodeEvent(Object src, DataNode node)
          Creates a node change event.
DataNodeEvent(Object src, DataNode node, int id)
          Creates a node event of a specified type.
DataNodeEvent(Object src, DataNode node, String oldName)
          Creates a node name change event.
 

Uses of DataNode in org.apache.cayenne.merge
 

Methods in org.apache.cayenne.merge that return DataNode
 DataNode ExecutingMergerContext.getDataNode()
           
 DataNode MergerContext.getDataNode()
           
 

Methods in org.apache.cayenne.merge with parameters of type DataNode
 List<MergerToken> DbMerger.createMergeTokens(DataNode dataNode, DataMap dataMap)
          Create and return a List of MergerTokens to alter the given DataNode to match the given DataMap
 

Constructors in org.apache.cayenne.merge with parameters of type DataNode
ExecutingMergerContext(DataMap map, DataNode node)
           
 

Uses of DataNode in org.apache.cayenne.project
 

Fields in org.apache.cayenne.project declared as DataNode
protected  DataNode DataNodeFile.nodeObj
           
 

Methods in org.apache.cayenne.project that return DataNode
 DataNode DataNodeConfigInfo.findDataNode(Configuration config)
          Deprecated. Searches for the DataNode described by this DataNodeConfigInfo in the provided configuration object.
 

Constructors in org.apache.cayenne.project with parameters of type DataNode
DataNodeFile(Project project, DataNode node)
          Constructor for DataNodeFile.
 

Uses of DataNode in org.apache.cayenne.project.validator
 

Methods in org.apache.cayenne.project.validator with parameters of type DataNode
protected  void DataNodeValidator.validateConnection(DataNode node, ProjectPath path, Validator validator)
           
protected  void DataNodeValidator.validateName(DataNode node, ProjectPath path, Validator validator)
           
 



Copyright © 2001-2011 Apache Cayenne. All Rights Reserved.