Enum SysMLProfile.ControlValueKindEnum

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<SysMLProfile.ControlValueKindEnum>
    Enclosing class:
    SysMLProfile

    public static enum SysMLProfile.ControlValueKindEnum
    extends java.lang.Enum<SysMLProfile.ControlValueKindEnum>
    The ControlValue enumeration is a type for treating control values as data and for UML control pins. It can be used as the type of behavior and operation parameters, object nodes, and attributes, and so on. The possible runtime values are given as enumeration literals. Modelers can extend the enumeration with additional literals, such as suspend, resume, with their own semantics.
    • Enum Constant Detail

      • DISABLE

        public static final SysMLProfile.ControlValueKindEnum DISABLE
        The disable literal means a termination of an executing behavior that can only be started again from the beginning (compare to suspend).
    • Field Detail

      • text

        private final java.lang.String text
    • Constructor Detail

      • ControlValueKindEnum

        private ControlValueKindEnum​(java.lang.String text)
    • Method Detail

      • values

        public static SysMLProfile.ControlValueKindEnum[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (SysMLProfile.ControlValueKindEnum c : SysMLProfile.ControlValueKindEnum.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static SysMLProfile.ControlValueKindEnum valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getText

        public java.lang.String getText()