org.apache.myfaces.tobago.component
Enum UIMessages.OrderBy

java.lang.Object
  extended by java.lang.Enum<UIMessages.OrderBy>
      extended by org.apache.myfaces.tobago.component.UIMessages.OrderBy
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<UIMessages.OrderBy>
Enclosing class:
UIMessages

public static enum UIMessages.OrderBy
extends java.lang.Enum<UIMessages.OrderBy>


Enum Constant Summary
OCCURENCE
           
SEVERITY
           
 
Field Summary
static java.lang.String OCCURENCE_STRING
           
static java.lang.String OCCURRENCE_STRING
           
static java.lang.String SEVERITY_STRING
           
 
Method Summary
static UIMessages.OrderBy parse(java.lang.String key)
           
static UIMessages.OrderBy valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static UIMessages.OrderBy[] 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, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

OCCURENCE

public static final UIMessages.OrderBy OCCURENCE

SEVERITY

public static final UIMessages.OrderBy SEVERITY
Field Detail

OCCURENCE_STRING

public static final java.lang.String OCCURENCE_STRING
See Also:
Constant Field Values

OCCURRENCE_STRING

public static final java.lang.String OCCURRENCE_STRING
See Also:
Constant Field Values

SEVERITY_STRING

public static final java.lang.String SEVERITY_STRING
See Also:
Constant Field Values
Method Detail

values

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

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

valueOf

public static UIMessages.OrderBy 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

parse

public static UIMessages.OrderBy parse(java.lang.String key)


Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.