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

Represents database entitiy with suggestion feedback. feedback. More...

Inheritance diagram for cz.vutbr.fit.knot.annotations.modules.suggestionManager.SuggestionFeedback:
Inheritance graph
Collaboration diagram for cz.vutbr.fit.knot.annotations.modules.suggestionManager.SuggestionFeedback:
Collaboration graph

Public Member Functions

 SuggestionFeedback ()
 
 SuggestionFeedback (Integer id)
 
 SuggestionFeedback (Integer id, Integer suggestionId, Integer groupId)
 
Integer getId ()
 
void setId (Integer id)
 
Integer getSuggestionId ()
 
void setSuggestionId (Integer suggestionId)
 
Integer getGroupId ()
 
void setGroupId (Integer groupId)
 
Integer getAnnotationId ()
 
void setAnnotationId (Integer annotationId)
 
Suggestion getSuggestion ()
 
void setSuggestion (Suggestion suggestion)
 
Annotation getAnnot ()
 
void setAnnot (Annotation annot)
 
UserGroup getGroup ()
 
void setGroup (UserGroup group)
 
int hashCode ()
 
boolean equals (Object object)
 
String toString ()
 

Private Attributes

Integer id
 
Integer suggestionId
 
Integer groupId
 
Integer annotationId
 
Suggestion suggestion
 
Annotation annot
 
UserGroup group
 

Static Private Attributes

static final long serialVersionUID = 1L
 

Detailed Description

Represents database entitiy with suggestion feedback. feedback.

Class represents database entitiy that holds information about group suggestion feedback.

Author
Martin Petr (xpetrm05)

Definition at line 57 of file SuggestionFeedback.java.

Constructor & Destructor Documentation

cz.vutbr.fit.knot.annotations.modules.suggestionManager.SuggestionFeedback.SuggestionFeedback ( )

Constructor

Definition at line 101 of file SuggestionFeedback.java.

cz.vutbr.fit.knot.annotations.modules.suggestionManager.SuggestionFeedback.SuggestionFeedback ( Integer  id)

Constructor

Parameters
idId of suggestion feedback

Definition at line 109 of file SuggestionFeedback.java.

cz.vutbr.fit.knot.annotations.modules.suggestionManager.SuggestionFeedback.SuggestionFeedback ( Integer  id,
Integer  suggestionId,
Integer  groupId 
)

Constructor

Parameters
idId of suggestion feedback
suggestionIdId of suggestion that feedback belongs
groupIdId of user group of suggestion

Definition at line 120 of file SuggestionFeedback.java.

Member Function Documentation

boolean cz.vutbr.fit.knot.annotations.modules.suggestionManager.SuggestionFeedback.equals ( Object  object)

Compares this with other object and returns, whether objects are same type and have same id.

Parameters
objectObject to compare with
Returns
If object is same type and have same id, returns true, false otherwise

Definition at line 267 of file SuggestionFeedback.java.

Annotation cz.vutbr.fit.knot.annotations.modules.suggestionManager.SuggestionFeedback.getAnnot ( )

Gets corresponding annotation of suggestion feedback

Returns
corresponding annotation of suggestion feedback

Definition at line 221 of file SuggestionFeedback.java.

Here is the caller graph for this function:

Integer cz.vutbr.fit.knot.annotations.modules.suggestionManager.SuggestionFeedback.getAnnotationId ( )

Gets id of corresponding annotation from suggestion if is suggestion approved

Returns
id of corresponding annotation

Definition at line 185 of file SuggestionFeedback.java.

UserGroup cz.vutbr.fit.knot.annotations.modules.suggestionManager.SuggestionFeedback.getGroup ( )

Gets user group of suggestion feedback

Returns
user group of suggestion feedback

Definition at line 239 of file SuggestionFeedback.java.

Integer cz.vutbr.fit.knot.annotations.modules.suggestionManager.SuggestionFeedback.getGroupId ( )

Gets id of user group of suggestion

Returns
id of user group of suggestion

Definition at line 167 of file SuggestionFeedback.java.

Integer cz.vutbr.fit.knot.annotations.modules.suggestionManager.SuggestionFeedback.getId ( )

Gets id of suggestion feedback

Returns
id of suggestion feedback

Definition at line 131 of file SuggestionFeedback.java.

Suggestion cz.vutbr.fit.knot.annotations.modules.suggestionManager.SuggestionFeedback.getSuggestion ( )

Gets suggestion that feedback belongs

Returns
suggestion that feedback belongs

