|
SysML | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<RiskKind>
org.topcased.sysml.RiskKind
public enum RiskKind
A representation of the literals of the enumeration ' < ? >Risk Kind', and utility methods for working with them.
SysMLPackage.getRiskKind()
Enum Constant Summary | |
---|---|
HIGH_LITERAL
The 'High' literal object |
|
LOW_LITERAL
The 'Low' literal object |
|
MEDIUM_LITERAL
The 'Medium' literal object |
Field Summary | |
---|---|
static java.lang.String |
copyright
|
static int |
HIGH
The 'High' literal value |
static int |
LOW
The 'Low' literal value |
static int |
MEDIUM
The 'Medium' literal value |
static java.util.List<RiskKind> |
VALUES
A public read-only list of all the 'Risk Kind' enumerators |
Method Summary | |
---|---|
static RiskKind |
get(int value)
Returns the 'Risk Kind' literal with the specified integer value |
static RiskKind |
get(java.lang.String literal)
Returns the 'Risk Kind' literal with the specified literal value |
static RiskKind |
getByName(java.lang.String name)
Returns the 'Risk Kind' literal with the specified name |
java.lang.String |
getLiteral()
|
java.lang.String |
getName()
|
int |
getValue()
|
java.lang.String |
toString()
Returns the literal value of the enumerator, which is its string representation |
static RiskKind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static RiskKind[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final RiskKind HIGH_LITERAL
HIGH
public static final RiskKind MEDIUM_LITERAL
MEDIUM
public static final RiskKind LOW_LITERAL
LOW
Field Detail |
---|
public static final java.lang.String copyright
public static final int HIGH
HIGH_LITERAL
,
Constant Field Valuespublic static final int MEDIUM
MEDIUM_LITERAL
,
Constant Field Valuespublic static final int LOW
LOW_LITERAL
,
Constant Field Valuespublic static final java.util.List<RiskKind> VALUES
Method Detail |
---|
public static final RiskKind[] values()
for(RiskKind c : RiskKind.values()) System.out.println(c);
public static RiskKind 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 namepublic static RiskKind get(java.lang.String literal)
public static RiskKind getByName(java.lang.String name)
public static RiskKind get(int value)
public int getValue()
getValue
in interface Enumerator
public java.lang.String getName()
getName
in interface Enumerator
public java.lang.String getLiteral()
getLiteral
in interface Enumerator
public java.lang.String toString()
toString
in class java.lang.Enum<RiskKind>
|
SysML | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.