Class OclParametrizedType
- java.lang.Object
-
- org.eclipse.m2m.atl.engine.emfvm.lib.OclType
-
- org.eclipse.m2m.atl.engine.emfvm.lib.OclParametrizedType
-
public class OclParametrizedType extends OclType
An OCL complex type.
-
-
Constructor Summary
Constructors Constructor Description OclParametrizedType()Constructor.OclParametrizedType(java.lang.String name, java.lang.Object elementType)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanconformsTo(OclType other)Tests if the current object conforms to the given object.booleanequals(java.lang.Object obj)OclTypegetElementType()inthashCode()voidsetElementType(java.lang.Object elementType)Sets the element type.java.lang.StringtoString()-
Methods inherited from class org.eclipse.m2m.atl.engine.emfvm.lib.OclType
addSimpleType, getName, getNativeClassfromOclTypeName, getOclTypeFromObject, getSupertypes, setName
-
-
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object- See Also:
Object.equals(java.lang.Object)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object- See Also:
Object.hashCode()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classOclType- See Also:
OclType.toString()
-
getElementType
public OclType getElementType()
-
setElementType
public void setElementType(java.lang.Object elementType)
Sets the element type.- Parameters:
elementType- the type to set
-
conformsTo
public boolean conformsTo(OclType other)
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:
OclType.conformsTo(org.eclipse.m2m.atl.engine.emfvm.lib.OclType)
-
-