org.eclipse.m2m.atl.adt.ui.text.atl.types
Class ModuleType
java.lang.Object
org.eclipse.m2m.atl.adt.ui.text.atl.types.OclAnyType
org.eclipse.m2m.atl.adt.ui.text.atl.types.UnitType
org.eclipse.m2m.atl.adt.ui.text.atl.types.ModuleType
public class ModuleType
- extends UnitType
The ATL Module type.
Fields inherited from class org.eclipse.m2m.atl.adt.ui.text.atl.types.OclAnyType |
oclType |
Constructor Summary |
ModuleType(org.eclipse.core.resources.IFile file,
AtlSourceManager manager)
Creates a new module from the given source manager. |
Method Summary |
protected java.util.Collection<org.eclipse.emf.ecore.EObject> |
getHelpersObjects()
Returns the helpers atl objects. |
org.eclipse.emf.ecore.EObject |
getRule(java.lang.String ruleName)
Returns the rule with the given name if present. |
protected java.util.List<Operation> |
getTypeOperations()
Return the local type operations. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
ModuleType
public ModuleType(org.eclipse.core.resources.IFile file,
AtlSourceManager manager)
- Creates a new module from the given source manager.
- Parameters:
file
- the file containing the declarationmanager
- the source manager
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 OclAnyType
- Returns:
- the operations
- See Also:
OclAnyType.getTypeOperations()
getRule
public org.eclipse.emf.ecore.EObject getRule(java.lang.String ruleName)
- Returns the rule with the given name if present.
- Parameters:
ruleName
- the rule name
- Returns:
- the rule with the given name if present
getHelpersObjects
protected java.util.Collection<org.eclipse.emf.ecore.EObject> getHelpersObjects()
- Returns the helpers atl objects.
- Specified by:
getHelpersObjects
in class UnitType
- Returns:
- the helpers atl objects
- See Also:
UnitType.getHelpersObjects()