|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.wrq.apptrieve.appconn.ColumnMetaData
public class ColumnMetaData
Provides metadata about a column that is defined in a table of a Host Integrator model.
Field Summary | |
---|---|
static int |
COLUMN_TYPE_FLOAT
Return value of getType() for Float columns. |
static int |
COLUMN_TYPE_INTEGER
Return value of getType() for Integer columns. |
static int |
COLUMN_TYPE_TEXT
Return value of getType() for Text columns. |
Fields inherited from interface com.wrq.apptrieve.appconn.AppConnMetaData |
---|
METADATA_TYPE_ATTRIBUTE, METADATA_TYPE_COLUMN, METADATA_TYPE_FIELD, METADATA_TYPE_OPERATION, METADATA_TYPE_PROCEDURE, METADATA_TYPE_RECORDSET, METADATA_TYPE_VARIABLE |
Constructor Summary | |
---|---|
ColumnMetaData(TableColumnMeta saObject)
Constructor for internal use only. |
Method Summary | |
---|---|
java.lang.String |
getDescription()
Gets the description for the column as specified in the Design Tool. |
int |
getMax()
Gets the maximum value or number of characters for the column. |
int |
getMetaDataType()
Gets the meta data type for this object. |
int |
getMin()
Gets the minimum value or number of characters for the column. |
java.lang.String |
getName()
Gets the name of the column. |
int |
getType()
Gets the data type of the column. |
boolean |
isKey()
Discovers whether this column is defined to be the key or part of the key for the table. |
java.lang.String |
toString()
Generates a String object that represents the current values of this ColumnMetaData object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int COLUMN_TYPE_INTEGER
getType()
for Integer columns.
public static final int COLUMN_TYPE_TEXT
getType()
for Text columns.
public static final int COLUMN_TYPE_FLOAT
getType()
for Float columns.
Constructor Detail |
---|
public ColumnMetaData(TableColumnMeta saObject)
saObject
- dataMethod Detail |
---|
public java.lang.String getDescription()
getDescription
in interface AppConnMetaData
public int getMax()
public int getMetaDataType()
getMetaDataType
in interface AppConnMetaData
public int getMin()
public java.lang.String getName()
getName
in interface AppConnMetaData
public int getType()
The returned value is one of:
public boolean isKey()
A key can be a single column or composed of multiple columns.
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |