org.codehaus.modello.generator.database.type
class TypeMap extends TypeMap
Version: 1.1 2003/02/05 08:08:37
| Field Summary | |
|---|---|
| static String[] | APPROX_NUMERICS |
| static String[] | EXACT_NUMERICS |
| static String[] | VARCHARS |
| Method Summary | |
|---|---|
| static String | getName(int type)
Returns the type name for a type identifier
|
| static Integer | getType(String name)
Returns the type identifier for a type name
|
| static boolean | isApproxNumeric(String name) |
| static boolean | isExactNumeric(String name) |
| static boolean | isVarChar(String name) |
Parameters: type the type identifier
Returns: the type name corresponding id or
null if there is no corresponding name
i
Parameters: name the type name
Returns: the type identifier corresponding name or
null if there is no corresponding identifier
i