org.ow2.dragon.persistence.bo.common
Class CommunityObj

java.lang.Object
  extended by org.ow2.dragon.persistence.bo.common.BaseObject
      extended by org.ow2.dragon.persistence.bo.common.SearchableBaseObject
          extended by org.ow2.dragon.persistence.bo.common.LinkedEntity
              extended by org.ow2.dragon.persistence.bo.common.CommunityObj
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
Endpoint, TechnicalService

public class CommunityObj
extends LinkedEntity

Author:
atiar (Abderrahmane TIAR)
See Also:
Serialized Form

Constructor Summary
CommunityObj()
           
 
Method Summary
 void addComment(Comment comment)
           
 java.util.List<Comment> getComments()
           
 java.util.Set<Rating> getRatings()
           
 java.util.Set<java.lang.String> getTags()
           
 int hashCode()
          When you override equals, you should override hashCode.
 boolean isTagged(java.lang.String tag)
           
 void setComments(java.util.List<Comment> comments)
           
 void setRatings(java.util.Set<Rating> ratings)
           
 void setTags(java.util.Set<java.lang.String> tags)
           
 
Methods inherited from class org.ow2.dragon.persistence.bo.common.LinkedEntity
addFromLink, addToLink, equals, getFromLinks, getToLinks, setFromLinks, setToLinks, toString
 
Methods inherited from class org.ow2.dragon.persistence.bo.common.SearchableBaseObject
getId, setId
 
Methods inherited from class org.ow2.dragon.persistence.bo.common.BaseObject
getCreated, getLastUpdated, setCreated, setLastUpdated
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CommunityObj

public CommunityObj()
Method Detail

getRatings

public java.util.Set<Rating> getRatings()

setRatings

public void setRatings(java.util.Set<Rating> ratings)

getComments

public java.util.List<Comment> getComments()

setComments

public void setComments(java.util.List<Comment> comments)

addComment

public void addComment(Comment comment)

getTags

public java.util.Set<java.lang.String> getTags()

setTags

public void setTags(java.util.Set<java.lang.String> tags)

isTagged

public boolean isTagged(java.lang.String tag)

hashCode

public int hashCode()
Description copied from class: BaseObject
When you override equals, you should override hashCode. See "Why are equals() and hashCode() importation" for more information: http://www.hibernate.org/109.html

Overrides:
hashCode in class LinkedEntity
Returns:
hashCode


Copyright © 2008-2009 eBMWebsourcing. All Rights Reserved.