uci.uml.ocl
Class OCLEvaluator

java.lang.Object
  |
  +--uci.uml.ocl.OCLEvaluator

public class OCLEvaluator
extends Object


Constructor Summary
OCLEvaluator()
           
 
Method Summary
static Vector eval(Hashtable bindings, String expr)
           
static Vector eval(Hashtable bindings, String expr, Vector targets)
           
static Object evaluateProperty(Object target, String property)
           
static Vector flatten(Vector v)
           
static void flattenInto(Object o, Vector accum)
           
static String toTitleCase(String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OCLEvaluator

public OCLEvaluator()
Method Detail

eval

public static Vector eval(Hashtable bindings,
                          String expr)

eval

public static Vector eval(Hashtable bindings,
                          String expr,
                          Vector targets)

toTitleCase

public static String toTitleCase(String s)

evaluateProperty

public static Object evaluateProperty(Object target,
                                      String property)

flatten

public static Vector flatten(Vector v)

flattenInto

public static void flattenInto(Object o,
                               Vector accum)