|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Action
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
Signal
s or Variable
s. 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:
SyncchartsPackage.getAction()
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 |
---|
static final String copyright
Method Detail |
---|
EList<Effect> getEffects()
Effect
.
If the meaning of the 'Effects' containment reference list isn't clear, there really should be more of a description here...
SyncchartsPackage.getAction_Effects()
containment | = | true |
Expression getTrigger()
If the meaning of the 'Trigger' containment reference isn't clear, there really should be more of a description here...
setTrigger(Expression)
,
SyncchartsPackage.getAction_Trigger()
containment | = | true |
void setTrigger(Expression value)
Trigger
' containment reference.
value
- the new value of the 'Trigger' containment reference.getTrigger()
int getDelay()
"1"
.
If the meaning of the 'Delay' attribute isn't clear, there really should be more of a description here...
setDelay(int)
,
SyncchartsPackage.getAction_Delay()
default | = | 1 |
void setDelay(int value)
Delay
' attribute.
value
- the new value of the 'Delay' attribute.getDelay()
boolean isIsImmediate()
If the meaning of the 'Is Immediate' attribute isn't clear, there really should be more of a description here...
setIsImmediate(boolean)
,
SyncchartsPackage.getAction_IsImmediate()
void setIsImmediate(boolean value)
Is Immediate
' attribute.
value
- the new value of the 'Is Immediate' attribute.isIsImmediate()
String getLabel()
If the meaning of the 'Label' attribute isn't clear, there really should be more of a description here...
setLabel(String)
,
SyncchartsPackage.getAction_Label()
unique | = | false |
ordered | = | false |
void setLabel(String value)
Label
' attribute.
value
- the new value of the 'Label' attribute.getLabel()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |