|
Framework Professional Edition Package |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface DataMap
DataMap.java represents the basic structure of the mapping xml
Contains name, expression and type of the value
| Field Summary | |
|---|---|
static int |
BOOLEAN
|
static int |
BYTE
value types |
static int |
BYTE_ARR
|
static int |
CHAR
|
static int |
DOUBLE
|
static int |
FLOAT
|
static int |
INTEGER
|
static int |
INTEGER_ARR
|
static int |
LONG
|
static java.lang.String[] |
MAP_STRINGS
|
static int |
MAP_TYPE
|
static int |
MAPPING_TYPE
|
static int |
SHORT
|
static int |
STRING
|
static java.lang.String[] |
TYPE_STRINGS
|
static int |
VAR_TYPE
property types |
| Method Summary | |
|---|---|
java.lang.Object |
evaluateValue(ExpressionEvaluator evaluator,
java.util.Dictionary variables)
Evaluate the expression of the map using the given evaluator and variables needed for the expression. |
Expression |
getExpression()
Get expession |
java.lang.String |
getName()
Return the name of the map |
java.lang.Object[] |
getParameters()
Get parameters |
int |
getType()
Return the type of the map - CONST_TYPE - VAR_TYPE - MAP_TYPE |
int |
getValueType()
Return the value type of the map - BOOLEAN, SHORT, INTEGER, STRING ... |
void |
setExpression(Expression expression)
Set expression for the map |
void |
setParameters(java.lang.Object[] params)
Set parameters to this DataMap - such as encoding in String values |
| Field Detail |
|---|
static final int VAR_TYPE
static final int MAP_TYPE
static final int MAPPING_TYPE
static final java.lang.String[] MAP_STRINGS
static final int BYTE
static final int SHORT
static final int INTEGER
static final int LONG
static final int FLOAT
static final int DOUBLE
static final int STRING
static final int BOOLEAN
static final int CHAR
static final int BYTE_ARR
static final int INTEGER_ARR
static final java.lang.String[] TYPE_STRINGS
| Method Detail |
|---|
java.lang.String getName()
int getValueType()
int getType()
void setExpression(Expression expression)
Expression getExpression()
java.lang.Object evaluateValue(ExpressionEvaluator evaluator,
java.util.Dictionary variables)
throws java.lang.Exception
variables -
java.lang.Exceptionvoid setParameters(java.lang.Object[] params)
params - java.lang.Object[] getParameters()
|
Framework Professional Edition Package |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||