|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.andromda.metafacades.uml.UMLMetafacadeUtils
public class UMLMetafacadeUtils
Contains utilities that are common to the UML metafacades.
| Constructor Summary | |
|---|---|
UMLMetafacadeUtils()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
getGetterPrefix(ClassifierFacade type)
Gets the getter prefix for a getter operation given the type. |
static boolean |
isConstraintKind(java.lang.String expression,
java.lang.String kind)
Returns true if the passed in constraint expression is of type kind, false otherwise. |
static boolean |
isType(ClassifierFacade classifier,
java.lang.String typeName)
Returns true or false depending on whether or not this Classifier or any of its specializations is of the given type having the specified typeName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UMLMetafacadeUtils()
| Method Detail |
|---|
public static boolean isType(ClassifierFacade classifier,
java.lang.String typeName)
typeName
typeName - the name of the type (i.e. datatype::Collection)
public static java.lang.String getGetterPrefix(ClassifierFacade type)
type.
type - the type from which to determine the prefix.
public static boolean isConstraintKind(java.lang.String expression,
java.lang.String kind)
expression is of type kind, false otherwise.
expression - the expression to check.kind - the constraint kind (i.e. inv,pre, body, etc).
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||