public class ColumnMetaData extends java.lang.Object implements AppConnMetaData
Modifier and Type | Field and Description |
---|---|
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. |
METADATA_TYPE_ATTRIBUTE, METADATA_TYPE_COLUMN, METADATA_TYPE_FIELD, METADATA_TYPE_OPERATION, METADATA_TYPE_PROCEDURE, METADATA_TYPE_RECORDSET, METADATA_TYPE_VARIABLE
Constructor and Description |
---|
ColumnMetaData(TableColumnMeta saObject)
Constructor for internal use only.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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.public ColumnMetaData(TableColumnMeta saObject)
saObject
- datapublic 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