Class Hierarchy All Classes All Fields and Methods

 

Interface com.ibm.etools.sqlj.template.ISQLFieldInfo

public interface ISQLFieldInfo

An object that contains metadata for either a column in a result set or a parameter in an SQL statement.

Method Index
Method Description
String getAlias() Returns the alias of the table that is associated with the column.
int getIndex() Returns the index value of the column, as it occurs in the result set.
String getName() Returns the name of either the column in the result set or the parameter in the SQL statement.
String getSchema() Returns the schema name for the column.
String getTable() Returns the table name for the column.
int getType() Returns a code value that represents the SQL type of the column, as defined in java.sql.Types.
boolean isExpression() Indicates whether the column in the result set is derived from an expression.
boolean isKey() Indicates whether the column is a key.

 

Methods

 

getAlias

public String getAlias() 

Returns the alias of the table that is associated with the column.

Return value is undefined if the column is derived from an expression.

 

getIndex

public int getIndex() 

Returns the index value of the column, as it occurs in the result set.

 

getName

public String getName() 

Returns the name of either the column in the result set or the parameter in the SQL statement.

If the column in the result set is derived from an expression, this method returns the expression.

 

getSchema

public String getSchema() 

Returns the schema name for the column.

Return value is undefined if the column is derived from an expression.

 

getTable

public String getTable() 

Returns the table name for the column.

Return value is undefined if the column is derived from an expression.

 

getType

public int getType() 

Returns a code value that represents the SQL type of the column, as defined in java.sql.Types. The corresponding Java type of the column can be obtained from the IBeanData.getJavaTypeforSql() method.

Return value is undefined if the column is derived from an expression.

 

isExpression

public boolean isExpression() 

Indicates whether the column in the result set is derived from an expression.

If the column is derived from an expression, the following occurs:

 

isKey

public boolean isKey() 

Indicates whether the column is a key.

Class Hierarchy All Classes All Fields and Methods