Package com.nomagic.magicdraw.uml2
Class UML2MetaTypes
- java.lang.Object
-
- com.nomagic.magicdraw.uml2.UML2MetaTypes
-
public class UML2MetaTypes extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
UML2MetaTypes.CachedResolver
-
Field Summary
Fields Modifier and Type Field Description private static UML2MetaTypes.CachedResolver
CACHED_RESOLVER
static java.lang.String
UML2METAMODEL_NAME
Name of UML2 metamodelstatic java.lang.String
UML2METAMODEL_PRIMITIVE_TYPES
Name of primitives package in the UML2 metamodelstatic java.lang.String
UML2METAMODEL_URI
URI of UML2 metamodel, must correspond UML standard profile metamodel uri.
-
Constructor Summary
Constructors Constructor Description UML2MetaTypes()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.Class<? extends Element>
getClassOfMetaClass(Class metaClass)
static boolean
isOfType(Element element, Class uml2MetaClass)
static boolean
isUML2MetaClass(Class c)
static void
setCachedResolver(UML2MetaTypes.CachedResolver resolver)
-
-
-
Field Detail
-
CACHED_RESOLVER
@CheckForNull private static UML2MetaTypes.CachedResolver CACHED_RESOLVER
-
UML2METAMODEL_NAME
public static final java.lang.String UML2METAMODEL_NAME
Name of UML2 metamodel- See Also:
- Constant Field Values
-
UML2METAMODEL_URI
public static final java.lang.String UML2METAMODEL_URI
URI of UML2 metamodel, must correspond UML standard profile metamodel uri.- See Also:
- Constant Field Values
-
UML2METAMODEL_PRIMITIVE_TYPES
public static final java.lang.String UML2METAMODEL_PRIMITIVE_TYPES
Name of primitives package in the UML2 metamodel- See Also:
- Constant Field Values
-
-
Method Detail
-
setCachedResolver
public static void setCachedResolver(@CheckForNull UML2MetaTypes.CachedResolver resolver)
-
isUML2MetaClass
public static boolean isUML2MetaClass(Class c)
-
getClassOfMetaClass
@CheckForNull public static java.lang.Class<? extends Element> getClassOfMetaClass(Class metaClass)
-
-