org.ow2.petals.tools.webadmin.ui.infra.bean
Class InfoBean

java.lang.Object
  extended by org.ow2.petals.tools.webadmin.ui.infra.bean.InfoBean

public class InfoBean
extends java.lang.Object

used to store and display any message (error, warning, info)

Author:
mcarpentier - EBM Websourcing

Field Summary
static int ERROR_MESSAGE
           
static java.lang.String ERROR_STRING
           
static int INFO_MESSAGE
           
static java.lang.String INFO_STRING
           
static int NO_MESSAGE
           
static int SUCCESS_MESSAGE
           
static java.lang.String SUCCESS_STRING
           
static int WARNING_MESSAGE
           
static java.lang.String WARNING_STRING
           
 
Constructor Summary
InfoBean()
           
 
Method Summary
 java.lang.String getMessage()
           
 int getMessageType()
           
 boolean hasInfo()
           
 void reset()
           
 void setMessage(java.lang.String message)
           
 void setMessageType(int messageType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NO_MESSAGE

public static int NO_MESSAGE

ERROR_MESSAGE

public static int ERROR_MESSAGE

WARNING_MESSAGE

public static int WARNING_MESSAGE

INFO_MESSAGE

public static int INFO_MESSAGE

SUCCESS_MESSAGE

public static int SUCCESS_MESSAGE

ERROR_STRING

public static java.lang.String ERROR_STRING

WARNING_STRING

public static java.lang.String WARNING_STRING

INFO_STRING

public static java.lang.String INFO_STRING

SUCCESS_STRING

public static java.lang.String SUCCESS_STRING
Constructor Detail

InfoBean

public InfoBean()
Method Detail

getMessage

public java.lang.String getMessage()

setMessage

public void setMessage(java.lang.String message)

getMessageType

public int getMessageType()

setMessageType

public void setMessageType(int messageType)

reset

public void reset()

hasInfo

public boolean hasInfo()


Copyright © 2005-2008 OW2 Consortium. All Rights Reserved.