|
com.im.df/1 5.9.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.im.df.impl.db.api.DBImplConstants
public class DBImplConstants
The default DIF implementation constants. Most of them are used as implementation type constants
(see DFItem.getType()).
| Field Summary | |
|---|---|
static String |
DATA_TREE_STANDARD
Default DB implementation of datatree type constant (see DFItem.getType()). |
static String |
ENTITY_TYPE_JCHEMBASE
Default DB implementation of jchem entity type constant (see DFItem.getType()). |
static String |
ENTITY_TYPE_JCHEMCART_JCHEMBASE
Default DB implementation of jchem cartridge based on a JChemBase table entity type constant (see DFItem.getType()). |
static String |
ENTITY_TYPE_JCHEMCART_STANDARD
Default DB implementation of jchem cartridge based on a standard table entity type constant (see DFItem.getType()). |
static String |
ENTITY_TYPE_STANDARD
Default DB implementation of standard entity type constant (see DFItem.getType()). |
static String |
FIELD_CHEMICAL_TERMS_BOOLEAN
Default DB implementation of boolean chemical terms field type constant (see DFItem.getType()). |
static String |
FIELD_CHEMICAL_TERMS_FLOAT
Default DB implementation of float chemical terms field type constant (see DFItem.getType()). |
static String |
FIELD_CHEMICAL_TERMS_INTEGER
Default DB implementation of integer chemical terms field type constant (see DFItem.getType()). |
static String |
FIELD_CHEMICAL_TERMS_TEXT
Default DB implementation of text chemical terms field type constant (see DFItem.getType()). |
static String |
FIELD_STANDARD_BINARY
Default DB implementation of standard BINARY field type constant (see DFItem.getType()). |
static String |
FIELD_STANDARD_BOOLEAN
Default DB implementation of standard boolean field type constant (see DFItem.getType()). |
static String |
FIELD_STANDARD_CALCULATED_BOOLEAN
|
static String |
FIELD_STANDARD_CALCULATED_FLOAT
|
static String |
FIELD_STANDARD_CALCULATED_INTEGER
|
static String |
FIELD_STANDARD_CALCULATED_TEXT
|
static String |
FIELD_STANDARD_DATE
Default DB implementation of standard date field type constant (see DFItem.getType()). |
static String |
FIELD_STANDARD_FLOAT
Default DB implementation of standard float field type constant (see DFItem.getType()). |
static String |
FIELD_STANDARD_INTEGER
Default DB implementation of standard integer field type constant (see DFItem.getType()). |
static String |
FIELD_STANDARD_JCHEM_STRUCTURE
Default DB implementation of standard molecule field type constant (see DFItem.getType()). |
static String |
FIELD_STANDARD_TEXT
Default DB implementation of standard text field type constant (see DFItem.getType()). |
static String |
FIELD_STANDARD_TEXT_ARRAY
Default DB implementation of standard text field type constant (see DFItem.getType()). |
static String |
FIELD_STANDARD_URL
Default DB implementation of standard URL field type constant (see DFItem.getType()). |
static String |
FIELD_STANDARD_URL_DYN
Default DB implementation of standard dynamic URL field type constant (see DFItem.getType()). |
static String |
FORM_VIEW_STANDARD
Default DB implementation of form designer view type constant (see DFItem.getType()). |
static String |
GRID_VIEW_STANDARD
Default DB implementation of grid view type constant (see DFItem.getType()). |
static String |
LIST_STANDARD
Default DB implementation of list type constant (see DFItem.getType()). |
static String |
QUERY_STANDARD
Default DB implementation of query type constant (see DFItem.getType()). |
static String |
RELATIONSHIP_TYPE_DB
Default DB implementation of relationship type constant (see DFItem.getType()). |
static String |
SCHEMA_TYPE_DB
Default DB implementation of DFSchema type constant (see DFItem.getType()). |
static String |
SCRIPT_STANDARD
Default DB implementation of query type constant (see DFItem.getType()). |
static String |
UNKNOWN_TYPE
Special case constant. |
static String |
WRAPPER
|
| Constructor Summary | |
|---|---|
DBImplConstants()
|
|
| Method Summary | |
|---|---|
static String |
determineBestColumnDefinition(DBType dbType,
String fieldType,
int length)
Utility method to determine the best column type to use. |
static String |
getFieldTypeDisplayName(String fieldType)
Get display name for the specific type constant. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String UNKNOWN_TYPE
public static final String SCHEMA_TYPE_DB
DFItem.getType()).
public static final String WRAPPER
public static final String ENTITY_TYPE_STANDARD
DFItem.getType()).
public static final String ENTITY_TYPE_JCHEMBASE
DFItem.getType()).
public static final String ENTITY_TYPE_JCHEMCART_JCHEMBASE
DFItem.getType()).
public static final String ENTITY_TYPE_JCHEMCART_STANDARD
DFItem.getType()).
public static final String FIELD_STANDARD_INTEGER
DFItem.getType()).
public static final String FIELD_STANDARD_TEXT
DFItem.getType()).
public static final String FIELD_STANDARD_FLOAT
DFItem.getType()).
public static final String FIELD_STANDARD_BOOLEAN
DFItem.getType()).
public static final String FIELD_STANDARD_DATE
DFItem.getType()).
public static final String FIELD_STANDARD_BINARY
DFItem.getType()).
public static final String FIELD_STANDARD_URL
DFItem.getType()).
public static final String FIELD_STANDARD_URL_DYN
DFItem.getType()).
public static final String FIELD_STANDARD_CALCULATED_INTEGER
public static final String FIELD_STANDARD_CALCULATED_FLOAT
public static final String FIELD_STANDARD_CALCULATED_TEXT
public static final String FIELD_STANDARD_CALCULATED_BOOLEAN
public static final String FIELD_STANDARD_JCHEM_STRUCTURE
DFItem.getType()).
public static final String FIELD_STANDARD_TEXT_ARRAY
DFItem.getType()).
public static final String FIELD_CHEMICAL_TERMS_INTEGER
DFItem.getType()).
public static final String FIELD_CHEMICAL_TERMS_TEXT
DFItem.getType()).
public static final String FIELD_CHEMICAL_TERMS_FLOAT
DFItem.getType()).
public static final String FIELD_CHEMICAL_TERMS_BOOLEAN
DFItem.getType()).
public static final String RELATIONSHIP_TYPE_DB
DFItem.getType()).
public static final String DATA_TREE_STANDARD
DFItem.getType()).
public static final String GRID_VIEW_STANDARD
DFItem.getType()).
public static final String FORM_VIEW_STANDARD
DFItem.getType()).
public static final String LIST_STANDARD
DFItem.getType()).
public static final String QUERY_STANDARD
DFItem.getType()).
public static final String SCRIPT_STANDARD
DFItem.getType()).
| Constructor Detail |
|---|
public DBImplConstants()
| Method Detail |
|---|
public static String getFieldTypeDisplayName(String fieldType)
TODO P4 - if necessary this method can be extended (and renamed) to return display names for other types too (schema, entities,...)
public static String determineBestColumnDefinition(DBType dbType,
String fieldType,
int length)
dbType - The type of the database. One of derby, oracle or mysqlfieldType - The field typelength - The desired length of the value e.g. for a text column
|
com.im.df/1 5.9.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||