Package jadex.rules.rulesystem.rules
Class PredicateConstraint
- java.lang.Object
-
- jadex.rules.rulesystem.rules.PredicateConstraint
-
- All Implemented Interfaces:
IConstraint
public class PredicateConstraint extends java.lang.Object implements IConstraint
PredicateConstraint assures that (true == p(var1, var2, ...))
-
-
Field Summary
Fields Modifier and Type Field Description protected FunctionCall
funcall
The function call.
-
Constructor Summary
Constructors Constructor Description PredicateConstraint(FunctionCall funcall)
Create a new predicate constraint.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FunctionCall
getFunctionCall()
Get the function call.java.util.List
getVariables()
Get the variables.java.lang.String
toString()
Get the string representation.
-
-
-
Field Detail
-
funcall
protected FunctionCall funcall
The function call.
-
-
Constructor Detail
-
PredicateConstraint
public PredicateConstraint(FunctionCall funcall)
Create a new predicate constraint.
-
-
Method Detail
-
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.
-
toString
public java.lang.String toString()
Get the string representation.- Overrides:
toString
in classjava.lang.Object
- Returns:
- The string representation.
-
-