|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Function: Models an Expression. This is the super-class of all Expression classes.
| Field Summary | |
static int |
ACTION_BASED_EXPRESSION
|
static int |
ACTION_CALL_EXPRESSION
|
static int |
ADDITIVE_EXPRESSION
|
static int |
EVENT_BASED_EXPRESSION
|
static int |
FEATURE_CALL_EXPRESSION
|
static int |
GENERIC_EXPRESSION
|
static int |
LITERAL_EXPRESSION
|
static int |
LOGICAL_EXPRESSION
|
static int |
MATH_EXPRESSION
|
static int |
MULTIPLICATIVE_EXPRESSION
|
static int |
OBJECT_ATTRIBUTE_EXPRESSION
|
static int |
RELATIONAL_EXPRESSION
|
static int |
SUBJECT_BASED_EXPRESSION
|
static int |
TARGET_BASED_EXPRESSION
|
static int |
UNARY_EXPRESSION
|
| Method Summary | |
java.lang.String |
getAnalysisCode()
return the Prolog code required by the analysis system |
int |
getBasedOn()
Returns the part of the policy (the policy attribute) on which this expression value is based. |
java.lang.String |
getNameBasedOn()
Returns the name of the context (action or event) of the policy (the policy attribute) on which this expression value is based. |
int |
getPosBasedOn()
Returns the position within the parameter list of the ontext (action or event) of the policy on which this expression value is based. |
java.lang.String |
getString()
Return a String representation of the Expression |
int |
getType()
Return the type of the Expression |
void |
setBasedOn(int newBasedOn)
Sets the part of the policy (the policy attribute) on which this expression value is based |
void |
setBasedOn(int newBasedOn,
java.lang.String newContextName,
int newPos)
Sets the part of the policy (the policy attribute) on which this expression value is based, including the name of the context (action or event) and the position within the parameter list of that context on which this expression is based |
| Field Detail |
public static final int UNARY_EXPRESSION
public static final int LOGICAL_EXPRESSION
public static final int RELATIONAL_EXPRESSION
public static final int ADDITIVE_EXPRESSION
public static final int MULTIPLICATIVE_EXPRESSION
public static final int LITERAL_EXPRESSION
public static final int ACTION_CALL_EXPRESSION
public static final int OBJECT_ATTRIBUTE_EXPRESSION
public static final int FEATURE_CALL_EXPRESSION
public static final int MATH_EXPRESSION
public static final int GENERIC_EXPRESSION
public static final int SUBJECT_BASED_EXPRESSION
public static final int TARGET_BASED_EXPRESSION
public static final int ACTION_BASED_EXPRESSION
public static final int EVENT_BASED_EXPRESSION
| Method Detail |
public int getType()
public int getBasedOn()
public java.lang.String getNameBasedOn()
public int getPosBasedOn()
public void setBasedOn(int newBasedOn)
public void setBasedOn(int newBasedOn,
java.lang.String newContextName,
int newPos)
public java.lang.String getString()
public java.lang.String getAnalysisCode()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||