|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.zlatan.sap.ReturnMessage
Field Summary | |
static int |
ERROR
|
static int |
INFORMATION
|
static int |
SUCCESS
|
static int |
WARNING
|
Constructor Summary | |
ReturnMessage()
Creates a new instance of ReturnMessage |
|
ReturnMessage(int type,
java.lang.String text)
|
Method Summary | |
java.lang.String |
getText()
Getter for property text. |
int |
getType()
Getter for property type. |
void |
setText(java.lang.String text)
Setter for property text. |
void |
setType(int type)
Setter for property type. |
static java.lang.String |
typeIntToString(int type)
|
static int |
typeStringToInt(java.lang.String sType)
Ritorna il tipo associato con il carattere specificato in sType . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int WARNING
public static final int ERROR
public static final int SUCCESS
public static final int INFORMATION
Constructor Detail |
public ReturnMessage()
public ReturnMessage(int type, java.lang.String text)
Method Detail |
public int getType()
public void setType(int type)
type
- New value of property type.public java.lang.String getText()
public void setText(java.lang.String text)
text
- New value of property text.public static int typeStringToInt(java.lang.String sType)
sType
. Se il carattere non è uno tra
E W S I
, ritorna -1
.
public static java.lang.String typeIntToString(int type)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |