Package 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.ComparableClass used to represent message severity levels in a typesafe enumeration.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(java.lang.Object other)Compare thisFacesMessage.Severityinstance to the specified one.intgetOrdinal()Return the ordinal value of thisFacesMessage.Severityinstance.java.lang.StringtoString()Return a String representation of thisFacesMessage.Severityinstance.
-
-
-
Method Detail
-
compareTo
public int compareTo(java.lang.Object other)
Compare this
FacesMessage.Severityinstance 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:
compareToin interfacejava.lang.Comparable- Parameters:
other- The other object to be compared to
-
getOrdinal
public int getOrdinal()
Return the ordinal value of this
FacesMessage.Severityinstance.
-
toString
public java.lang.String toString()
Return a String representation of this
FacesMessage.Severityinstance.- Overrides:
toStringin classjava.lang.Object
-
-