Package model.entity
Class CommentVote
- java.lang.Object
-
- model.entity.CommentVote
-
- All Implemented Interfaces:
Serializable
@Entity public class CommentVote extends Object implements Serializable
Entità rappresentate il voto ad un commento- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCommentVote.Id
-
Constructor Summary
Constructors Modifier Constructor Description protectedCommentVote()CommentVote(User user, Comment comment, Short vote)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)inthashCode()voidsetComment(Comment comment)voidsetUser(User user)
-
-
-
Constructor Detail
-
CommentVote
protected CommentVote()
-
CommentVote
public CommentVote(User user, Comment comment, Short vote)
-
-