ujf.verimag.bip.Extra.Time
Enum UrgencyKind

java.lang.Object
  extended by java.lang.Enum<UrgencyKind>
      extended by ujf.verimag.bip.Extra.Time.UrgencyKind
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<UrgencyKind>

public enum UrgencyKind
extends java.lang.Enum<UrgencyKind>

A representation of the literals of the enumeration 'Urgency Kind', and utility methods for working with them.

See Also:
TimePackage.getUrgencyKind()

Enum Constant Summary
DELAYABLE
          The 'Delayable' literal object.
EAGER
          The 'Eager' literal object.
LAZY
          The 'Lazy' literal object.
 
Field Summary
static int DELAYABLE_VALUE
          The 'Delayable' literal value.
static int EAGER_VALUE
          The 'Eager' literal value.
static int LAZY_VALUE
          The 'Lazy' literal value.
static java.util.List<UrgencyKind> VALUES
          A public read-only list of all the 'Urgency Kind' enumerators.
 
Method Summary
static UrgencyKind get(int value)
          Returns the 'Urgency Kind' literal with the specified integer value.
static UrgencyKind get(java.lang.String literal)
          Returns the 'Urgency Kind' literal with the specified literal value.
static UrgencyKind getByName(java.lang.String name)
          Returns the 'Urgency 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 UrgencyKind valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static UrgencyKind[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

EAGER

public static final UrgencyKind EAGER
The 'Eager' literal object.

See Also:
EAGER_VALUE

DELAYABLE

public static final UrgencyKind DELAYABLE
The 'Delayable' literal object.

See Also:
DELAYABLE_VALUE

LAZY

public static final UrgencyKind LAZY
The 'Lazy' literal object.

See Also:
LAZY_VALUE
Field Detail

EAGER_VALUE

public static final int EAGER_VALUE
The 'Eager' literal value.

If the meaning of 'Eager' literal object isn't clear, there really should be more of a description here...

See Also:
EAGER, Constant Field Values

DELAYABLE_VALUE

public static final int DELAYABLE_VALUE
The 'Delayable' literal value.

If the meaning of 'Delayable' literal object isn't clear, there really should be more of a description here...

See Also:
DELAYABLE, Constant Field Values

LAZY_VALUE

public static final int LAZY_VALUE
The 'Lazy' literal value.

If the meaning of 'Lazy' literal object isn't clear, there really should be more of a description here...

See Also:
LAZY, Constant Field Values

VALUES

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

Method Detail

values

public static UrgencyKind[] 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 (UrgencyKind c : UrgencyKind.values())
    System.out.println(c);

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

valueOf

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

get

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


getByName

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


get

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


getValue

public int getValue()


getName

public java.lang.String getName()


getLiteral

public java.lang.String getLiteral()


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<UrgencyKind>