| java.lang.Object org.osbl.agent.model.condition.SubjectCondition
SubjectCondition | public class SubjectCondition implements Condition(Code) | | This condition class allows the evaulation of the
org.concern.model.Condition Conditions defined for the Process of the
subject instance.
author: Sebastian Nozzi. |
Constructor Summary | |
public | SubjectCondition() Instantiates a new subject condition. |
SubjectCondition | public SubjectCondition()(Code) | | Instantiates a new subject condition.
|
evaluate | public boolean evaluate(RuleContext context)(Code) | | Communicates with the corresponding concern controller and evaluates the
specified concern condition, returning the result.
Parameters: context - the context true, if evaluate See Also: org.osbl.agent.model.condition.Condition.evaluate(org.osbl.agent.model.RuleContext) |
getConcernConditionName | public String getConcernConditionName()(Code) | | Gets the con:cern condition name.
the concern condition name |
getOperator | public Operator getOperator()(Code) | | Gets the operator.
the operator |
getProcessName | public String getProcessName()(Code) | | Gets the con:cern process name.
the process name |
setConcernConditionName | public void setConcernConditionName(String concernConditionName)(Code) | | Sets the con:cern condition name.
Parameters: concernConditionName - the new concern condition name |
setOperator | public void setOperator(Operator operator)(Code) | | Sets the operator, which should be one of those defined by this class.
Parameters: operator - the new operator |
setProcessName | public void setProcessName(String processName)(Code) | | Sets the con:cern process name.
Parameters: processName - the new process name |
|
|