org.openorb.trader.constraint
Class Recipe

java.lang.Object
  extended by org.openorb.trader.constraint.Recipe

public class Recipe
extends java.lang.Object

This class is used to apply the Recipe Syntax ( to transform a constraint to another one )


Constructor Summary
Recipe()
           
 
Method Summary
static java.lang.String translate_constraint(java.lang.String constraint, java.lang.String recipe, Property[] properties)
          Translate a constraint via a recipe expression
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Recipe

public Recipe()
Method Detail

translate_constraint

public static java.lang.String translate_constraint(java.lang.String constraint,
                                                    java.lang.String recipe,
                                                    Property[] properties)
                                             throws org.openorb.constraint.InvalidConstraint
Translate a constraint via a recipe expression

Throws:
org.openorb.constraint.InvalidConstraint