org.apache.myfaces.tobago.internal.component
Enum AbstractUIMessages.OrderBy

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

public static enum AbstractUIMessages.OrderBy
extends Enum<AbstractUIMessages.OrderBy>


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

Enum Constant Detail

OCCURRENCE

public static final AbstractUIMessages.OrderBy OCCURRENCE

SEVERITY

public static final AbstractUIMessages.OrderBy SEVERITY
Field Detail

OCCURRENCE_STRING

public static final String OCCURRENCE_STRING
See Also:
Constant Field Values

SEVERITY_STRING

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

values

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

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

valueOf

public static AbstractUIMessages.OrderBy valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

parse

public static AbstractUIMessages.OrderBy parse(String key)


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