Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
org.apache.cayenne.map.DbAttribute

Packages that use DbAttribute
org.apache.cayenne.access | Contains classes that make up Cayenne ORM stack.
org.apache.cayenne.access.jdbc | Contains classes that handle JDBC interactions.
org.apache.cayenne.access.trans | Provides translators for Cayenne queries.
org.apache.cayenne.configuration |
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.h2 |
org.apache.cayenne.dba.hsqldb | HSQLDB DbAdapter.
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.log |
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.naming |
org.apache.cayenne.merge |
org.apache.cayenne.query | Defines standard queries supported by Cayenne and extension mechanism to create custom queries.
org.apache.cayenne.util | General utility classes.

Uses of DbAttribute in org.apache.cayenne.access

Methods in org.apache.cayenne.access with parameters of type DbAttribute
`static void` | `QueryLogger.logGeneratedKey(DbAttribute attribute, Object value)` Deprecated.

Method parameters in org.apache.cayenne.access with type arguments of type DbAttribute
`static void` | `QueryLogger.logQuery(String queryStr, List<DbAttribute> attrs, List<?> params, long time)` Deprecated. Log query content using Log4J Category with "INFO" priority.
`static void` | `QueryLogger.logQueryParameters(String label, List<DbAttribute> attrs, List<Object> parameters, boolean isInserting)` Deprecated.

Uses of DbAttribute in org.apache.cayenne.access.jdbc

Methods in org.apache.cayenne.access.jdbc with parameters of type DbAttribute
`void` | `EJBQLSelectColumnsTranslator.appendColumn(String javaType, String alias, DbAttribute dbAttribute, String columnAlias)`
`protected void` | `EJBQLDbPathTranslator.processTerminatingAttribute(DbAttribute attribute)`

Constructors in org.apache.cayenne.access.jdbc with parameters of type DbAttribute
`ColumnDescriptor(DbAttribute attribute, String tableAlias)` Creates a ColumnDescriptor from Cayenne DbAttribute.
`ColumnDescriptor(ObjAttribute objAttribute, DbAttribute dbAttribute, String columnAlias)`

Uses of DbAttribute in org.apache.cayenne.access.trans

Fields in org.apache.cayenne.access.trans with type parameters of type DbAttribute
`protected Map<String,DbAttribute>` | `DataObjectMatchTranslator.attributes`
`protected List<DbAttribute>` | `QueryAssembler.attributes` PreparedStatement attributes matching entries in `values` list.
`protected List<DbAttribute>` | `LOBBatchQueryWrapper.dbAttributes`

Methods in org.apache.cayenne.access.trans that return DbAttribute
`DbAttribute` | `DataObjectMatchTranslator.getAttribute(String key)`
`protected DbAttribute` | `QueryAssemblerHelper.paramsDbType(Expression e)` Returns database type of expression parameters or null if it can not be determined.

Methods in org.apache.cayenne.access.trans that return types with arguments of type DbAttribute
`List<DbAttribute>` | `LOBBatchQueryWrapper.getDbAttributesForLOBSelectQualifier()` Returns a list of DbAttributes used in the qualifier of the query that selects a LOB row for LOB update.
`List<DbAttribute>` | `LOBBatchQueryWrapper.getDbAttributesForUpdatedLOBColumns()` Returns a list of DbAttributes that correspond to the LOB columns updated in the current row in the batch query.

