com.nec.tdd.tools.dbMapper
Interface Constants

All Known Implementing Classes:
ORFieldInfo

public interface Constants

The class that defines the constants that are used to identify generic attribute/field types. It also defines constants used by database module classes (i.e. maximum recursion depth, pool capacity parameters).


Field Summary
static int BOOLEAN_TYPE
          Type code that identified a basic boolean/Boolean field.
static int BYTE_TYPE
          Type code that identified a basic byte/Byte field.
static int CHAR_TYPE
          Type code that identified a basic char/Character field.
static int DEFAULT_POOL_CAPACITY_INCREMENT
          Default capacity increment value of a pool, i.e.
static int DEFAULT_POOL_INITIAL_CAPACITY
          Default initial capacity of a pool.
static int DOUBLE_TYPE
          Type code that identified a basic double/Double field.
static java.lang.Class[] FIELD_TYPE_PRIMITIVE_CLASSES
          Java Primitive classes associated with field type codes.
static java.lang.Class[] FIELD_TYPE_WRAPPER_CLASSES
          Java Wrapper classes associated with field type codes.
static int FLOAT_TYPE
          Type code that identified a basic float/Float field.
static int INT_TYPE
          Type code that identified a basic integer (int/Integer) field.
static int LONG_TYPE
          Type code that identified a basic long/Long field.
static int MAX_DEPTH
          Default maximum recursion depth for recursive create, update and finder methods defined by DBInterface.
static int OBJECT_TYPE
          Type code that identified a non-basic field/attribute type.
static int SHORT_TYPE
          Type code that identified a basic short/Short field.
static int STRING_TYPE
          Type code that identified a basic string (java.lang.String) field.
 

Field Detail

MAX_DEPTH

public static final int MAX_DEPTH
Default maximum recursion depth for recursive create, update and finder methods defined by DBInterface.

DEFAULT_POOL_INITIAL_CAPACITY

public static final int DEFAULT_POOL_INITIAL_CAPACITY
Default initial capacity of a pool.

DEFAULT_POOL_CAPACITY_INCREMENT

public static final int DEFAULT_POOL_CAPACITY_INCREMENT
Default capacity increment value of a pool, i.e. by default capacity of a pool is doubled each time it needs to grow.

OBJECT_TYPE

public static final int OBJECT_TYPE
Type code that identified a non-basic field/attribute type.

STRING_TYPE

public static final int STRING_TYPE
Type code that identified a basic string (java.lang.String) field.

INT_TYPE

public static final int INT_TYPE
Type code that identified a basic integer (int/Integer) field.

SHORT_TYPE

public static final int SHORT_TYPE
Type code that identified a basic short/Short field.

CHAR_TYPE

public static final int CHAR_TYPE
Type code that identified a basic char/Character field.

BYTE_TYPE

public static final int BYTE_TYPE
Type code that identified a basic byte/Byte field.

LONG_TYPE

public static final int LONG_TYPE
Type code that identified a basic long/Long field.

FLOAT_TYPE

public static final int FLOAT_TYPE
Type code that identified a basic float/Float field.

DOUBLE_TYPE

public static final int DOUBLE_TYPE
Type code that identified a basic double/Double field.

BOOLEAN_TYPE

public static final int BOOLEAN_TYPE
Type code that identified a basic boolean/Boolean field.

FIELD_TYPE_PRIMITIVE_CLASSES

public static final java.lang.Class[] FIELD_TYPE_PRIMITIVE_CLASSES
Java Primitive classes associated with field type codes. e.g. for type code = INT_TYPE and primitive class = int.class

FIELD_TYPE_WRAPPER_CLASSES

public static final java.lang.Class[] FIELD_TYPE_WRAPPER_CLASSES
Java Wrapper classes associated with field type codes. e.g. for type int or Integer : type code = INT_TYPE and wrapper class = Integer.class