SysML

org.topcased.sysml
Enum RiskKind

java.lang.Object
  extended by java.lang.Enum<RiskKind>
      extended by org.topcased.sysml.RiskKind
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<RiskKind>, Enumerator

public enum RiskKind
extends java.lang.Enum<RiskKind>
implements Enumerator

A representation of the literals of the enumeration ' < ? >Risk Kind', and utility methods for working with them.

See Also:
SysMLPackage.getRiskKind()
** Generated **
Model:

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

HIGH_LITERAL

public static final RiskKind HIGH_LITERAL
The 'High' literal object.

See Also:
HIGH
** Generated **
Ordered:

MEDIUM_LITERAL

public static final RiskKind MEDIUM_LITERAL
The 'Medium' literal object.

See Also:
MEDIUM
** Generated **
Ordered:

LOW_LITERAL

public static final RiskKind LOW_LITERAL
The 'Low' literal object.

See Also:
LOW
** Generated **
Ordered:
Field Detail

copyright

public static final java.lang.String copyright

See Also:
Constant Field Values
** Generated **

HIGH

public static final int HIGH
The 'High' literal value. < ? > If the meaning of ' < ? >High' literal object isn't clear, there really should be more of a description here...

See Also:
HIGH_LITERAL, Constant Field Values
** Generated **
Ordered:
Model:
name="High" annotation="http://www.topcased.org/uuid uuid='114129629369563'"

MEDIUM

public static final int MEDIUM
The 'Medium' literal value. < ? > If the meaning of ' < ? >Medium' literal object isn't clear, there really should be more of a description here...

See Also:
MEDIUM_LITERAL, Constant Field Values
** Generated **
Ordered:
Model:
name="Medium" annotation="http://www.topcased.org/uuid uuid='114129629369564'"

LOW

public static final int LOW
The 'Low' literal value. < ? > If the meaning of ' < ? >Low' literal object isn't clear, there really should be more of a description here...

See Also:
LOW_LITERAL, Constant Field Values
** Generated **
Ordered:
Model:
name="Low" annotation="http://www.topcased.org/uuid uuid='114129629371065'"

VALUES

public static final java.util.List<RiskKind> VALUES
A public read-only list of all the 'Risk Kind' enumerators.

** Generated **
Method Detail

values

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

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static RiskKind 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

get

public static RiskKind get(java.lang.String literal)
Returns the 'Risk Kind' literal with the specified literal value.

** Generated **

getByName

public static RiskKind getByName(java.lang.String name)
Returns the 'Risk Kind' literal with the specified name.

** Generated **

get

public static RiskKind get(int value)
Returns the 'Risk Kind' literal with the specified integer value.

** Generated **

getValue

public int getValue()

Specified by:
getValue in interface Enumerator
** Generated **

getName

public java.lang.String getName()

Specified by:
getName in interface Enumerator
** Generated **

getLiteral

public java.lang.String getLiteral()

Specified by:
getLiteral in interface Enumerator
** Generated **

toString

public java.lang.String toString()
Returns the literal value of the enumerator, which is its string representation.

Overrides:
toString in class java.lang.Enum<RiskKind>
** Generated **

SysML

Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.