|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.yosokumo.core.Message
public class Message
A text message with a type indicating if the message is information or an error. Some responses from the Yokosumo service return messages, especially in case of error.
Nested Class Summary | |
---|---|
static class |
Message.Type
Indicates whether the message is informational or an error message. |
Method Summary | |
---|---|
java.lang.String |
getText()
Return the message text. |
Message.Type |
getType()
Return the message type. |
java.lang.String |
toString()
Return a string representation of this Message . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public java.lang.String getText()
public Message.Type getType()
public java.lang.String toString()
Message
.
toString
in class java.lang.Object
Message
.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |