|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.scooterframework.orm.sqldataexpress.object.ColumnInfo
public class ColumnInfo
ColumnInfo class. This class is a mirror of JDK's ResultSetMetaData class.
Constructor Summary | |
---|---|
ColumnInfo()
|
Method Summary | |
---|---|
java.lang.String |
getCatalogName()
|
java.lang.String |
getColumnClassName()
|
java.lang.String |
getColumnDefault()
|
java.lang.String |
getColumnDefaultForEntryScreen()
|
int |
getColumnDisplaySize()
|
java.lang.String |
getColumnName()
|
java.lang.String |
getColumnTypeName()
|
int |
getPrecision()
|
int |
getScale()
|
java.lang.String |
getSchemaName()
|
int |
getSQLDataType()
|
java.lang.String |
getTableName()
|
boolean |
isAutoIncrement()
|
boolean |
isCaseSensitive()
|
boolean |
isCurrency()
|
boolean |
isDate()
Checks if this column is of date type. |
boolean |
isDefinitelyWritable()
|
boolean |
isNotNull()
|
boolean |
isNull()
|
boolean |
isNullUnknown()
|
boolean |
isNumeric()
Checks if this column is of numeric type. |
static boolean |
isNumeric(int dataType)
Checks if a column is of numeric type. |
boolean |
isPrimaryKey()
|
boolean |
isReadOnly()
|
boolean |
isSearchable()
|
boolean |
isSigned()
|
boolean |
isTimestamp()
Checks if this column is of timestamp type. |
boolean |
isWritable()
|
void |
setPrimaryKey(boolean primaryKey)
|
java.lang.String |
toString()
Returns a string representation of the object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ColumnInfo()
Method Detail |
---|
public java.lang.String getSchemaName()
public java.lang.String getCatalogName()
public java.lang.String getTableName()
public boolean isPrimaryKey()
public void setPrimaryKey(boolean primaryKey)
public java.lang.String getColumnClassName()
public java.lang.String getColumnName()
public java.lang.String getColumnDefault()
public java.lang.String getColumnDefaultForEntryScreen()
public java.lang.String getColumnTypeName()
public int getColumnDisplaySize()
public int getSQLDataType()
public int getPrecision()
public int getScale()
public boolean isNull()
public boolean isNotNull()
public boolean isNullUnknown()
public boolean isAutoIncrement()
public boolean isCaseSensitive()
public boolean isCurrency()
public boolean isDefinitelyWritable()
public boolean isReadOnly()
public boolean isSearchable()
public boolean isSigned()
public boolean isWritable()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean isDate()
The following types from java.sql.Types are treated as date type:
public boolean isTimestamp()
The following types from java.sql.Types are treated as timestamp type:
public static boolean isNumeric(int dataType)
The following types from java.sql.Types are treated as numeric type:
dataType
-
public boolean isNumeric()
The following types from java.sql.Types are treated as numeric type:
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |