public class SQLType extends Object implements TypeConstraint
Constructor and Description |
---|
SQLType()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
static SQLType |
get(int type)
Returns the SQLType constraint for the given type.
|
int |
getType()
Returns the set SQL type.
|
boolean |
isInheritable()
Determines if the constraint is inheritable, meaning it may be used for a
sub-type.
|
boolean |
isSet()
Returns whether the SQL type was actually set.
|
public SQLType()
Integer.MIN_VALUE
.public static SQLType get(int type)
type
- the SQL typeTypes
public int getType()
Integer.MIN_VALUE
.Integer.MIN_VALUE
Types
public boolean isSet()
public boolean isInheritable()
TypeConstraint
isInheritable
in interface TypeConstraint
TypeConstraint.isInheritable()
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a