org.eclipse.emf.henshin.model
Interface ConditionalUnit

All Superinterfaces:
EObject, ModelElement, NamedElement, Notifier, Unit
All Known Implementing Classes:
ConditionalUnitImpl

public interface ConditionalUnit
extends Unit

A representation of the model object 'Conditional Unit'.

The following features are supported:

See Also:
HenshinPackage.getConditionalUnit()

Method Summary
 Unit getElse()
          Returns the value of the 'Else' reference.
 Unit getIf()
          Returns the value of the 'If' reference.
 Unit getThen()
          Returns the value of the 'Then' reference.
 void setElse(Unit value)
          Sets the value of the 'Else' reference.
 void setIf(Unit value)
          Sets the value of the 'If' reference.
 void setThen(Unit value)
          Sets the value of the 'Then' reference.
 
Methods inherited from interface org.eclipse.emf.henshin.model.Unit
getModule, getParameter, getParameterMappings, getParameters, getSubUnits, isActivated, setActivated
 
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

getIf

Unit getIf()
Returns the value of the 'If' reference.

Returns:
the value of the 'If' reference.
See Also:
setIf(Unit), HenshinPackage.getConditionalUnit_If()

setIf

void setIf(Unit value)
Sets the value of the 'If' reference.

Parameters:
value - the new value of the 'If' reference.
See Also:
getIf()

getThen

Unit getThen()
Returns the value of the 'Then' reference.

Returns:
the value of the 'Then' reference.
See Also:
setThen(Unit), HenshinPackage.getConditionalUnit_Then()

setThen

void setThen(Unit value)
Sets the value of the 'Then' reference.

Parameters:
value - the new value of the 'Then' reference.
See Also:
getThen()

getElse

Unit getElse()
Returns the value of the 'Else' reference.

Returns:
the value of the 'Else' reference.
See Also:
setElse(Unit), HenshinPackage.getConditionalUnit_Else()

setElse

void setElse(Unit value)
Sets the value of the 'Else' reference.

Parameters:
value - the new value of the 'Else' reference.
See Also:
getElse()