4A Server -
2.0
|
This class represent saved message that belongs unavailable StoryScope. More...
Public Member Functions | |
SavedMessage () | |
SavedMessage (Integer storyScopeId, int messageType, String message) | |
Integer | getId () |
void | setId (Integer id) |
Integer | getStoryScopeId () |
void | setStoryScopeId (Integer storyScopeId) |
int | getMessageType () |
void | setMessageType (int messageType) |
String | getMessage () |
void | setMessage (String message) |
Static Public Attributes | |
static final int | MESSAGE_ADD = 0 |
static final int | MESSAGE_CHANGE = 1 |
static final int | MESSAGE_DELETE = 2 |
Private Attributes | |
Integer | id |
Integer | storyScopeId |
int | messageType |
String | message |
This class represent saved message that belongs unavailable StoryScope.
Class represent message that belongs to the StoryScope and it was saved because StoryScope was not available.
Definition at line 34 of file SavedMessage.java.
cz.vutbr.fit.knot.annotations.modules.StoryscopeInterface.SavedMessage.SavedMessage | ( | ) |
Constructor
Definition at line 67 of file SavedMessage.java.
cz.vutbr.fit.knot.annotations.modules.StoryscopeInterface.SavedMessage.SavedMessage | ( | Integer | storyScopeId, |
int | messageType, | ||
String | message | ||
) |
Constructor
storyScopeId | id of StoryScope that this message belongs |
messageType | type of message (add,change,remove) |
message | messsage content to store |
Definition at line 77 of file SavedMessage.java.
Integer cz.vutbr.fit.knot.annotations.modules.StoryscopeInterface.SavedMessage.getId | ( | ) |
Gets id of saved message
Definition at line 88 of file SavedMessage.java.
String cz.vutbr.fit.knot.annotations.modules.StoryscopeInterface.SavedMessage.getMessage | ( | ) |
Gets saved message for StoryScope
Definition at line 142 of file SavedMessage.java.
int cz.vutbr.fit.knot.annotations.modules.StoryscopeInterface.SavedMessage.getMessageType | ( | ) |
Gets type of message
Definition at line 124 of file SavedMessage.java.
Integer cz.vutbr.fit.knot.annotations.modules.StoryscopeInterface.SavedMessage.getStoryScopeId | ( | ) |
Gets id of StoryScope that this message belongs
Definition at line 106 of file SavedMessage.java.
void cz.vutbr.fit.knot.annotations.modules.StoryscopeInterface.SavedMessage.setId | ( | Integer | id | ) |
Sets id of StoryScope
id | Id of StoryScope |
Definition at line 97 of file SavedMessage.java.
void cz.vutbr.fit.knot.annotations.modules.StoryscopeInterface.SavedMessage.setMessage | ( | String | message | ) |
Sets saved message for StoryScope
message | Message for save |
Definition at line 151 of file SavedMessage.java.
void cz.vutbr.fit.knot.annotations.modules.StoryscopeInterface.SavedMessage.setMessageType | ( | int | messageType | ) |
Sets type of message
messageType | Type of message |
Definition at line 133 of file SavedMessage.java.
void cz.vutbr.fit.knot.annotations.modules.StoryscopeInterface.SavedMessage.setStoryScopeId | ( | Integer | storyScopeId | ) |
Sets id of StoryScope that this message belongs
storyScopeId | Id of StoryScope |
Definition at line 115 of file SavedMessage.java.
|
private |
Id of message
Definition at line 40 of file SavedMessage.java.
|
private |
Saved message
Definition at line 55 of file SavedMessage.java.
|
static |
Add message indicator
Definition at line 58 of file SavedMessage.java.
|
static |
Change message indicator
Definition at line 60 of file SavedMessage.java.
|
static |
Remove message indicator
Definition at line 62 of file SavedMessage.java.
|
private |
Type of message (add,change,remove)
Definition at line 50 of file SavedMessage.java.
|
private |
Id of StoryScope that this message belongs
Definition at line 45 of file SavedMessage.java.