Definition at line 203 of file SuggestionFeedback.java.

Here is the caller graph for this function:

Integer cz.vutbr.fit.knot.annotations.modules.suggestionManager.SuggestionFeedback.getSuggestionId ( )

Gets id of suggestion that feedback belongs

Returns
id of suggestion that feedback belongs

Definition at line 149 of file SuggestionFeedback.java.

Here is the caller graph for this function:

int cz.vutbr.fit.knot.annotations.modules.suggestionManager.SuggestionFeedback.hashCode ( )

Definition at line 253 of file SuggestionFeedback.java.

void cz.vutbr.fit.knot.annotations.modules.suggestionManager.SuggestionFeedback.setAnnot ( Annotation  annot)

Sets corresponding annotation of suggestion feedback

Parameters
annotcorresponding annotation of suggestion feedback

Definition at line 230 of file SuggestionFeedback.java.

void cz.vutbr.fit.knot.annotations.modules.suggestionManager.SuggestionFeedback.setAnnotationId ( Integer  annotationId)

Sets id of corresponding annotation from suggestion if is suggestion approved

Parameters
annotationIdid of corresponding annotation

Definition at line 194 of file SuggestionFeedback.java.

void cz.vutbr.fit.knot.annotations.modules.suggestionManager.SuggestionFeedback.setGroup ( UserGroup  group)

Sets user group of suggestion feedback

Parameters
groupuser group of suggestion feedback

Definition at line 248 of file SuggestionFeedback.java.

void cz.vutbr.fit.knot.annotations.modules.suggestionManager.SuggestionFeedback.setGroupId ( Integer  groupId)

Sets id of user group of suggestion

Parameters
groupIdid of user group of suggestion

Definition at line 176 of file SuggestionFeedback.java.

void cz.vutbr.fit.knot.annotations.modules.suggestionManager.SuggestionFeedback.setId ( Integer  id)

Sets id of suggestion feedback

Parameters
idid of suggestion feedback

Definition at line 140 of file SuggestionFeedback.java.

void cz.vutbr.fit.knot.annotations.modules.suggestionManager.SuggestionFeedback.setSuggestion ( Suggestion  suggestion)

Sets suggestion that feedback belongs

Parameters
suggestionsuggestion that feedback belongs

Definition at line 212 of file SuggestionFeedback.java.

void cz.vutbr.fit.knot.annotations.modules.suggestionManager.SuggestionFeedback.setSuggestionId ( Integer  suggestionId)

Sets id of suggestion that feedback belongs

Parameters
suggestionIdid of suggestion that feedback belongs

Definition at line 158 of file SuggestionFeedback.java.

String cz.vutbr.fit.knot.annotations.modules.suggestionManager.SuggestionFeedback.toString ( )

Definition at line 279 of file SuggestionFeedback.java.

Member Data Documentation

Annotation cz.vutbr.fit.knot.annotations.modules.suggestionManager.SuggestionFeedback.annot
private

User group of suggestion feedback

Definition at line 91 of file SuggestionFeedback.java.

Integer cz.vutbr.fit.knot.annotations.modules.suggestionManager.SuggestionFeedback.annotationId
private

Id of corresponding annotation from suggestion if is suggestion approved

Definition at line 81 of file SuggestionFeedback.java.

UserGroup cz.vutbr.fit.knot.annotations.modules.suggestionManager.SuggestionFeedback.group
private

Corresponding annotation from suggestion if is suggestion approved

Definition at line 96 of file SuggestionFeedback.java.

Integer cz.vutbr.fit.knot.annotations.modules.suggestionManager.SuggestionFeedback.groupId
private

Id of user group of suggestion

Definition at line 77 of file SuggestionFeedback.java.

Integer cz.vutbr.fit.knot.annotations.modules.suggestionManager.SuggestionFeedback.id
private

Id of suggestion feedback

Definition at line 65 of file SuggestionFeedback.java.

final long cz.vutbr.fit.knot.annotations.modules.suggestionManager.SuggestionFeedback.serialVersionUID = 1L
staticprivate

Definition at line 58 of file SuggestionFeedback.java.

Suggestion cz.vutbr.fit.knot.annotations.modules.suggestionManager.SuggestionFeedback.suggestion
private

Suggestion that feedback belongs

Definition at line 86 of file SuggestionFeedback.java.

Integer cz.vutbr.fit.knot.annotations.modules.suggestionManager.SuggestionFeedback.suggestionId
private

Id of suggestion that feedback belongs

Definition at line 71 of file SuggestionFeedback.java.


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