org.eclipse.emf.henshin.model
Interface Module

All Superinterfaces:
EObject, ModelElement, NamedElement, Notifier
All Known Implementing Classes:
ModuleImpl

public interface Module
extends NamedElement

A representation of the model object 'Module'.

The following features are supported:

See Also:
HenshinPackage.getModule()

Method Summary
 EList<EPackage> getImports()
          Returns the value of the 'Imports' reference list.
 EList<Graph> getInstances()
          Deprecated. Will not be supported in the future.
 Module getSubModule(String name)
          Get the submodule with a specified name.
 EList<Module> getSubModules()
          Returns the value of the 'Sub Modules' containment reference list.
 Module getSuperModule()
          Returns the value of the 'Super Module' container reference.
 Unit getUnit(String name)
          Get the unit with a specified name.
 EList<Unit> getUnits()
          Returns the value of the 'Units' containment reference list.
 void setSuperModule(Module value)
          Sets the value of the 'Super Module' container reference.
 
Methods inherited from interface org.eclipse.emf.henshin.model.NamedElement
getDescription, getName, setDescription, setName
 
Methods inherited from interface org.eclipse.emf.henshin.model.ModelElement
getAnnotations
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getSubModules

EList<Module> getSubModules()
Returns the value of the 'Sub Modules' containment reference list. The list contents are of type Module. It is bidirectional and its opposite is 'Super Module'.

Returns:
the value of the 'Sub Modules' containment reference list.
See Also:
HenshinPackage.getModule_SubModules(), getSuperModule()

getSuperModule

Module getSuperModule()
Returns the value of the 'Super Module' container reference. It is bidirectional and its opposite is 'Sub Modules'.

Returns:
the value of the 'Super Module' container reference.
See Also:
setSuperModule(Module), HenshinPackage.getModule_SuperModule(), getSubModules()

setSuperModule

void setSuperModule(Module value)
Sets the value of the 'Super Module' container reference.

Parameters:
value - the new value of the 'Super Module' container reference.
See Also:
getSuperModule()

getImports

EList<EPackage> getImports()
Returns the value of the 'Imports' reference list. The list contents are of type EPackage.

Returns:
the value of the 'Imports' reference list.
See Also:
HenshinPackage.getModule_Imports()

getUnits

EList<Unit> getUnits()
Returns the value of the 'Units' containment reference list. The list contents are of type Unit.

Returns:
the value of the 'Units' containment reference list.
See Also:
HenshinPackage.getModule_Units()

getInstances

EList<Graph> getInstances()
Deprecated. Will not be supported in the future.

Returns the value of the 'Instances' containment reference list. The list contents are of type Graph.

Returns:
the value of the 'Instances' containment reference list.
See Also:
HenshinPackage.getModule_Instances()

getUnit

Unit getUnit(String name)
Get the unit with a specified name.


getSubModule

Module getSubModule(String name)
Get the submodule with a specified name.