Package com.nomagic.magicdraw.uml2
Class UML2MetaTypes
java.lang.Object
com.nomagic.magicdraw.uml2.UML2MetaTypes
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <V> VcallWithoutCachedResolver(Callable<V> callable) Call callable without cached resolvergetClassOfMetaClass(Class metaClass) static booleanhasUML2MetamodelNameAndURI(Model model) static booleanhasUML2MetaModelURI(Model model) static booleanstatic booleanstatic booleanstatic 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
-