Methods in org.apache.cayenne.access.trans with parameters of type DbAttribute
`void` | `QueryAssembler.addToParamList(DbAttribute dbAttr, Object anObject)` Registers `anObject` as a PreparedStatement parameter.
`protected void` | `BatchQueryBuilder.appendDbAttribute(StringBuffer buf, DbAttribute dbAttribute)` Appends the name of the column to the query buffer.
`protected void` | `QualifierTranslator.appendLiteral(Object val, DbAttribute attr, Expression parentExpression)`
`protected void` | `QueryAssemblerHelper.appendLiteral(Object val, DbAttribute attr, Expression parentExpression)` Appends SQL code to the query buffer to handle `val` as a parameter to the PreparedStatement being built.
`protected void` | `QueryAssemblerHelper.appendLiteralDirect(Object val, DbAttribute attr, Expression parentExpression)` Appends SQL code to the query buffer to handle `val` as a parameter to the PreparedStatement being built.
`protected void` | `LOBBatchQueryBuilder.appendUpdatedParameter(StringBuffer buf, DbAttribute dbAttribute, Object value)` Appends parameter placeholder for the value of the column being updated.
`protected boolean` | `InsertBatchQueryBuilder.includeInBatch(DbAttribute attribute)` Returns true if an attribute should be included in the batch.
`protected void` | `QueryAssemblerHelper.processColumn(DbAttribute dbAttr)`
`protected void` | `TrimmingQualifierTranslator.processColumn(DbAttribute dbAttr)` Adds special handling of CHAR columns.
`protected void` | `QueryAssemblerHelper.processColumnWithQuoteSqlIdentifiers(DbAttribute dbAttr, Expression pathExp)`
`protected void` | `TrimmingQualifierTranslator.processColumnWithQuoteSqlIdentifiers(DbAttribute dbAttr, Expression pathExp)` Adds special handling of CHAR columns.

Uses of DbAttribute in org.apache.cayenne.configuration

Methods in org.apache.cayenne.configuration with parameters of type DbAttribute
`T` | `BaseConfigurationNodeVisitor.visitDbAttribute(DbAttribute attribute)`
`T` | `ConfigurationNodeVisitor.visitDbAttribute(DbAttribute attribute)`

Uses of DbAttribute in org.apache.cayenne.dba

Methods in org.apache.cayenne.dba that return DbAttribute
`DbAttribute` | `AutoAdapter.buildAttribute(String name, String typeName, int type, int size, int precision, boolean allowNulls)`
`DbAttribute` | `DbAdapter.buildAttribute(String name, String typeName, int type, int size, int scale, boolean allowNulls)` Creates and returns a DbAttribute based on supplied parameters (usually obtained from database meta data).
`DbAttribute` | `JdbcAdapter.buildAttribute(String name, String typeName, int type, int size, int scale, boolean allowNulls)`

