|
OpenAPI 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AQColumnDescriptor
This interface describes a table column.
Method Summary | |
---|---|
String |
getDataType()
Returns database data type, or null if data type is unknown. |
Class<?> |
getJavaClass()
Returns the java class object corresponding to the data type. |
String |
getJavaType()
Returns fully qualified name of the java class corresponding to the data type, or null if unknown. |
String |
getName()
Returns table column name. |
int |
getSqlType()
Returns an integer value which corresponds to a generic SQL type identifier defined in Types . |
boolean |
isBinary()
Returns true if this column data type is binary. |
boolean |
isBit()
Returns true if this column data type is bit. |
boolean |
isBoolean()
Returns true if this column data type is boolean. |
boolean |
isDate()
Returns true if this column data type is compatible with date types. |
boolean |
isDateTime()
Returns true if this column data type is compatible with datetime types. |
boolean |
isNumber()
Returns true if this column data type is compatible with numeric types. |
boolean |
isOther()
Returns true if this column data type is some other kind. |
boolean |
isText()
Returns true if this column data type is text. |
boolean |
isTime()
Returns true if this column data type is compatible with time types. |
void |
setDataType(String type)
Sets database data type. |
void |
setJavaType(String type)
Sets java type. |
void |
setSqlType(int type)
Sets generic SQL type identifier. |
Method Detail |
---|
String getName()
String getDataType()
void setDataType(String type)
type
- String getJavaType()
void setJavaType(String type)
type
- Class<?> getJavaClass()
Object
class if the type is unknown or is not set.
int getSqlType()
Types
.
void setSqlType(int type)
type
- One of the integer values defined in Types
.boolean isText()
boolean isNumber()
boolean isDate()
boolean isTime()
boolean isDateTime()
boolean isBinary()
boolean isBoolean()
boolean isBit()
boolean isOther()
|
OpenAPI 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |