org.objectweb.telosys.screen.core
Class ScreenMessage

java.lang.Object
  extended byorg.objectweb.telosys.screen.core.ScreenMessage

public class ScreenMessage
extends java.lang.Object


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()
           
 java.lang.String getText()
           
 int getType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NO_TYPE

public static final int NO_TYPE
See Also:
Constant Field Values

INFORMATION

public static final int INFORMATION
See Also:
Constant Field Values

WARNING

public static final int WARNING
See Also:
Constant Field Values

ERROR

public static final int ERROR
See Also:
Constant Field Values
Constructor Detail

ScreenMessage

public ScreenMessage(int iCode,
                     java.lang.String sText)
Build a message without type

Parameters:
iCode - : Message Code
sText - : Message Text

ScreenMessage

public ScreenMessage(int iCode,
                     java.lang.String sText,
                     int iType)
Build a message with all its attributes

Parameters:
iCode - : Message Code
sText - : Message Text
iType - : Message Type

ScreenMessage

public ScreenMessage(int iCode)
Build a message without text and type (only code)

Parameters:
iCode - : Message Code

ScreenMessage

public ScreenMessage(int iCode,
                     int iType)
Build a message without text (only code and type)

Parameters:
iCode - : Message Code
iType - : Message Type

ScreenMessage

public ScreenMessage(java.lang.String sText)
Build a message with only text (no code and no type)

Parameters:
sText -

ScreenMessage

public ScreenMessage(java.lang.String sText,
                     int iType)
Build a message without code (only text and type)

Parameters:
sText -
iType -
Method Detail

getCode

public int getCode()

getText

public java.lang.String getText()

getType

public int getType()