|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ujoframework.orm.TypeService
public class TypeService
A type service for popular Java types and more.
| Field Summary | |
|---|---|
static char |
BIG_DECI
|
static char |
BIG_INTE
|
static char |
BLOB
|
static char |
BOOLEAN
|
static char |
BYTE
|
static char |
BYTES
|
static char |
CLOB
|
static char |
DATE_SQL
|
static char |
DATE_UTIL
|
static char |
DOUBLE
|
static char |
ENUM
|
static char |
EXPORT_ENUM
|
static char |
EXPORTABLE
|
static char |
FLOAT
|
static char |
CHAR
|
static char |
INT
|
static char |
LONG
|
static char |
SHORT
|
static char |
STRING
|
static char |
TIME_SQL
|
static char |
TIMESTAMP
|
static char |
UNDEFINED
|
| Constructor Summary | |
|---|---|
TypeService()
|
|
| Method Summary | |
|---|---|
char |
getTypeCode(MetaColumn column)
The method returns a data type code include relation |
java.lang.Object |
getValue(MetaColumn mColumn,
java.sql.CallableStatement rs,
int column)
GetValue from the stored precedure by position |
java.lang.Object |
getValue(MetaColumn mColumn,
java.sql.ResultSet rs)
GetValue from the result set by position |
java.lang.Object |
getValue(MetaColumn mColumn,
java.sql.ResultSet rs,
int column)
GetValue from the result set by position |
void |
setValue(MetaColumn mColumn,
java.sql.PreparedStatement rs,
java.lang.Object value,
int i)
GetValue from the result set by position |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final char UNDEFINED
public static final char BOOLEAN
public static final char BYTE
public static final char CHAR
public static final char SHORT
public static final char INT
public static final char LONG
public static final char FLOAT
public static final char DOUBLE
public static final char BIG_DECI
public static final char BIG_INTE
public static final char STRING
public static final char BYTES
public static final char DATE_UTIL
public static final char DATE_SQL
public static final char TIME_SQL
public static final char TIMESTAMP
public static final char BLOB
public static final char CLOB
public static final char EXPORTABLE
public static final char EXPORT_ENUM
public static final char ENUM
| Constructor Detail |
|---|
public TypeService()
| Method Detail |
|---|
public char getTypeCode(MetaColumn column)
public java.lang.Object getValue(MetaColumn mColumn,
java.sql.ResultSet rs)
throws java.sql.SQLException
java.sql.SQLException
public java.lang.Object getValue(MetaColumn mColumn,
java.sql.ResultSet rs,
int column)
throws java.sql.SQLException
java.sql.SQLException
public java.lang.Object getValue(MetaColumn mColumn,
java.sql.CallableStatement rs,
int column)
throws java.sql.SQLException
java.sql.SQLException
public void setValue(MetaColumn mColumn,
java.sql.PreparedStatement rs,
java.lang.Object value,
int i)
throws java.sql.SQLException
java.sql.SQLException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||