Class OclType
java.lang.Object
org.eclipse.m2m.atl.engine.emfvm.lib.OclType
- Direct Known Subclasses:
OclParametrizedType,OclSimpleType
Abstract OCLtype.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddSimpleType(String typeName, Class<?> typeClass) Registers a simple type.abstract booleanconformsTo(OclType other) Tests if the current object conforms to the given object.getName()getNativeClassfromOclTypeName(String typeName) oclType util.static OclTypeoclType util.voidtoString()
-
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
-