Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## javax.faces.application
Class FacesMessage.Severity

    java.lang.Object
      javax.faces.application.FacesMessage.Severity

All Implemented Interfaces:
  java.lang.Comparable

Enclosing class:
  FacesMessage

    public static class FacesMessage.Severity

extends java.lang.Object
implements java.lang.Comparable

Class used to represent message severity levels in a typesafe enumeration.

Method Summary
`int` | `compareTo(java.lang.Object other)` Compare this `FacesMessage.Severity` instance to the specified one.
`int` | `getOrdinal()` Return the ordinal value of this `FacesMessage.Severity` instance.
`java.lang.String` | `toString()` Return a String representation of this `FacesMessage.Severity` instance.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Method Detail

### compareTo

    public int compareTo(java.lang.Object other)

  Compare this `FacesMessage.Severity` instance to the specified one. Returns a negative integer, zero, or a positive integer if this object is less than, equal to, or greater than the specified object.

  Specified by:
    `compareTo` in interface `java.lang.Comparable`
  Parameters:
    `other` - The other object to be compared to

### getOrdinal

    public int getOrdinal()

  Return the ordinal value of this `FacesMessage.Severity` instance.

### toString

    public java.lang.String toString()

  Return a String representation of this `FacesMessage.Severity` instance.

  Overrides:
    `toString` in class `java.lang.Object`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright 2002-2010 Oracle America Inc, Inc. All Rights Reserved.