|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jgpruitt.datamodeler.core.DataType
public class DataType
This class functions as an enumeration of ANSI-SQL data types available for use in models. It can be extended in order to add data types for a particular platform.
Field Summary | |
---|---|
static DataType |
BIT
Fixed-length array of binary bits. |
static DataType |
CHAR
Fixed-length character string. |
static DataType |
DATE
Date values. |
static DataType |
DECIMAL
Fixed-precision numbers. |
static DataType |
DOUBLE
Floating-point numbers. |
static DataType |
FLOAT
Floating-point numbers. |
static DataType |
INT
Whole numbers. |
static DataType |
NCHAR
Fixed-length character string supporting international character sets. |
static DataType |
NUMERIC
Fixed-precision numbers. |
static DataType |
NVARCHAR
Variable-length character string supporting international character sets. |
static DataType |
REAL
Floating-point numbers. |
static DataType |
SMALLINT
Whole numbers. |
static DataType |
TIME
Time values. |
static DataType |
TIMESTAMP
Date and time. |
static DataType |
TIMESTAMPTZ
Date and time with time-zone information. |
static DataType |
TIMETZ
Times with time-zone information. |
static DataType |
VARCHAR
Variable-length character string. |
static DataType |
VBIT
Variable-length array of binary bits. |
Constructor Summary | |
---|---|
protected |
DataType()
The constructor should only be called internally, or by sub-classes. |
Method Summary | |
---|---|
boolean |
isBIT()
Is this the BIT instance? |
boolean |
isCHAR()
Is this the CHAR instance? |
boolean |
isDATE()
Is this the DATE instance? |
boolean |
isDECIMAL()
Is this the DECIMAL instance? |
boolean |
isDOUBLE()
Is this the DOUBLE instance? |
boolean |
isFLOAT()
Is this the FLOAT instance? |
boolean |
isINT()
Is this the INT instance? |
boolean |
isNCHAR()
Is this the NCHAR instance? |
boolean |
isNUMERIC()
Is this the NUMERIC instance? |
boolean |
isNVARCHAR()
Is this the NVARCHAR instance? |
boolean |
isREAL()
Is this the REAL instance? |
boolean |
isSMALLINT()
Is this the SMALLINT instance? |
boolean |
isTIME()
Is this the TIME instance? |
boolean |
isTIMESTAMP()
Is this the TIMESTAMP instance? |
boolean |
isTIMESTAMPTZ()
Is this the TIMESTAMPTZ instance? |
boolean |
isTIMETZ()
Is this the TIMETZ instance? |
boolean |
isVARCHAR()
Is this the VARCHAR instance? |
boolean |
isVBIT()
Is this the VBIT instance? |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final DataType CHAR
public static final DataType VARCHAR
public static final DataType NCHAR
public static final DataType NVARCHAR
public static final DataType BIT
public static final DataType VBIT
public static final DataType INT
public static final DataType SMALLINT
public static final DataType FLOAT
public static final DataType REAL
public static final DataType DOUBLE
public static final DataType NUMERIC
public static final DataType DECIMAL
public static final DataType DATE
public static final DataType TIME
public static final DataType TIMETZ
public static final DataType TIMESTAMP
public static final DataType TIMESTAMPTZ
Constructor Detail |
---|
protected DataType()
Method Detail |
---|
public boolean isCHAR()
public boolean isVARCHAR()
public boolean isNCHAR()
public boolean isNVARCHAR()
public boolean isBIT()
public boolean isVBIT()
public boolean isINT()
public boolean isSMALLINT()
public boolean isFLOAT()
public boolean isREAL()
public boolean isDOUBLE()
public boolean isNUMERIC()
public boolean isDECIMAL()
public boolean isDATE()
public boolean isTIME()
public boolean isTIMETZ()
public boolean isTIMESTAMP()
public boolean isTIMESTAMPTZ()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |