public static enum SysMLProfile.ControlValueKindEnum extends java.lang.Enum<SysMLProfile.ControlValueKindEnum>
Enum Constant and Description |
---|
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).
|
Modifier and Type | Method and Description |
---|---|
static SysMLProfile.ControlValueKindEnum |
from(java.lang.Object o) |
java.lang.String |
getText() |
static SysMLProfile.ControlValueKindEnum |
toEnum(EnumerationLiteral literal) |
static EnumerationLiteral |
toEnumerationLiteral(SysMLProfile profile,
SysMLProfile.ControlValueKindEnum anEnum) |
static SysMLProfile.ControlValueKindEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SysMLProfile.ControlValueKindEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SysMLProfile.ControlValueKindEnum DISABLE
public static final SysMLProfile.ControlValueKindEnum ENABLE
public static SysMLProfile.ControlValueKindEnum[] values()
for (SysMLProfile.ControlValueKindEnum c : SysMLProfile.ControlValueKindEnum.values()) System.out.println(c);
public static SysMLProfile.ControlValueKindEnum valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getText()
@CheckForNull public static SysMLProfile.ControlValueKindEnum from(@CheckForNull java.lang.Object o)
@CheckForNull public static SysMLProfile.ControlValueKindEnum toEnum(EnumerationLiteral literal)
@CheckForNull public static EnumerationLiteral toEnumerationLiteral(SysMLProfile profile, SysMLProfile.ControlValueKindEnum anEnum)