| java.lang.Object org.andromda.metafacades.uml.UMLMetafacadeUtils
UMLMetafacadeUtils | public class UMLMetafacadeUtils (Code) | | Contains utilities that are common to the UML metafacades.
author: Chad Brandon |
Method Summary | |
public static String | getGetterPrefix(ClassifierFacade type) Gets the getter prefix for a getter operation given the type .
Parameters: type - the type from which to determine the prefix. | public static boolean | isConstraintKind(String expression, String kind) Returns true if the passed in constraint expression is of type kind , false otherwise.
Parameters: expression - the expression to check. Parameters: kind - the constraint kind (i.e. | public static boolean | isType(ClassifierFacade classifier, 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
Parameters: typeName - the name of the type (i.e. |
getGetterPrefix | public static String getGetterPrefix(ClassifierFacade type)(Code) | | Gets the getter prefix for a getter operation given the type .
Parameters: type - the type from which to determine the prefix. the gettern prefix. |
isConstraintKind | public static boolean isConstraintKind(String expression, String kind)(Code) | | Returns true if the passed in constraint expression is of type kind , false otherwise.
Parameters: expression - the expression to check. Parameters: kind - the constraint kind (i.e. inv,pre, body, etc). true/false |
isType | public static boolean isType(ClassifierFacade classifier, String typeName)(Code) | | 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
Parameters: typeName - the name of the type (i.e. datatype::Collection) true/false |
|
|