Methods in org.apache.cayenne.dba with parameters of type DbAttribute
`void` | `AutoAdapter.createTableAppendColumn(StringBuffer sqlBuffer, DbAttribute column)`
`void` | `DbAdapter.createTableAppendColumn(StringBuffer sqlBuffer, DbAttribute column)` Append the column type part of a "create table" to the given `StringBuffer`
`void` | `JdbcAdapter.createTableAppendColumn(StringBuffer sqlBuffer, DbAttribute column)` Appends SQL for column creation to CREATE TABLE buffer.
`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.

Method parameters in org.apache.cayenne.dba with type arguments of type DbAttribute
`String` | `AutoAdapter.createUniqueConstraint(DbEntity source, Collection<DbAttribute> columns)`
`String` | `DbAdapter.createUniqueConstraint(DbEntity source, Collection<DbAttribute> columns)` Returns a DDL string to create a unique constraint over a set of columns, or null if the unique constraints are not supported.
`String` | `JdbcAdapter.createUniqueConstraint(DbEntity source, Collection<DbAttribute> columns)` Returns a DDL string to create a unique constraint over a set of columns.

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

Methods in org.apache.cayenne.dba.db2 with parameters of type DbAttribute
`protected void` | `DB2QualifierTranslator.appendLiteralDirect(Object val, DbAttribute attr, Expression parentExpression)`
`MergerToken` | `DB2MergerFactory.createSetColumnTypeToDb(DbEntity entity, DbAttribute columnOriginal, DbAttribute columnNew)`

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

Methods in org.apache.cayenne.dba.derby with parameters of type DbAttribute
`MergerToken` | `DerbyMergerFactory.createSetAllowNullToDb(DbEntity entity, DbAttribute column)`
`MergerToken` | `DerbyMergerFactory.createSetColumnTypeToDb(DbEntity entity, DbAttribute columnOriginal, DbAttribute columnNew)`
`MergerToken` | `DerbyMergerFactory.createSetNotNullToDb(DbEntity entity, DbAttribute column)`
`void` | `DerbyAdapter.createTableAppendColumn(StringBuffer sqlBuffer, DbAttribute column)` Appends SQL for column creation to CREATE TABLE buffer.
`protected void` | `DerbyQualifierTranslator.processColumnWithQuoteSqlIdentifiers(DbAttribute dbAttr, Expression pathExp)`

Uses of DbAttribute in org.apache.cayenne.dba.h2

Methods in org.apache.cayenne.dba.h2 with parameters of type DbAttribute
`MergerToken` | `H2MergerFactory.createSetAllowNullToDb(DbEntity entity, DbAttribute column)`
`MergerToken` | `H2MergerFactory.createSetColumnTypeToDb(DbEntity entity, DbAttribute columnOriginal, DbAttribute columnNew)`
`void` | `H2Adapter.createTableAppendColumn(StringBuffer sqlBuffer, DbAttribute column)`

Method parameters in org.apache.cayenne.dba.h2 with type arguments of type DbAttribute
`MergerToken` | `H2MergerFactory.createSetPrimaryKeyToDb(DbEntity entity, Collection<DbAttribute> primaryKeyOriginal, Collection<DbAttribute> primaryKeyNew, String detectedPrimaryKeyName)`
`MergerToken` | `H2MergerFactory.createSetPrimaryKeyToDb(DbEntity entity, Collection<DbAttribute> primaryKeyOriginal, Collection<DbAttribute> primaryKeyNew, String detectedPrimaryKeyName)`

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

Methods in org.apache.cayenne.dba.hsqldb with parameters of type DbAttribute
`MergerToken` | `HSQLMergerFactory.createSetAllowNullToDb(DbEntity entity, DbAttribute column)`
`MergerToken` | `HSQLMergerFactory.createSetColumnTypeToDb(DbEntity entity, DbAttribute columnOriginal, DbAttribute columnNew)`
`void` | `HSQLDBAdapter.createTableAppendColumn(StringBuffer sqlBuffer, DbAttribute column)`

Method parameters in org.apache.cayenne.dba.hsqldb with type arguments of type DbAttribute
`MergerToken` | `HSQLMergerFactory.createSetPrimaryKeyToDb(DbEntity entity, Collection<DbAttribute> primaryKeyOriginal, Collection<DbAttribute> primaryKeyNew, String detectedPrimaryKeyName)`
`MergerToken` | `HSQLMergerFactory.createSetPrimaryKeyToDb(DbEntity entity, Collection<DbAttribute> primaryKeyOriginal, Collection<DbAttribute> primaryKeyNew, String detectedPrimaryKeyName)`
`String` | `HSQLDBAdapter.createUniqueConstraint(DbEntity source, Collection<DbAttribute> columns)` Returns a DDL string to create a unique constraint over a set of columns.

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

Methods in org.apache.cayenne.dba.mysql that return DbAttribute
`DbAttribute` | `MySQLAdapter.buildAttribute(String name, String typeName, int type, int size, int precision, boolean allowNulls)`

Methods in org.apache.cayenne.dba.mysql with parameters of type DbAttribute
`MergerToken` | `MySQLMergerFactory.createSetAllowNullToDb(DbEntity entity, DbAttribute column)`
`MergerToken` | `MySQLMergerFactory.createSetColumnTypeToDb(DbEntity entity, DbAttribute columnOriginal, DbAttribute columnNew)`
`MergerToken` | `MySQLMergerFactory.createSetNotNullToDb(DbEntity entity, DbAttribute column)`
`void` | `MySQLAdapter.createTableAppendColumn(StringBuffer sqlBuffer, DbAttribute column)` Appends AUTO_INCREMENT clause to the column definition for generated columns.

Method parameters in org.apache.cayenne.dba.mysql with type arguments of type DbAttribute
`MergerToken` | `MySQLMergerFactory.createSetPrimaryKeyToDb(DbEntity entity, Collection<DbAttribute> primaryKeyOriginal, Collection<DbAttribute> primaryKeyNew, String detectedPrimaryKeyName)`
`MergerToken` | `MySQLMergerFactory.createSetPrimaryKeyToDb(DbEntity entity, Collection<DbAttribute> primaryKeyOriginal, Collection<DbAttribute> primaryKeyNew, String detectedPrimaryKeyName)`

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

Methods in org.apache.cayenne.dba.openbase that return DbAttribute
`DbAttribute` | `OpenBaseAdapter.buildAttribute(String name, String typeName, int type, int size, int scale, boolean allowNulls)`

Methods in org.apache.cayenne.dba.openbase with parameters of type DbAttribute
`protected void` | `OpenBaseQualifierTranslator.appendLiteralDirect(Object val, DbAttribute attr, Expression parentExpression)`
`MergerToken` | `OpenBaseMergerFactory.createSetAllowNullToDb(DbEntity entity, DbAttribute column)`
`MergerToken` | `OpenBaseMergerFactory.createSetColumnTypeToDb(DbEntity entity, DbAttribute columnOriginal, DbAttribute columnNew)`
`MergerToken` | `OpenBaseMergerFactory.createSetNotNullToDb(DbEntity entity, DbAttribute column)`
`Object` | `OpenBasePkGenerator.generatePk(DataNode node, DbAttribute pk)` Returns a non-repeating primary key for a given PK attribute.

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

Methods in org.apache.cayenne.dba.oracle that return DbAttribute
`DbAttribute` | `OracleAdapter.buildAttribute(String name, String typeName, int type, int size, int scale, boolean allowNulls)` Fixes some reverse engineering problems.

Methods in org.apache.cayenne.dba.oracle with parameters of type DbAttribute
`MergerToken` | `OracleMergerFactory.createAddColumnToDb(DbEntity entity, DbAttribute column)`
`MergerToken` | `OracleMergerFactory.createSetAllowNullToDb(DbEntity entity, DbAttribute column)`
`MergerToken` | `OracleMergerFactory.createSetColumnTypeToDb(DbEntity entity, DbAttribute columnOriginal, DbAttribute columnNew)`
`MergerToken` | `OracleMergerFactory.createSetNotNullToDb(DbEntity entity, DbAttribute column)`

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

Methods in org.apache.cayenne.dba.postgres that return DbAttribute
`DbAttribute` | `PostgresAdapter.buildAttribute(String name, String typeName, int type, int size, int scale, boolean allowNulls)`

Methods in org.apache.cayenne.dba.postgres with parameters of type DbAttribute
`MergerToken` | `PostgresMergerFactory.createSetColumnTypeToDb(DbEntity entity, DbAttribute columnOriginal, DbAttribute columnNew)`

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

Methods in org.apache.cayenne.dba.sqlite with parameters of type DbAttribute
`void` | `SQLiteAdapter.createTableAppendColumn(StringBuffer sqlBuffer, DbAttribute column)` Appends AUTOINCREMENT clause to the column definition for generated columns.

Method parameters in org.apache.cayenne.dba.sqlite with type arguments of type DbAttribute
`String` | `SQLiteAdapter.createUniqueConstraint(DbEntity source, Collection<DbAttribute> columns)`

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

Methods in org.apache.cayenne.dba.sqlserver with parameters of type DbAttribute
`MergerToken` | `SQLServerMergerFactory.createAddColumnToDb(DbEntity entity, DbAttribute column)`
`MergerToken` | `SQLServerMergerFactory.createSetAllowNullToDb(DbEntity entity, DbAttribute column)`
`MergerToken` | `SQLServerMergerFactory.createSetColumnTypeToDb(DbEntity entity, DbAttribute columnOriginal, DbAttribute columnNew)`
`MergerToken` | `SQLServerMergerFactory.createSetNotNullToDb(DbEntity entity, DbAttribute column)`
`void` | `SQLServerAdapter.createTableAppendColumn(StringBuffer sqlBuffer, DbAttribute column)` Overrides super implementation to correctly set up identity columns.

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

Methods in org.apache.cayenne.dba.sybase with parameters of type DbAttribute
`MergerToken` | `SybaseMergerFactory.createAddColumnToDb(DbEntity entity, DbAttribute column)`
`MergerToken` | `SybaseMergerFactory.createDropColumnToDb(DbEntity entity, DbAttribute column)`
`MergerToken` | `SybaseMergerFactory.createSetAllowNullToDb(DbEntity entity, DbAttribute column)`
`MergerToken` | `SybaseMergerFactory.createSetColumnTypeToDb(DbEntity entity, DbAttribute columnOriginal, DbAttribute columnNew)`
`MergerToken` | `SybaseMergerFactory.createSetNotNullToDb(DbEntity entity, DbAttribute column)`

Uses of DbAttribute in org.apache.cayenne.log

Methods in org.apache.cayenne.log with parameters of type DbAttribute
`void` | `CommonsJdbcEventLogger.logGeneratedKey(DbAttribute attribute, Object value)`
`void` | `JdbcEventLogger.logGeneratedKey(DbAttribute attribute, Object value)`

Method parameters in org.apache.cayenne.log with type arguments of type DbAttribute
`void` | `CommonsJdbcEventLogger.logQuery(String queryStr, List<DbAttribute> attrs, List<?> params, long time)`
`void` | `FormattedCommonsJdbcEventLogger.logQuery(String queryStr, List<DbAttribute> attrs, List<?> params, long time)`
`void` | `JdbcEventLogger.logQuery(String sql, List<DbAttribute> attrs, List<?> params, long time)`
`void` | `CommonsJdbcEventLogger.logQueryParameters(String label, List<DbAttribute> attrs, List<Object> parameters, boolean isInserting)`
`void` | `JdbcEventLogger.logQueryParameters(String label, List<DbAttribute> attrs, List<Object> parameters, boolean isInserting)`

Uses of DbAttribute in org.apache.cayenne.map

Fields in org.apache.cayenne.map with type parameters of type DbAttribute
`protected Collection<DbAttribute>` | `DbEntity.generatedAttributes`
`protected Collection<DbAttribute>` | `DbEntity.primaryKey`

Methods in org.apache.cayenne.map that return DbAttribute
`DbAttribute` | `ObjAttribute.getDbAttribute()` Returns a DbAttribute mapped by this ObjAttribute.
`DbAttribute` | `DbJoin.getSource()` Returns DbAttribute on on the left side of the join.
`DbAttribute` | `DbJoin.getTarget()`

Methods in org.apache.cayenne.map that return types with arguments of type DbAttribute
`Collection<DbAttribute>` | `DbEntity.getAttributes()` Returns a Collection of all attributes that either belong to this DbEntity or inherited.
`Collection<DbAttribute>` | `DbEntity.getGeneratedAttributes()` Returns an unmodifiable collection of DbAttributes that are generated by the database.
`Collection<DbAttribute>` | `DbEntity.getPrimaryKeys()` Returns an unmodifiable collection of DbAttributes representing the primary key of the table described by this DbEntity.
`Collection<DbAttribute>` | `DbRelationship.getSourceAttributes()` Returns a Collection of source attributes.
`Collection<DbAttribute>` | `DbRelationship.getTargetAttributes()` Returns a Collection of target attributes.
`PathComponent<DbAttribute,DbRelationship>` | `DbEntity.lastPathComponent(Expression path, Map aliasMap)`
`Iterable<PathComponent<DbAttribute,DbRelationship>>` | `DbEntity.resolvePath(Expression pathExp, Map aliasMap)` Returns an Iterable instance over expression path components based on this entity.

Methods in org.apache.cayenne.map with parameters of type DbAttribute
`void` | `DbEntity.addAttribute(DbAttribute attr)` Adds a new attribute to this entity.
`ObjAttribute` | `ObjEntity.getAttributeForDbAttribute(DbAttribute dbAttribute)` Returns ObjAttribute of this entity that maps to `dbAttribute` parameter.

Uses of DbAttribute in org.apache.cayenne.map.naming

Methods in org.apache.cayenne.map.naming with parameters of type DbAttribute
`String` | `BasicNamingStrategy.createObjAttributeName(DbAttribute attr)`
`String` | `NamingStrategy.createObjAttributeName(DbAttribute attr)` Creates new name for Obj Attribute

Uses of DbAttribute in org.apache.cayenne.merge

Methods in org.apache.cayenne.merge that return DbAttribute
`DbAttribute` | `SetColumnTypeToDb.getColumnNew()`
`DbAttribute` | `SetColumnTypeToModel.getColumnNew()`
`DbAttribute` | `SetColumnTypeToDb.getColumnOriginal()`
`DbAttribute` | `SetColumnTypeToModel.getColumnOriginal()`

Methods in org.apache.cayenne.merge with parameters of type DbAttribute
`MergerToken` | `MergerFactory.createAddColumnToDb(DbEntity entity, DbAttribute column)`
`MergerToken` | `MergerFactory.createAddColumnToModel(DbEntity entity, DbAttribute column)`
`MergerToken` | `MergerFactory.createDropColumnToDb(DbEntity entity, DbAttribute column)`
`MergerToken` | `MergerFactory.createDropColumnToModel(DbEntity entity, DbAttribute column)`
`MergerToken` | `MergerFactory.createSetAllowNullToDb(DbEntity entity, DbAttribute column)`
`MergerToken` | `MergerFactory.createSetAllowNullToModel(DbEntity entity, DbAttribute column)`
`MergerToken` | `MergerFactory.createSetColumnTypeToDb(DbEntity entity, DbAttribute columnOriginal, DbAttribute columnNew)`
`MergerToken` | `MergerFactory.createSetColumnTypeToModel(DbEntity entity, DbAttribute columnOriginal, DbAttribute columnNew)`
`MergerToken` | `MergerFactory.createSetNotNullToDb(DbEntity entity, DbAttribute column)`
`MergerToken` | `MergerFactory.createSetNotNullToModel(DbEntity entity, DbAttribute column)`
`MergerToken` | `MergerFactory.createSetValueForNullToDb(DbEntity entity, DbAttribute column, ValueForNullProvider valueForNullProvider)`
`List<String>` | `DefaultValueForNullProvider.createSql(DbEntity entity, DbAttribute column)`
`List<String>` | `ValueForNullProvider.createSql(DbEntity entity, DbAttribute column)`
`void` | `ModelMergeDelegate.dbAttributeAdded(DbAttribute att)`
`void` | `ModelMergeDelegate.dbAttributeModified(DbAttribute att)`
`void` | `ModelMergeDelegate.dbAttributeRemoved(DbAttribute att)`
`protected ParameterBinding` | `DefaultValueForNullProvider.get(DbEntity entity, DbAttribute column)`
`boolean` | `DefaultValueForNullProvider.hasValueFor(DbEntity entity, DbAttribute column)`
`boolean` | `ValueForNullProvider.hasValueFor(DbEntity entity, DbAttribute column)`
`void` | `DefaultValueForNullProvider.set(DbEntity entity, DbAttribute column, Object value, int type)`

Method parameters in org.apache.cayenne.merge with type arguments of type DbAttribute
`MergerToken` | `MergerFactory.createSetPrimaryKeyToDb(DbEntity entity, Collection<DbAttribute> primaryKeyOriginal, Collection<DbAttribute> primaryKeyNew, String detectedPrimaryKeyName)`
`MergerToken` | `MergerFactory.createSetPrimaryKeyToDb(DbEntity entity, Collection<DbAttribute> primaryKeyOriginal, Collection<DbAttribute> primaryKeyNew, String detectedPrimaryKeyName)`
`MergerToken` | `MergerFactory.createSetPrimaryKeyToModel(DbEntity entity, Collection<DbAttribute> primaryKeyOriginal, Collection<DbAttribute> primaryKeyNew, String detectedPrimaryKeyName)`
`MergerToken` | `MergerFactory.createSetPrimaryKeyToModel(DbEntity entity, Collection<DbAttribute> primaryKeyOriginal, Collection<DbAttribute> primaryKeyNew, String detectedPrimaryKeyName)`

Constructors in org.apache.cayenne.merge with parameters of type DbAttribute
`AddColumnToDb(DbEntity entity, DbAttribute column)`
`AddColumnToModel(DbEntity entity, DbAttribute column)`
`DropColumnToDb(DbEntity entity, DbAttribute column)`
`DropColumnToModel(DbEntity entity, DbAttribute column)`
`SetAllowNullToDb(DbEntity entity, DbAttribute column)`
`SetAllowNullToModel(DbEntity entity, DbAttribute column)`
`SetColumnTypeToDb(DbEntity entity, DbAttribute columnOriginal, DbAttribute columnNew)`
`SetColumnTypeToModel(DbEntity entity, DbAttribute columnOriginal, DbAttribute columnNew)`
`SetNotNullToDb(DbEntity entity, DbAttribute column)`
`SetNotNullToModel(DbEntity entity, DbAttribute column)`
`SetValueForNullToDb(DbEntity entity, DbAttribute column, ValueForNullProvider valueForNullProvider)`

Constructor parameters in org.apache.cayenne.merge with type arguments of type DbAttribute
`SetPrimaryKeyToDb(DbEntity entity, Collection<DbAttribute> primaryKeyOriginal, Collection<DbAttribute> primaryKeyNew, String detectedPrimaryKeyName)`
`SetPrimaryKeyToDb(DbEntity entity, Collection<DbAttribute> primaryKeyOriginal, Collection<DbAttribute> primaryKeyNew, String detectedPrimaryKeyName)`
`SetPrimaryKeyToModel(DbEntity entity, Collection<DbAttribute> primaryKeyOriginal, Collection<DbAttribute> primaryKeyNew, String detectedPrimaryKeyName)`
`SetPrimaryKeyToModel(DbEntity entity, Collection<DbAttribute> primaryKeyOriginal, Collection<DbAttribute> primaryKeyNew, String detectedPrimaryKeyName)`

Uses of DbAttribute in org.apache.cayenne.query

Fields in org.apache.cayenne.query with type parameters of type DbAttribute
`protected List<DbAttribute>` | `DeleteBatchQuery.dbAttributes`
`protected List<DbAttribute>` | `InsertBatchQuery.dbAttributes`

Methods in org.apache.cayenne.query that return types with arguments of type DbAttribute
`abstract List<DbAttribute>` | `BatchQuery.getDbAttributes()` Returns a list of DbAttributes describing batch parameters.
`List<DbAttribute>` | `DeleteBatchQuery.getDbAttributes()`
`List<DbAttribute>` | `InsertBatchQuery.getDbAttributes()`
`List<DbAttribute>` | `UpdateBatchQuery.getDbAttributes()`
`Collection<DbAttribute>` | `DeleteBatchQuery.getQualifierAttributes()`
`List<DbAttribute>` | `UpdateBatchQuery.getQualifierAttributes()`
`List<DbAttribute>` | `UpdateBatchQuery.getUpdatedAttributes()`

Methods in org.apache.cayenne.query with parameters of type DbAttribute
`protected Object` | `BatchQuery.getValue(Map<String,Object> valueMap, DbAttribute attribute)` A helper method used by subclasses to resolve deferred values on demand.
`boolean` | `DeleteBatchQuery.isNull(DbAttribute attribute)` Returns true if a given attribute always has a null value in the batch.
`boolean` | `UpdateBatchQuery.isNull(DbAttribute attribute)` Returns true if a given attribute always has a null value in the batch.

Constructor parameters in org.apache.cayenne.query with type arguments of type DbAttribute
`DeleteBatchQuery(DbEntity dbEntity, Collection<DbAttribute> qualifierAttributes, Collection<String> nullQualifierNames, int batchCapacity)` Creates new DeleteBatchQuery.
`UpdateBatchQuery(DbEntity dbEntity, List<DbAttribute> qualifierAttributes, List<DbAttribute> updatedAttribute, Collection<String> nullQualifierNames, int batchCapacity)` Creates new UpdateBatchQuery.
`UpdateBatchQuery(DbEntity dbEntity, List<DbAttribute> qualifierAttributes, List<DbAttribute> updatedAttribute, Collection<String> nullQualifierNames, int batchCapacity)` Creates new UpdateBatchQuery.

Uses of DbAttribute in org.apache.cayenne.util

Methods in org.apache.cayenne.util that return types with arguments of type DbAttribute
`protected List<DbAttribute>` | `EntityMergeSupport.getAttributesToAdd(ObjEntity objEntity)` Returns a list of attributes that exist in the DbEntity, but are missing from the ObjEntity.
`Collection<DbAttribute>` | `EntityMergeSupport.getMeaningfulFKs(ObjEntity objEntity)` Returns a list of DbAttributes that are mapped to foreign keys.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

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