de.cau.cs.kieler.synccharts
Interface Action

All Superinterfaces:
Annotatable, EObject, Notifier
All Known Subinterfaces:
Transition
All Known Implementing Classes:
ActionImpl, TransitionImpl

public interface Action
extends Annotatable

A representation of the model object 'Action'. An Action represents some effect that is executed under some certain condition. The condition or sometimes called guard is the trigger which simply is any boolean Expression over Signals or Variables. Note that Actions may also be used in contexts, where no trigger or resp. effects are allowed. E.g. a suspensionTrigger has no effect.

The effects of an Action are either Assignment, Emission or escaping to an TextEffect.

An Action has a String label that represents the trigger and the effects list in a textual representation. The user of the model is required to synchronize the label with the actual trigger and effects objects. For the SyncCharts graphical editor this is done by using an Xtext grammar/parser.

The following features are supported:

See Also:
SyncchartsPackage.getAction()
Rating red
Generated:
This code was automatically generated.
Model element

Field Summary
static String copyright
           
 
Method Summary
 int getDelay()
          Returns the value of the 'Delay' attribute.
 EList<Effect> getEffects()
          Returns the value of the 'Effects' containment reference list.
 String getLabel()
          Returns the value of the 'Label' attribute.
 Expression getTrigger()
          Returns the value of the 'Trigger' containment reference.
 boolean isIsImmediate()
          Returns the value of the 'Is Immediate' attribute.
 void setDelay(int value)
          Sets the value of the 'Delay' attribute.
 void setIsImmediate(boolean value)
          Sets the value of the 'Is Immediate' attribute.
 void setLabel(String value)
          Sets the value of the 'Label' attribute.
 void setTrigger(Expression value)
          Sets the value of the 'Trigger' containment reference.
 
Methods inherited from interface de.cau.cs.kieler.core.annotations.Annotatable
getAllAnnotations, getAnnotation, getAnnotations, removeAllAnnotations
 
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
 

Field Detail

copyright

static final String copyright

See Also:
Constant Field Values
Generated:
This code was automatically generated.
Method Detail

getEffects

EList<Effect> getEffects()
Returns the value of the 'Effects' containment reference list. The list contents are of type Effect.

If the meaning of the 'Effects' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Effects' containment reference list.
See Also:
SyncchartsPackage.getAction_Effects()
Generated:
This code was automatically generated.
Model element:
containment=true

getTrigger

Expression getTrigger()
Returns the value of the 'Trigger' containment reference.

If the meaning of the 'Trigger' containment reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Trigger' containment reference.
See Also:
setTrigger(Expression), SyncchartsPackage.getAction_Trigger()
Generated:
This code was automatically generated.
Model element:
containment=true

setTrigger

void setTrigger(Expression value)
Sets the value of the 'Trigger' containment reference.

Parameters:
value - the new value of the 'Trigger' containment reference.
See Also:
getTrigger()
Generated:
This code was automatically generated.

getDelay

int getDelay()
Returns the value of the 'Delay' attribute. The default value is "1".

If the meaning of the 'Delay' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Delay' attribute.
See Also:
setDelay(int), SyncchartsPackage.getAction_Delay()
Generated:
This code was automatically generated.
Model element:
default=1

setDelay

void setDelay(int value)
Sets the value of the 'Delay' attribute.

Parameters:
value - the new value of the 'Delay' attribute.
See Also:
getDelay()
Generated:
This code was automatically generated.

isIsImmediate

boolean isIsImmediate()
Returns the value of the 'Is Immediate' attribute.

If the meaning of the 'Is Immediate' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Is Immediate' attribute.
See Also:
setIsImmediate(boolean), SyncchartsPackage.getAction_IsImmediate()
Generated:
This code was automatically generated.
Model element

setIsImmediate

void setIsImmediate(boolean value)
Sets the value of the 'Is Immediate' attribute.

Parameters:
value - the new value of the 'Is Immediate' attribute.
See Also:
isIsImmediate()
Generated:
This code was automatically generated.

getLabel

String getLabel()
Returns the value of the 'Label' attribute.

If the meaning of the 'Label' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Label' attribute.
See Also:
setLabel(String), SyncchartsPackage.getAction_Label()
Generated:
This code was automatically generated.
Model element:
unique=false
ordered=false

setLabel

void setLabel(String value)
Sets the value of the 'Label' attribute.

Parameters:
value - the new value of the 'Label' attribute.
See Also:
getLabel()
Generated:
This code was automatically generated.