4A Server -  2.0
 All Classes Namespaces Files Functions Variables Enumerator
cz.vutbr.fit.knot.annotations.modules.StoryscopeInterface.SavedMessage Class Reference

This class represent saved message that belongs unavailable StoryScope. More...

Inheritance diagram for cz.vutbr.fit.knot.annotations.modules.StoryscopeInterface.SavedMessage:
Inheritance graph
Collaboration diagram for cz.vutbr.fit.knot.annotations.modules.StoryscopeInterface.SavedMessage:
Collaboration graph

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
 

Detailed Description

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.

Author
Martin Petr (xpetrm05)

Definition at line 34 of file SavedMessage.java.

Constructor & Destructor Documentation

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

Parameters
storyScopeIdid of StoryScope that this message belongs
messageTypetype of message (add,change,remove)
messagemesssage content to store

Definition at line 77 of file SavedMessage.java.

Member Function Documentation

Integer cz.vutbr.fit.knot.annotations.modules.StoryscopeInterface.SavedMessage.getId ( )

Gets id of saved message

Returns
Returns 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

Returns
Returns saved message

Definition at line 142 of file SavedMessage.java.

int cz.vutbr.fit.knot.annotations.modules.StoryscopeInterface.SavedMessage.getMessageType ( )

Gets type of message

Returns
Returns 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

Returns
Returns id of StoryScope

Definition at line 106 of file SavedMessage.java.

void cz.vutbr.fit.knot.annotations.modules.StoryscopeInterface.SavedMessage.setId ( Integer  id)

Sets id of StoryScope

Parameters
idId 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

Parameters
messageMessage 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

Parameters
messageTypeType 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

Parameters
storyScopeIdId of StoryScope

Definition at line 115 of file SavedMessage.java.

Member Data Documentation

Integer cz.vutbr.fit.knot.annotations.modules.StoryscopeInterface.SavedMessage.id
private

Id of message

Definition at line 40 of file SavedMessage.java.

String cz.vutbr.fit.knot.annotations.modules.StoryscopeInterface.SavedMessage.message
private

Saved message

Definition at line 55 of file SavedMessage.java.

final int cz.vutbr.fit.knot.annotations.modules.StoryscopeInterface.SavedMessage.MESSAGE_ADD = 0
static

Add message indicator

Definition at line 58 of file SavedMessage.java.

final int cz.vutbr.fit.knot.annotations.modules.StoryscopeInterface.SavedMessage.MESSAGE_CHANGE = 1
static

Change message indicator

Definition at line 60 of file SavedMessage.java.

final int cz.vutbr.fit.knot.annotations.modules.StoryscopeInterface.SavedMessage.MESSAGE_DELETE = 2
static

Remove message indicator

Definition at line 62 of file SavedMessage.java.

int cz.vutbr.fit.knot.annotations.modules.StoryscopeInterface.SavedMessage.messageType
private

Type of message (add,change,remove)

Definition at line 50 of file SavedMessage.java.

Integer cz.vutbr.fit.knot.annotations.modules.StoryscopeInterface.SavedMessage.storyScopeId
private

Id of StoryScope that this message belongs

Definition at line 45 of file SavedMessage.java.


The documentation for this class was generated from the following file: