java.lang.Object
org.eclipse.emf.common.util.AbstractEnumerator
com.dassault_systemes.modeler.sysml.model.sysml.TriggerKind
All Implemented Interfaces:
Serializable, org.eclipse.emf.common.util.Enumerator

@OpenApiAll public class TriggerKind extends org.eclipse.emf.common.util.AbstractEnumerator
A representation of the literals of the enumeration 'Trigger Kind', and utility methods for working with them.

TriggerKind enumerates the kinds of triggers that can be represented by a TriggerInvocationExpression.

See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final TriggerKind
    The 'After' literal object.
    static final int
    The 'After' literal value.
    static final TriggerKind
    The 'At' literal object.
    static final int
    The 'At' literal value.
    static final List<TriggerKind>
    A public read-only list of all the 'Trigger Kind' enumerators.
    static final TriggerKind
    The 'When' literal object.
    static final int
    The 'When' literal value.
  • Method Summary

    Modifier and Type
    Method
    Description
    get(int value)
    Returns the 'Trigger Kind' literal with the specified integer value.
    get(String literal)
    Returns the 'Trigger Kind' literal with the specified literal value.
    Returns the 'Trigger Kind' literal with the specified name.

    Methods inherited from class org.eclipse.emf.common.util.AbstractEnumerator

    getLiteral, getName, getValue, toString, writeReplace

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • WHEN

      public static final TriggerKind WHEN
      The 'When' literal object.

      Indicates a change trigger, corresponding to the TriggerWhen Function from the Triggers model in the Kernel Semantic Library.

      See Also:
    • AT

      public static final TriggerKind AT
      The 'At' literal object.

      Indicates an absolute time trigger, corresponding to the TriggerAt Function from the Triggers model in the Kernel Semantic Library.

      See Also:
    • AFTER

      public static final TriggerKind AFTER
      The 'After' literal object.

      Indicates a relative time trigger, corresponding to the TriggerAfter Function from the Triggers model in the Kernel Semantic Library.

      See Also:
    • WHEN_VALUE

      public static final int WHEN_VALUE
      The 'When' literal value.

      Indicates a change trigger, corresponding to the TriggerWhen Function from the Triggers model in the Kernel Semantic Library.

      See Also:
    • AT_VALUE

      public static final int AT_VALUE
      The 'At' literal value.

      Indicates an absolute time trigger, corresponding to the TriggerAt Function from the Triggers model in the Kernel Semantic Library.

      See Also:
    • AFTER_VALUE

      public static final int AFTER_VALUE
      The 'After' literal value.

      Indicates a relative time trigger, corresponding to the TriggerAfter Function from the Triggers model in the Kernel Semantic Library.

      See Also:
    • VALUES

      public static final List<TriggerKind> VALUES
      A public read-only list of all the 'Trigger Kind' enumerators.
  • Method Details

    • get

      @CheckForNull public static TriggerKind get(String literal)
      Returns the 'Trigger Kind' literal with the specified literal value.
      Parameters:
      literal - the literal.
      Returns:
      the matching enumerator or null.
    • getByName

      @CheckForNull public static TriggerKind getByName(String name)
      Returns the 'Trigger Kind' literal with the specified name.
      Parameters:
      name - the name.
      Returns:
      the matching enumerator or null.
    • get

      @CheckForNull public static TriggerKind get(int value)
      Returns the 'Trigger Kind' literal with the specified integer value.
      Parameters:
      value - the integer value.
      Returns:
      the matching enumerator or null.