org.eclipse.emf.henshin.model
Interface Unit

All Superinterfaces:
EObject, ModelElement, NamedElement, Notifier
All Known Subinterfaces:
ConditionalUnit, IndependentUnit, IteratedUnit, LoopUnit, MultiUnit, PriorityUnit, Rule, SequentialUnit, UnaryUnit
All Known Implementing Classes:
ConditionalUnitImpl, IndependentUnitImpl, IteratedUnitImpl, LoopUnitImpl, MultiUnitImpl, PriorityUnitImpl, RuleImpl, SequentialUnitImpl, UnaryUnitImpl, UnitImpl

public interface Unit
extends NamedElement

A representation of the model object 'Unit'.

The following features are supported:

See Also:
HenshinPackage.getUnit()

Method Summary
 Module getModule()
           
 Parameter getParameter(String parameter)
           
 EList<ParameterMapping> getParameterMappings()
          Returns the value of the 'Parameter Mappings' containment reference list.
 EList<Parameter> getParameters()
          Returns the value of the 'Parameters' containment reference list.
 EList<Unit> getSubUnits(boolean deep)
           
 boolean isActivated()
          Returns the value of the 'Activated' attribute.
 void setActivated(boolean value)
          Sets the value of the 'Activated' attribute.
 
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

getParameters

EList<Parameter> getParameters()
Returns the value of the 'Parameters' containment reference list. The list contents are of type Parameter. It is bidirectional and its opposite is 'Unit'.

Returns:
the value of the 'Parameters' containment reference list.
See Also:
HenshinPackage.getUnit_Parameters(), Parameter.getUnit()

getParameterMappings

EList<ParameterMapping> getParameterMappings()
Returns the value of the 'Parameter Mappings' containment reference list. The list contents are of type ParameterMapping.

Returns:
the value of the 'Parameter Mappings' containment reference list.
See Also:
HenshinPackage.getUnit_ParameterMappings()

isActivated

boolean isActivated()
Returns the value of the 'Activated' attribute. The default value is "true".

Returns:
the value of the 'Activated' attribute.
See Also:
setActivated(boolean), HenshinPackage.getUnit_Activated()

setActivated

void setActivated(boolean value)
Sets the value of the 'Activated' attribute.

Parameters:
value - the new value of the 'Activated' attribute.
See Also:
isActivated()

getModule

Module getModule()


getSubUnits

EList<Unit> getSubUnits(boolean deep)


getParameter

Parameter getParameter(String parameter)