Class OclParametrizedType
java.lang.Object
org.eclipse.m2m.atl.engine.emfvm.lib.OclType
org.eclipse.m2m.atl.engine.emfvm.lib.OclParametrizedType
An OCL complex type.
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor.OclParametrizedType(String name, Object elementType) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleanconformsTo(OclType other) Tests if the current object conforms to the given object.booleaninthashCode()voidsetElementType(Object elementType) Sets the element type.toString()Methods inherited from class org.eclipse.m2m.atl.engine.emfvm.lib.OclType
addSimpleType, getName, getNativeClassfromOclTypeName, getOclTypeFromObject, getSupertypes, setName
-
Constructor Details
-
OclParametrizedType
Constructor.- Parameters:
name- the type nameelementType- the type
-
OclParametrizedType
public OclParametrizedType()Constructor.
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
toString
-
getElementType
-
setElementType
Sets the element type.- Parameters:
elementType- the type to set
-
conformsTo
Tests if the current object conforms to the given object.- Specified by:
conformsToin classOclType- Parameters:
other- the other object- Returns:
- true if the current object conforms to the given object
- See Also:
-