public static class FacesMessage.Severity extends Object implements Comparable
Class used to represent message severity levels in a typesafe enumeration.
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Object other)
Compare this
FacesMessage.Severity instance to the
specified one. |
int |
getOrdinal()
Return the ordinal value of this
FacesMessage.Severity instance. |
String |
toString()
Return a String representation of this
FacesMessage.Severity instance. |
public int compareTo(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.
compareTo
in interface Comparable
other
- The other object to be compared topublic int getOrdinal()
Return the ordinal value of this FacesMessage.Severity
instance.
public String toString()
Return a String representation of this FacesMessage.Severity
instance.
Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.