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

Packages that use DbAttribute
org.apache.cayenne.access.jdbc Contains classes that handle JDBC interactions. 
org.apache.cayenne.access.trans Provides translators for Cayenne queries. 
org.apache.cayenne.access.types Defines an extendable mechanism to map Java types to JDBC types. 
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.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.sqlserver MS SQLServer DbAdapter. 
org.apache.cayenne.map Contains O/R mapping classes that store relational database metadata information and map it to Java classes. 
org.apache.cayenne.query Defines standard queries supported by Cayenne and extension mechanism to create custom queries. 
org.apache.cayenne.wocompat Contains classes that interface Cayenne with Apple's WebObjects
 

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

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

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

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 with parameters of type DbAttribute
 void QueryAssembler.addToParamList(DbAttribute dbAttr, Object anObject)
          Registers anObject as a PreparedStatement paramter.
protected  void BatchQueryBuilder.appendDbAttribute(StringBuffer buf, DbAttribute dbAttribute)
          Appends the name of the column to the query buffer.
protected  void QualifierTranslator.appendLiteral(StringBuffer buf, Object val, DbAttribute attr, Expression parentExpression)
           
protected  void QueryAssemblerHelper.appendLiteral(StringBuffer buf, 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(StringBuffer buf, 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(StringBuffer buf, DbAttribute dbAttr)
           
protected  void TrimmingQualifierTranslator.processColumn(StringBuffer buf, DbAttribute dbAttr)
          Adds special handling of CHAR columns.
protected  void QueryAssemblerHelper.processColumn(StringBuffer buf, DbAttribute dbAttr, DbRelationship relationship)
           
protected  void TrimmingQualifierTranslator.processColumn(StringBuffer buf, DbAttribute dbAttr, DbRelationship rel)
          Adds special handling of CHAR columns.
 

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

Methods in org.apache.cayenne.access.types with parameters of type DbAttribute
static boolean AbstractType.validateNull(Object source, String property, Object value, DbAttribute dbAttribute, ValidationResult validationResult)
          Deprecated. since 3.0 as validation should not be done at the DataNode level.
 boolean AbstractType.validateProperty(Object source, String property, Object value, DbAttribute dbAttribute, ValidationResult validationResult)
          Deprecated. since 3.0 as validation should not be done at the DataNode level.
 boolean BigIntegerType.validateProperty(Object source, String property, Object value, DbAttribute dbAttribute, ValidationResult validationResult)
          Deprecated. since 3.0 as validation should not be done at the DataNode level.
 boolean BooleanType.validateProperty(Object source, String property, Object value, DbAttribute dbAttribute, ValidationResult validationResult)
          Deprecated. since 3.0 as validation should not be done at the DataNode level.
 boolean ByteArrayType.validateProperty(Object source, String property, Object value, DbAttribute dbAttribute, ValidationResult validationResult)
          Deprecated. since 3.0 as validation should not be done at the DataNode level.
 boolean CalendarType.validateProperty(Object source, String property, Object value, DbAttribute dbAttribute, ValidationResult validationResult)
          Deprecated. since 3.0 as validation should not be done at the DataNode level.
 boolean CharType.validateProperty(Object source, String property, Object value, DbAttribute dbAttribute, ValidationResult validationResult)
          Deprecated. since 3.0 as validation should not be done at the DataNode level.
 boolean EnumType.validateProperty(Object source, String property, Object value, DbAttribute dbAttribute, ValidationResult validationResult)
          Deprecated. since 3.0 as validation should not be done at the DataNode level.
 boolean ExtendedType.validateProperty(Object source, String property, Object value, DbAttribute dbAttribute, ValidationResult validationResult)
          Deprecated. since 3.0 as validation should not be done at the DataNode level.
 boolean UtilDateType.validateProperty(Object source, String property, Object value, DbAttribute dbAttribute, ValidationResult validationResult)
          Deprecated. since 3.0 as validation should not be done at the DataNode level.
 

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
protected  void JdbcAdapter.createTableAppendColumn(StringBuffer sqlBuffer, DbAttribute column)
          Appends SQL for column creation to CREATE TABLE buffer.
 

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(StringBuffer buf, Object val, DbAttribute attr, Expression parentExpression)
           
 

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

Methods in org.apache.cayenne.dba.derby with parameters of type DbAttribute
protected  void DerbyAdapter.createTableAppendColumn(StringBuffer sqlBuffer, DbAttribute column)
          Appends SQL for column creation to CREATE TABLE buffer.
 

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
protected  void MySQLAdapter.createTableAppendColumn(StringBuffer sqlBuffer, DbAttribute column)
          Appends AUTO_INCREMENT clause to the column definition for generated columns.
 

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(StringBuffer buf, Object val, DbAttribute attr, Expression parentExpression)
           
 

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.
 

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)
           
 

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

Methods in org.apache.cayenne.dba.sqlserver with parameters of type DbAttribute
protected  void SQLServerAdapter.createTableAppendColumn(StringBuffer sqlBuffer, DbAttribute column)
          Overrides super implementation to correctly set up identity columns.
 

Uses of DbAttribute in org.apache.cayenne.map
 

Subclasses of DbAttribute in org.apache.cayenne.map
 class DerivedDbAttribute
          A DerivedDbAttribute is a DbAttribute that resolves to an SQL expression based on a set of other attributes.
 

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 with parameters of type DbAttribute
 void DerivedDbAttribute.addParam(DbAttribute param)
          Adds parameter.
 ObjAttribute ObjEntity.getAttributeForDbAttribute(DbAttribute dbAttribute)
          Returns ObjAttribute of this entity that maps to dbAttribute parameter.
 void DerivedDbAttribute.removeParam(DbAttribute param)
           
 void ObjAttribute.setDbAttribute(DbAttribute dbAttribute)
          Set mapped DbAttribute.
 

Constructors in org.apache.cayenne.map with parameters of type DbAttribute
DerivedDbAttribute(DbEntity entity, DbAttribute parentProto)
          Creates and initializes a derived attribute with an attribute of a parent entity.
 

Uses of DbAttribute in org.apache.cayenne.query
 

Methods in org.apache.cayenne.query with parameters of type DbAttribute
protected  Object BatchQuery.getValue(Map 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.
 

Uses of DbAttribute in org.apache.cayenne.wocompat
 

Subclasses of DbAttribute in org.apache.cayenne.wocompat
 class EODbAttribute
          EOModel-friendly DbAttribute subclass.
 



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