|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Message
A Message
is container which contains data of one specific message.
It contains data like message, messagecode, messagetype, related object and propertyname.
Method Summary | |
---|---|
String |
getMessage()
Returns the message. |
Object[] |
getMessageArgs()
Returns the messssage Arguments which contain information about the occured event. |
String |
getMessageCode()
Returns the messagecode for the message. |
MessageType |
getMessageType()
Returns type of the message. |
String |
getPropertyName()
Returns the name of the property to which the message is related. |
Object |
getRelatedObject()
Returns the object to which the message is related. |
void |
setMessage(String message)
|
String |
toString()
Returns the string representation. |
Method Detail |
---|
String getPropertyName()
Returns the name of the property to which the message is related. Null is returned if the message is not related to a specific property.
String getMessageCode()
Returns the messagecode for the message.
String getMessage()
Returns the message.
void setMessage(String message)
String toString()
Returns the string representation.
toString
in class Object
Object[] getMessageArgs()
Returns the messssage Arguments which contain information about the occured event. Which arguments are returned can depend on the messagecode.
Object getRelatedObject()
Returns the object to which the message is related.
MessageType getMessageType()
Returns type of the message.
MessageType
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |