Class OclType
java.lang.Object
org.eclipse.m2m.atl.engine.emfvm.lib.OclType
- Direct Known Subclasses:
OclParametrizedType
,OclSimpleType
Abstract OCLtype.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
addSimpleType
(String typeName, Class<?> typeClass) Registers a simple type.abstract boolean
conformsTo
(OclType other) Tests if the current object conforms to the given object.getName()
getNativeClassfromOclTypeName
(String typeName) oclType util.static OclType
oclType util.void
toString()
-
Constructor Details
-
OclType
public OclType()
-
-
Method Details
-
getName
-
setName
-
toString
-
conformsTo
Tests if the current object conforms to the given object.- Parameters:
other
- the other object- Returns:
- true if the current object conforms to the given object
-
getSupertypes
-
getOclTypeFromObject
oclType util.- Parameters:
cl
- the given class- Returns:
- the ocl type
-
getNativeClassfromOclTypeName
oclType util.- Parameters:
typeName
- the given class- Returns:
- the ocl type
-
addSimpleType
Registers a simple type.- Parameters:
typeName
- the type nametypeClass
- the type class
-