Condition
Direct Subclass:
Constructor Summary
Public Constructor | ||
public |
constructor(attribute: string, operator: string, params: *) Creates a new Condition. |
Member Summary
Public Members | ||
public |
attribute: * |
|
public |
operator: * |
|
public |
operators: * |
|
public |
params: * |
Method Summary
Public Methods | ||
public |
isApplicable(context: Object, message: Object): * Verifies if the condition is applicable to the message. |
Public Constructors
Public Members
public attribute: * source
public operator: * source
public operators: * source
public params: * source
Public Methods
public isApplicable(context: Object, message: Object): * source
Verifies if the condition is applicable to the message. First, the system value that corresponds to the attribute is retrieved; then, that value is compared with the parameter specified in the condition by executing the operator implementation. If the operator is 'in' and the name of a group is given, then the array holding the members of the group is retrieved before the comparison.
Return:
* |