Class ExpressionRestriction
java.lang.Object
nz.org.riskscape.engine.restriction.ExpressionRestriction
- All Implemented Interfaces:
nz.org.riskscape.engine.restriction.Restriction
public class ExpressionRestriction
extends Object
implements nz.org.riskscape.engine.restriction.Restriction
-
Field Summary
Fields inherited from interface nz.org.riskscape.engine.restriction.Restriction
NONE
-
Constructor Summary
ConstructorDescriptionExpressionRestriction
(nz.org.riskscape.rl.ast.Expression expression, nz.org.riskscape.engine.rl.ExpressionRealizer expressionRealizer) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface nz.org.riskscape.engine.restriction.Restriction
restrictType
-
Constructor Details
-
ExpressionRestriction
public ExpressionRestriction(nz.org.riskscape.rl.ast.Expression expression, nz.org.riskscape.engine.rl.ExpressionRealizer expressionRealizer)
-
-
Method Details
-
getPredicate
- Specified by:
getPredicate
in interfacenz.org.riskscape.engine.restriction.Restriction
-
validate
- Specified by:
validate
in interfacenz.org.riskscape.engine.restriction.Restriction
-
getExpression
public nz.org.riskscape.rl.ast.Expression getExpression()
-