org.eclipse.m2m.atl.adt.ui.text.atl.types
Class SetType
java.lang.Object
org.eclipse.m2m.atl.adt.ui.text.atl.types.OclAnyType
org.eclipse.m2m.atl.adt.ui.text.atl.types.CollectionType
org.eclipse.m2m.atl.adt.ui.text.atl.types.SetType
public class SetType
- extends CollectionType
The ATL Set type.
Fields inherited from class org.eclipse.m2m.atl.adt.ui.text.atl.types.OclAnyType |
oclType |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
SetType
public SetType(OclAnyType parameter)
- Constructor.
- Parameters:
parameter
- the Set parameter type
getCollectionType
public java.lang.String getCollectionType()
- Returns the collection kind.
- Overrides:
getCollectionType
in class CollectionType
- Returns:
- the collection kind
- See Also:
CollectionType.getCollectionType()
getTypeOperations
protected java.util.List<Operation> getTypeOperations()
- Return the local type operations. Subclasses may override this method to add their own operation to
the supertypes's ones.
- Overrides:
getTypeOperations
in class CollectionType
- Returns:
- the operations
- See Also:
OclAnyType.getTypeOperations()
getSupertypes
public OclAnyType[] getSupertypes()
-
- Overrides:
getSupertypes
in class CollectionType
- See Also:
OclAnyType.getSupertypes()
getInstance
public static SetType getInstance()
- Returns the default Set type singleton.
- Returns:
- the default Set type singleton