java.lang.Objectorg.objectweb.telosys.screen.core.ScreenMessage
Application message to be return and display on the client side
| Field Summary | |
static int |
ERROR
|
static int |
INFORMATION
|
static int |
NO_TYPE
|
static int |
WARNING
|
| Constructor Summary | |
ScreenMessage(int iCode)
Build a message without text and type (only code) |
|
ScreenMessage(int iCode,
int iType)
Build a message without text (only code and type) |
|
ScreenMessage(int iCode,
java.lang.String sText)
Build a message without type |
|
ScreenMessage(int iCode,
java.lang.String sText,
int iType)
Build a message with all its attributes |
|
ScreenMessage(java.lang.String sText)
Build a message with only text (no code and no type) |
|
ScreenMessage(java.lang.String sText,
int iType)
Build a message without code (only text and type) |
|
| Method Summary | |
int |
getCode()
Returns the code |
java.lang.String |
getText()
Returns the text |
int |
getType()
Returns the type |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int NO_TYPE
public static final int INFORMATION
public static final int WARNING
public static final int ERROR
| Constructor Detail |
public ScreenMessage(int iCode,
java.lang.String sText)
iCode - : Message CodesText - : Message Text
public ScreenMessage(int iCode,
java.lang.String sText,
int iType)
iCode - : Message CodesText - : Message TextiType - : Message Typepublic ScreenMessage(int iCode)
iCode - : Message Code
public ScreenMessage(int iCode,
int iType)
iCode - : Message CodeiType - : Message Typepublic ScreenMessage(java.lang.String sText)
sText -
public ScreenMessage(java.lang.String sText,
int iType)
sText - iType - | Method Detail |
public int getCode()
public java.lang.String getText()
public int getType()
public java.lang.String toString()