Class SocialInformationComment
- java.lang.Object
-
- org.silverpeas.core.socialnetwork.model.AbstractSocialInformation
-
- org.silverpeas.core.comment.socialnetwork.SocialInformationComment
-
- All Implemented Interfaces:
Comparable<SocialInformation>
,SocialInformation
public class SocialInformationComment extends AbstractSocialInformation
-
-
Field Summary
-
Fields inherited from class org.silverpeas.core.socialnetwork.model.AbstractSocialInformation
author, date, description, icon, resourceReference, socialInformationWasupdated, title, type, url
-
-
Constructor Summary
Constructors Constructor Description SocialInformationComment(Comment comment)
Constructor with one param
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
compare to SocialInformationComment if are equals or notComment
getComment()
int
hashCode()
-
Methods inherited from class org.silverpeas.core.socialnetwork.model.AbstractSocialInformation
compareByUrl, compareTo, getAuthor, getDate, getDescription, getIcon, getResourceReference, getTitle, getType, getUrl, isUpdated, setAuthor, setDate, setDescription, setIcon, setTitle, setType, setUpdated, setUrl
-
-
-
-
Constructor Detail
-
SocialInformationComment
public SocialInformationComment(Comment comment)
Constructor with one param- Parameters:
comment
- a comment
-
-
Method Detail
-
equals
public boolean equals(Object obj)
compare to SocialInformationComment if are equals or not- Overrides:
equals
in classAbstractSocialInformation
- Parameters:
obj
- the otherSocialInformationComment
object.- Returns:
- true if they are equals, false otherwise.
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classAbstractSocialInformation
-
getComment
public Comment getComment()
-
-