FacesMessage.Severity (Java EE 5 SDK)

Java

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


javax.faces.application Class FacesMessage.Severity

java.lang.Object
  extended by javax.faces.application.FacesMessage.Severity
所有已实现的接口:
Comparable
封闭类:
FacesMessage

public static class FacesMessage.Severity
extends Object
implements Comparable

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


方法摘要
 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.
 
类方法继承 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

方法详细信息

compareTo

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 to

getOrdinal

public int getOrdinal()

Return the ordinal value of this FacesMessage.Severity instance.


toString

public String toString()

Return a String representation of this FacesMessage.Severity instance.

重写:
toString in class Object

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


提交错误或意见

版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.