public class ExpressionFieldInfo
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTANT
Expression Field type
|
static int |
PARAMETER
Expression Field type
|
static int |
REFERENCE
Expression Field type
|
static java.lang.String |
USERNAME
value of Special Field "UserName"
|
| Constructor and Description |
|---|
ExpressionFieldInfo(java.lang.String expressionValue,
int expressionValueType)
Constructor.
|
ExpressionFieldInfo(java.lang.String expressionValue,
int expressionValueType,
boolean isMappingName)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getExpressionValue()
Gets the Expression Field value
|
int |
getExpressionValueType()
Gets the type of Expression Field.
|
boolean |
isMappingName()
Indicates whether the Expression Field is a resource name or not.
|
boolean |
isSpecialField()
Gets the
CONSTANT Expression Field is a special field or not. |
void |
setExpressionValue(java.lang.String expressionValue)
Sets the Expression Field value
|
void |
setExpressionValueType(int expressionValueType)
Sets the type of Expression Field.
|
void |
setIsMappingName(boolean isMappingName)
Indicates whether the Expression Field is a resource name or not.
|
void |
setSpecialField(boolean isSpecialField)
Sets the
CONSTANT Expression Field is a special field or not. |
java.lang.String |
toString() |
public static final int REFERENCE
public static final int CONSTANT
public static final int PARAMETER
public static final java.lang.String USERNAME
public ExpressionFieldInfo(java.lang.String expressionValue,
int expressionValueType,
boolean isMappingName)
REFERENCE Expression Field InformationexpressionValue - the Expression Field valueexpressionValueType - indicates that the Expression Field is a REFERENCE or CONSTANT field.isMappingName - true if the Expression Field is a resource name(mapping name), false if it is a qualified display name of BV node.public ExpressionFieldInfo(java.lang.String expressionValue,
int expressionValueType)
expressionValue - the Expression Field value, it could be a resource name(mapping name), a constant value, a special field name, or a qualified display name of BV node.expressionValueType - indicates what type the Expression Field is. A REFERENCE, PARAMETER or CONSTANT field.public boolean isSpecialField()
CONSTANT Expression Field is a special field or not.true if the constant field is a special field.public void setSpecialField(boolean isSpecialField)
CONSTANT Expression Field is a special field or not.isSpecialField - true if the constant field is a special field.public int getExpressionValueType()
REFERENCE or CONSTANT field.REFERENCE or CONSTANT fieldpublic void setExpressionValueType(int expressionValueType)
REFERENCE, PARAMETER or CONSTANT field.expressionValueType - the Expression Field is a REFERENCE or CONSTANT fieldpublic boolean isMappingName()
true if the Expression Field is a resource name, otherwise return false.public void setIsMappingName(boolean isMappingName)
isMappingName - true if the Expression Field is a resource name, otherwise is false.public java.lang.String getExpressionValue()
public void setExpressionValue(java.lang.String expressionValue)
expressionValue - the Expression Field valuepublic java.lang.String toString()
toString in class java.lang.Object