Package com.nomagic.magicdraw.uml2
Class UML2MetaTypes
java.lang.Object
com.nomagic.magicdraw.uml2.UML2MetaTypes
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <V> V
callWithoutCachedResolver
(Callable<V> callable) Call callable without cached resolvergetClassOfMetaClass
(Class metaClass) static boolean
hasUML2MetamodelNameAndURI
(Model model) static boolean
hasUML2MetaModelURI
(Model model) static boolean
static boolean
static boolean
static void
-
Field Details
-
UML2METAMODEL_NAME
Name of UML2 metamodel- See Also:
-
UML2METAMODEL_URI
URI of UML2 metamodel, must correspond UML standard profile metamodel uri.- See Also:
-
UML2METAMODEL_PRIMITIVE_TYPES
Name of primitives package in the UML2 metamodel- See Also:
-
-
Constructor Details
-
UML2MetaTypes
public UML2MetaTypes()
-
-
Method Details
-
setCachedResolver
-
isUML2MetaClass
-
callWithoutCachedResolver
Call callable without cached resolver- Type Parameters:
V
- result type- Parameters:
callable
- callable- Returns:
- result of callable
- Throws:
Exception
-
isOwnedByUML2Metamodel
-
getClassOfMetaClass
-
isOfType
- Parameters:
element
- any model element- Returns:
- true if given class type of given element is compatible with java.lang.Class of the given metaType
-
hasUML2MetamodelNameAndURI
-
hasUML2MetaModelURI
-