public class TypeModel extends java.lang.Object implements SQLMetaModel
| Modifier and Type | Method and Description |
|---|---|
int |
getDataType() |
int |
getMaxScale() |
int |
getMinScale() |
java.lang.String |
getName()
get the name for this model's instance
|
int |
getPrecision() |
SQLRecord |
getRecord()
the record which defines all the values for the model
|
java.lang.String |
getType()
get the type of Object defined by the meta model
|
boolean |
hasParameters() |
boolean |
isAutoIncrement() |
public TypeModel(SQLRecord record)
public java.lang.String getType()
SQLMetaModelreturned value depends on the model: TABLE,COLUMN,INDEX
getType in interface SQLMetaModelpublic java.lang.String getName()
SQLMetaModelThis is equal to the name of the table,column, etc.
getName in interface SQLMetaModelpublic SQLRecord getRecord()
SQLMetaModelgetRecord in interface SQLMetaModelpublic int getDataType()
public int getPrecision()
public int getMinScale()
public int getMaxScale()
public boolean hasParameters()
public boolean isAutoIncrement()