Package jadex.rules.rulesystem.rules
Class ReturnValueConstraint
- java.lang.Object
-
- jadex.rules.rulesystem.rules.ReturnValueConstraint
-
- All Implemented Interfaces:
IConstraint
- Direct Known Subclasses:
LiteralReturnValueConstraint
,ValueSourceReturnValueConstraint
,VariableReturnValueConstraint
public abstract class ReturnValueConstraint extends java.lang.Object implements IConstraint
A return value constraint assures that (slot|var|-
-
Field Summary
Fields Modifier and Type Field Description protected FunctionCall
funcall
The function call.protected IOperator
operator
The operator.
-
Constructor Summary
Constructors Constructor Description ReturnValueConstraint(FunctionCall funcall, IOperator operator)
Create a new return value constraint.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FunctionCall
getFunctionCall()
Get the function call.IOperator
getOperator()
Get the operator.java.util.List
getVariables()
Get the variables.
-
-
-
Field Detail
-
funcall
protected FunctionCall funcall
The function call.
-
operator
protected IOperator operator
The operator.
-
-
Constructor Detail
-
ReturnValueConstraint
public ReturnValueConstraint(FunctionCall funcall, IOperator operator)
Create a new return value constraint.
-
-
Method Detail
-
getOperator
public IOperator getOperator()
Get the operator.- Returns:
- The operator.
-
getFunctionCall
public FunctionCall getFunctionCall()
Get the function call.- Returns:
- The function call.
-
getVariables
public java.util.List getVariables()
Get the variables.- Specified by:
getVariables
in interfaceIConstraint
- Returns:
- The declared variables.
-
-