Package com.nomagic.magicdraw.sysml.util
Enum Class SysMLProfile.ControlValueKindEnum
java.lang.Object
java.lang.Enum<SysMLProfile.ControlValueKindEnum>
com.nomagic.magicdraw.sysml.util.SysMLProfile.ControlValueKindEnum
- All Implemented Interfaces:
Serializable
,Comparable<SysMLProfile.ControlValueKindEnum>
,Constable
- Enclosing class:
- SysMLProfile
public static enum SysMLProfile.ControlValueKindEnum
extends 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 Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetText()
toEnum
(EnumerationLiteral literal) static EnumerationLiteral
toEnumerationLiteral
(SysMLProfile profile, SysMLProfile.ControlValueKindEnum anEnum) Returns the enum constant of this class with the specified name.static SysMLProfile.ControlValueKindEnum[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DISABLE
The disable literal means a termination of an executing behavior that can only be started again from the beginning (compare to suspend). -
ENABLE
The enable literal means to start a new execution of a behavior (compare to resume).
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getText
-
from
-
toEnum
-
toEnumerationLiteral
@CheckForNull public static EnumerationLiteral toEnumerationLiteral(SysMLProfile profile, SysMLProfile.ControlValueKindEnum anEnum)
-