public abstract class AttributeInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String | columnName
The name of this column.
|
protected boolean | enabled
Indicates whether this column is enabled.
|
protected java.lang.String | propertyName
Reserved for IBM internal use.
|
protected java.lang.String | queryString
Reserved for IBM internal use.
|
protected AttributeInfo | referto
Reserved for IBM internal use.
|
protected int | scale
Reserved for IBM internal use.
|
protected int | sqltype
The data type to be used in generating SQL queries.
|
static int | SQLTYPE_CHAR
The CHAR data type.
|
static int | SQLTYPE_NUM
The NUMERIC data type.
|
static int | SQLTYPE_TIME
The TIME data type.
|
java.lang.String | tableName
The name of this table.
|
protected java.lang.Class | type
Reserved for IBM internal use.
|
Constructor and Description |
---|
AttributeInfo()
The default constructor.
|
AttributeInfo(java.lang.String propertyName, int sqltype, java.lang.String columnName)
Reserved for IBM internal use.
|
AttributeInfo(java.lang.String propertyName, int sqltype, java.lang.String columnName, java.lang.Class type)
Reserved for IBM internal use.
|
AttributeInfo(java.lang.String propertyName, int sqltype, java.lang.String columnName, java.lang.Class type, int scale)
Reserved for IBM internal use.
|
AttributeInfo(java.lang.String propertyName, int sqltype, java.lang.String columnName, java.lang.String queryString)
Reserved for IBM internal use.
|
AttributeInfo(java.lang.String propertyName, int sqltype, java.lang.String columnName, java.lang.String queryString, java.lang.Class type)
Reserved for IBM internal use.
|
AttributeInfo(java.lang.String propertyName, int sqltype, java.lang.String columnName, java.lang.String queryString, java.lang.Class type, int scale)
Reserved for IBM internal use.
|
AttributeInfo(TableInfo info)
The constructor with the table information supplied.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String | getColumnName()
Gets the name of this column.
|
java.lang.String | getPropertyName()
Reserved for IBM internal use.
|
java.lang.String | getQueryString()
Reserved for IBM internal use.
|
AttributeInfo | getReferTo()
Reserved for IBM internal use.
|
int | getScale()
Reserved for IBM internal use.
|
int | getSQLType()
Gets the data type to be used in generating SQL queries for this column.
|
TableInfo | getTableInfo()
Gets this table's information.
|
java.lang.String | getTableName()
Gets this table's name.
|
java.lang.Class | getType()
Reserved for IBM internal use.
|
boolean | isEnabled()
Checks whether this column is enabled.
|
void | setEnabled(boolean flag)
Sets whether this column is enabled for this table.
|
void | setQueryString(java.lang.String val)
Reserved for IBM internal use.
|
void | setReferTo(AttributeInfo f)
Reserved for IBM internal use.
|
void | setScale(int scale)
Reserved for IBM internal use.
|
void | setTableInfo(TableInfo a)
Sets this table's information.
|
void | setTableName(java.lang.String newTableName)
Sets this table's name.
|
java.lang.String | toString()
Converts this object to a string.
|
public static final int SQLTYPE_NUM
public static final int SQLTYPE_CHAR
public static final int SQLTYPE_TIME
protected java.lang.String propertyName
protected java.lang.String columnName
protected java.lang.String queryString
protected int scale
protected int sqltype
protected java.lang.Class type
protected boolean enabled
public java.lang.String tableName
protected AttributeInfo referto
public AttributeInfo()
public AttributeInfo(TableInfo info)
public AttributeInfo(java.lang.String propertyName, int sqltype, java.lang.String columnName)
public AttributeInfo(java.lang.String propertyName, int sqltype, java.lang.String columnName, java.lang.Class type)
public AttributeInfo(java.lang.String propertyName, int sqltype, java.lang.String columnName, java.lang.Class type, int scale)
public AttributeInfo(java.lang.String propertyName, int sqltype, java.lang.String columnName, java.lang.String queryString)
public AttributeInfo(java.lang.String propertyName, int sqltype, java.lang.String columnName, java.lang.String queryString, java.lang.Class type)
public AttributeInfo(java.lang.String propertyName, int sqltype, java.lang.String columnName, java.lang.String queryString, java.lang.Class type, int scale)
public final java.lang.String getColumnName()
public final java.lang.String getPropertyName()
public final java.lang.String getQueryString()
public AttributeInfo getReferTo()
public final int getScale()
public final int getSQLType()
public TableInfo getTableInfo()
public java.lang.String getTableName()
public final java.lang.Class getType()
public final boolean isEnabled()
public final void setEnabled(boolean flag)
public final void setQueryString(java.lang.String val)
public void setReferTo(AttributeInfo f)
public final void setScale(int scale)
public void setTableInfo(TableInfo a)
public void setTableName(java.lang.String newTableName)
public java.lang.String toString()