uci.uml.util
Class UMLDescription
java.lang.Object
|
+--uci.uml.util.UMLDescription
- public class UMLDescription
- extends Object
This class is a placeholder that will eventually be replaced by a
design-time OCL evaluator. This class is used to help generate
the text shown in the titles and bodies of feedback produced by
critics and checklist items. For example if the headline of a
critic contains {name}, then the name of the offending model
element is used in place of that expression. Needs-more-work:
right now this only handles a small, hard-coded set of
expressions, I should use a full OCL evaluator.
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
NAME
public static String NAME
VIS
public static String VIS
MULT
public static String MULT
TYPE
public static String TYPE
RETURNS
public static String RETURNS
INIT
public static String INIT
OWNER
public static String OWNER
STRUCT
public static String STRUCT
BEHAV
public static String BEHAV
NAMESPACE
public static String NAMESPACE
DEFAULT_STR
public static String DEFAULT_STR
UMLDescription
public UMLDescription()
expand
public static String expand(String desc,
Object dm)
evaluateOCL
public static String evaluateOCL(Object dm,
String expr)