|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1) E10653-04 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.jbo.common.JboTypeMap
public class JboTypeMap
Internal: Applications should not use this class.
Field Summary | |
---|---|
static java.lang.String |
ARRAY
|
static byte |
CHAR
|
static byte |
DATE
|
static byte |
DEFAULT
|
static int |
DEFAULT_SCALE
|
static byte |
NUMBER
|
static byte |
OBJECT
|
Constructor Summary | |
---|---|
JboTypeMap(java.lang.String columnType,
java.lang.String javaType,
java.lang.String sqlType,
int sqlTypeId,
java.lang.String size)
|
|
JboTypeMap(java.lang.String columnType,
java.lang.String javaType,
java.lang.String sqlType,
int sqlTypeId,
java.lang.String size,
boolean bNumeric)
|
|
JboTypeMap(java.lang.String columnType,
java.lang.String javaType,
java.lang.String sqlType,
int sqlTypeId,
java.lang.String size,
byte typeGroup)
|
|
JboTypeMap(java.lang.String attrType,
java.lang.String columnType,
java.lang.String sqlType,
java.lang.String javaType,
int sqlTypeId,
java.lang.String size)
|
Method Summary | |
---|---|
static java.lang.String |
attrTypeToColumnType(java.lang.String attrType)
|
static java.lang.String |
attrTypeToJavaType(java.lang.String attrType)
|
static java.lang.String |
attrTypeToSQLType(java.lang.String attrType)
|
static java.lang.String |
columnTypeToAttrType(java.lang.String colType)
|
static java.lang.String |
columnTypeToAttrType(java.lang.String colType,
int prec,
int scale)
|
static java.lang.String |
columnTypeToJavaType(java.lang.String colType)
|
static java.lang.String |
columnTypeToJavaType(java.lang.String colType,
int prec,
int scale)
|
static java.lang.String |
columnTypeToSQLType(java.lang.String colType)
|
static int |
columnTypeToSQLTypeId(java.lang.String colType,
int defaultID)
|
static java.lang.Object |
convertValue(java.lang.Class toClass,
java.lang.Class valClass,
java.lang.Object val,
int opId)
|
static JboTypeMap |
findByColumnType(java.lang.String colType)
|
java.lang.String |
getAttrType()
|
protected java.lang.String |
getAttrType(int prec,
int scale)
Get the Attribute Type for a corresponding precision and scale |
static java.lang.String[] |
getAttrTypesForDisplay()
|
java.lang.String |
getColumnType()
|
static java.lang.String |
getDefaultColumnLength(java.lang.String colType)
|
static java.util.ArrayList |
getDomainsWithNoXMLFactory()
|
java.lang.String |
getJavaType()
|
protected java.lang.String |
getJavaType(int prec,
int scale)
Get the Java class name for a corresponding precision and scale |
static java.util.ArrayList |
getMapList()
|
java.lang.String |
getSize()
|
java.lang.String |
getSQLType()
|
int |
getSQLTypeId()
|
static int |
getTypeGroup(int type)
|
static TypeSQLNative |
getTypeSQLNative(java.lang.Class theJavaType,
int sqlType)
|
static boolean |
isCharType(int type)
|
static boolean |
isDateType(int type)
|
static boolean |
isNumericType(int type)
|
static java.lang.String |
javaTypeToAttrType(java.lang.String javaType)
|
static java.lang.String |
javaTypeToColumnType(java.lang.String javaType)
|
static java.lang.String |
javaTypeToSQLType(java.lang.String javaType)
|
static int |
javaTypeToSQLTypeId(java.lang.String javaType)
|
boolean |
matchColumnType(java.lang.String typ)
|
static void |
populateConversion(java.util.HashMap convMap)
|
static void |
populateEntries()
|
static void |
populateEntries(java.lang.String className)
|
static void |
repopulateEntries(java.lang.String className)
|
static void |
setMapList(java.util.ArrayList new_MapList)
|
static java.lang.String |
sqlTypeIdToSQLType(int id)
|
static java.lang.String |
sqlTypeToColumnTypeBase(java.lang.String sqlType)
|
static int |
sqlTypeToSQLTypeId(java.lang.String sqlType)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String ARRAY
public static byte DEFAULT
public static byte CHAR
public static byte NUMBER
public static byte DATE
public static byte OBJECT
public static final int DEFAULT_SCALE
Constructor Detail |
---|
public JboTypeMap(java.lang.String columnType, java.lang.String javaType, java.lang.String sqlType, int sqlTypeId, java.lang.String size, byte typeGroup)
public JboTypeMap(java.lang.String columnType, java.lang.String javaType, java.lang.String sqlType, int sqlTypeId, java.lang.String size, boolean bNumeric)
public JboTypeMap(java.lang.String columnType, java.lang.String javaType, java.lang.String sqlType, int sqlTypeId, java.lang.String size)
public JboTypeMap(java.lang.String attrType, java.lang.String columnType, java.lang.String sqlType, java.lang.String javaType, int sqlTypeId, java.lang.String size)
Method Detail |
---|
public static void repopulateEntries(java.lang.String className)
public static java.util.ArrayList getMapList()
public static void setMapList(java.util.ArrayList new_MapList)
public static void populateEntries()
public static void populateEntries(java.lang.String className)
public static boolean isNumericType(int type)
public static int getTypeGroup(int type)
public static boolean isCharType(int type)
public static boolean isDateType(int type)
public java.lang.String getAttrType()
protected java.lang.String getAttrType(int prec, int scale)
prec
- Precision of the number typescale
- The number of digits after the decimal point
public java.lang.String getSQLType()
public java.lang.String getJavaType()
protected java.lang.String getJavaType(int prec, int scale)
prec
- Precision of the number typescale
- The number of digits after the decimal point
public int getSQLTypeId()
public java.lang.String getSize()
public java.lang.String getColumnType()
public boolean matchColumnType(java.lang.String typ)
public static JboTypeMap findByColumnType(java.lang.String colType)
public static java.lang.String columnTypeToAttrType(java.lang.String colType)
public static java.lang.String columnTypeToJavaType(java.lang.String colType)
public static java.lang.String columnTypeToAttrType(java.lang.String colType, int prec, int scale)
public static java.lang.String columnTypeToJavaType(java.lang.String colType, int prec, int scale)
public static java.lang.String columnTypeToSQLType(java.lang.String colType)
public static int columnTypeToSQLTypeId(java.lang.String colType, int defaultID)
public static java.lang.String getDefaultColumnLength(java.lang.String colType)
public static java.lang.String sqlTypeToColumnTypeBase(java.lang.String sqlType)
public static int sqlTypeToSQLTypeId(java.lang.String sqlType)
public static java.lang.String attrTypeToColumnType(java.lang.String attrType)
public static java.lang.String attrTypeToJavaType(java.lang.String attrType)
public static java.lang.String attrTypeToSQLType(java.lang.String attrType)
public static java.lang.String javaTypeToAttrType(java.lang.String javaType)
public static java.lang.String javaTypeToColumnType(java.lang.String javaType)
public static java.lang.String javaTypeToSQLType(java.lang.String javaType)
public static int javaTypeToSQLTypeId(java.lang.String javaType)
public static java.lang.String sqlTypeIdToSQLType(int id)
public static java.lang.String[] getAttrTypesForDisplay()
public static void populateConversion(java.util.HashMap convMap)
public static java.lang.Object convertValue(java.lang.Class toClass, java.lang.Class valClass, java.lang.Object val, int opId)
public static TypeSQLNative getTypeSQLNative(java.lang.Class theJavaType, int sqlType)
public static java.util.ArrayList getDomainsWithNoXMLFactory()
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1) E10653-04 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |