public class Message
extends java.lang.Object
Constructor and Description |
---|
Message()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getId()
This operation returns the id of the Message.
|
int |
getItemId()
This operation returns the id of the Item with which the Message is
associated.
|
java.lang.String |
getMessage()
This operation returns the content of the Message.
|
java.lang.String |
getType()
This operation returns the type of the Message.
|
void |
setId(int id)
This operation sets the id of the Message.
|
void |
setItemId(int itemId)
This operation sets the id of the Item with which the Message is
associated.
|
void |
setMessage(java.lang.String content)
This operation sets the content of the Message.
|
void |
setType(java.lang.String type)
This operation sets the type of the Message.
|
public int getId()
public int getItemId()
public java.lang.String getType()
public java.lang.String getMessage()
public void setId(int id)
id
- The idpublic void setItemId(int itemId)
itemId
- The ItemIdpublic void setType(java.lang.String type)
type
- The typepublic void setMessage(java.lang.String content)
content
- The content