public class SQLType
extends java.lang.Object
Constructor and Description |
---|
SQLType(java.lang.String sqlType) |
SQLType(java.lang.String sqlType,
int length)
Constructor
|
Modifier and Type | Method and Description |
---|---|
int |
getLength() |
java.lang.String |
getType() |
boolean |
isDate() |
static boolean |
isPrimitiveType(java.lang.Class<?> propertyType)
Checks, if a java property type can be represented by a table column
|
boolean |
isTime() |
boolean |
isTimeStamp() |
public SQLType(java.lang.String sqlType, int length)
sqlType
- length
- public SQLType(java.lang.String sqlType)
public java.lang.String getType()
public int getLength()
public boolean isDate()
public boolean isTimeStamp()
public boolean isTime()
public static boolean isPrimitiveType(java.lang.Class<?> propertyType)
propertyType
- Copyright © 2005-2014 The Resoa Project, resoa.org.