|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cayenne.access.jdbc.ColumnDescriptor
public class ColumnDescriptor
A descriptor of a ResultSet column.
Field Summary | |
---|---|
protected String |
dataRowKey
|
protected String |
javaClass
|
protected int |
jdbcType
|
protected String |
name
|
protected String |
namePrefix
|
protected String |
procedureName
|
protected String |
tableName
|
Constructor Summary | |
---|---|
ColumnDescriptor()
Creates a ColumnDescriptor |
|
ColumnDescriptor(DbAttribute attribute,
String tableAlias)
Creates a ColumnDescriptor from Cayenne DbAttribute. |
|
ColumnDescriptor(ObjAttribute objAttribute,
DbAttribute dbAttribute,
String columnAlias)
|
|
ColumnDescriptor(ProcedureParameter parameter)
Creates a ColumnDescriptor from stored procedure parameter. |
|
ColumnDescriptor(ResultSetMetaData metaData,
int position)
Creates a ColumnDescriptor using ResultSetMetaData. |
|
ColumnDescriptor(String columnName,
int jdbcType)
Creates a column descriptor with user-specified parameters. |
|
ColumnDescriptor(String columnName,
ResultSetMetaData metaData,
int position)
Creates a ColumnDescriptor using ResultSetMetaData. |
Method Summary | |
---|---|
boolean |
equals(Object o)
Returns true if another object is a ColumnDescriptor with the same name, name prefix, table and procedure names. |
String |
getDataRowKey()
|
String |
getJavaClass()
|
int |
getJdbcType()
|
String |
getName()
Returns column name. |
String |
getNamePrefix()
|
String |
getProcedureName()
Returns the name of the parent stored procedure. |
String |
getQualifiedColumnName()
Returns "qualifiedColumnName" property. |
String |
getTableName()
Returns the name of the parent table. |
int |
hashCode()
|
void |
setDataRowKey(String dataRowKey)
|
void |
setJavaClass(String string)
|
void |
setJdbcType(int i)
|
void |
setName(String name)
|
void |
setProcedureName(String procedureName)
|
void |
setTableName(String tableName)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected String tableName
protected String procedureName
protected String name
protected String namePrefix
protected String dataRowKey
protected int jdbcType
protected String javaClass
Constructor Detail |
---|
public ColumnDescriptor()
public ColumnDescriptor(String columnName, int jdbcType)
public ColumnDescriptor(DbAttribute attribute, String tableAlias)
public ColumnDescriptor(ObjAttribute objAttribute, DbAttribute dbAttribute, String columnAlias)
public ColumnDescriptor(ProcedureParameter parameter)
public ColumnDescriptor(String columnName, ResultSetMetaData metaData, int position) throws SQLException
SQLException
public ColumnDescriptor(ResultSetMetaData metaData, int position) throws SQLException
SQLException
Method Detail |
---|
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
public String getQualifiedColumnName()
public int getJdbcType()
public String getName()
public String getNamePrefix()
public void setJdbcType(int i)
public void setName(String name)
public String getJavaClass()
public void setJavaClass(String string)
public String getTableName()
public void setTableName(String tableName)
public String getProcedureName()
public void setProcedureName(String procedureName)
public String getDataRowKey()
public void setDataRowKey(String dataRowKey)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |