Class PostInteraction
java.lang.Object
com.serinity.forumcontrol.model.PostInteraction
-
Constructor Summary
ConstructorsConstructorDescriptionPostInteraction(int threadId, String userId) PostInteraction(int threadId, String userId, boolean follow, int vote) -
Method Summary
-
Constructor Details
-
PostInteraction
public PostInteraction() -
PostInteraction
-
PostInteraction
-
-
Method Details
-
getId
public int getId() -
setId
public void setId(int id) -
getThreadId
public int getThreadId() -
setThreadId
public void setThreadId(int threadId) -
getUserId
-
setUserId
-
isFollow
public boolean isFollow() -
setFollow
public void setFollow(boolean follow) -
getVote
public int getVote() -
setVote
public void setVote(int vote) -
hasUpvoted
public boolean hasUpvoted() -
hasDownvoted
public boolean hasDownvoted() -
hasNoVote
public boolean hasNoVote() -
isEmpty
public boolean isEmpty() -
toString
-
equals
-
hashCode
-