|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openorb.trader.constraint.TraderConstraint
public class TraderConstraint
To evaluate Trader constraints, we reuse the OpenORB Evaluator Utility. However, we encapsulate it to provide some additional features for the trader.
Constructor Summary | |
---|---|
TraderConstraint(org.openorb.constraint.Constraint cstr)
Simple constructor |
Method Summary | |
---|---|
boolean |
evaluate(Property[] properties)
This operation is invoked to evaluate a trader constraint. |
double |
evaluateNumeric(Property[] properties)
This operation is invoked to evaluate a trader constraint and returns a numeric result. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TraderConstraint(org.openorb.constraint.Constraint cstr)
Method Detail |
---|
public boolean evaluate(Property[] properties) throws org.openorb.constraint.InvalidValue
org.openorb.constraint.InvalidValue
public double evaluateNumeric(Property[] properties) throws org.openorb.constraint.InvalidValue
org.openorb.constraint.InvalidValue
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |