Class TriggerKind
- All Implemented Interfaces:
Serializable,org.eclipse.emf.common.util.Enumerator
TriggerKind enumerates the kinds of triggers that can be represented by a TriggerInvocationExpression.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TriggerKindThe 'After' literal object.static final intThe 'After' literal value.static final TriggerKindThe 'At' literal object.static final intThe 'At' literal value.static final List<TriggerKind> A public read-only list of all the 'Trigger Kind' enumerators.static final TriggerKindThe 'When' literal object.static final intThe 'When' literal value. -
Method Summary
Modifier and TypeMethodDescriptionstatic TriggerKindget(int value) Returns the 'Trigger Kind' literal with the specified integer value.static TriggerKindReturns the 'Trigger Kind' literal with the specified literal value.static TriggerKindReturns the 'Trigger Kind' literal with the specified name.Methods inherited from class org.eclipse.emf.common.util.AbstractEnumerator
getLiteral, getName, getValue, toString, writeReplace
-
Field Details
-
WHEN
The 'When' literal object.Indicates a change trigger, corresponding to the
TriggerWhenFunctionfrom theTriggersmodel in the Kernel Semantic Library.- See Also:
-
AT
The 'At' literal object.Indicates an absolute time trigger, corresponding to the
TriggerAtFunctionfrom theTriggersmodel in the Kernel Semantic Library.- See Also:
-
AFTER
The 'After' literal object.Indicates a relative time trigger, corresponding to the
TriggerAfterFunctionfrom theTriggersmodel in theKernel Semantic Library.- See Also:
-
WHEN_VALUE
public static final int WHEN_VALUEThe 'When' literal value.Indicates a change trigger, corresponding to the
TriggerWhenFunctionfrom theTriggersmodel in the Kernel Semantic Library.- See Also:
-
AT_VALUE
public static final int AT_VALUEThe 'At' literal value.Indicates an absolute time trigger, corresponding to the
TriggerAtFunctionfrom theTriggersmodel in the Kernel Semantic Library.- See Also:
-
AFTER_VALUE
public static final int AFTER_VALUEThe 'After' literal value.Indicates a relative time trigger, corresponding to the
TriggerAfterFunctionfrom theTriggersmodel in theKernel Semantic Library.- See Also:
-
VALUES
A public read-only list of all the 'Trigger Kind' enumerators.
-
-
Method Details
-
get
Returns the 'Trigger Kind' literal with the specified literal value.- Parameters:
literal- the literal.- Returns:
- the matching enumerator or
null.
-
getByName
Returns the 'Trigger Kind' literal with the specified name.- Parameters:
name- the name.- Returns:
- the matching enumerator or
null.
-
get
Returns the 'Trigger Kind' literal with the specified integer value.- Parameters:
value- the integer value.- Returns:
- the matching enumerator or
null.
-