org.apache.shindig.social.core.model
Class GroupImpl

java.lang.Object
  extended by org.apache.shindig.social.core.model.GroupImpl
All Implemented Interfaces:
Group

public class GroupImpl
extends Object
implements Group

Default Implementation of the Group model.

Since:
2.0.0

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.shindig.social.opensocial.model.Group
Group.Field
 
Constructor Summary
GroupImpl()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getDescription()
           
 GroupId getId()
           
 String getTitle()
           
 String getVoot_membership_role()
           
 int hashCode()
           
 void setDescription(String description)
          Sets the description of this group
 void setId(GroupId groupId)
          Set the default group id
 void setTitle(String title)
          Sets the title of this group
 void setVoot_membership_role(String voot_membership_role)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroupImpl

public GroupImpl()
Method Detail

getTitle

public String getTitle()
Specified by:
getTitle in interface Group
Returns:
the title of the group

setTitle

public void setTitle(String title)
Sets the title of this group

Specified by:
setTitle in interface Group
Parameters:
title - a valid title

getDescription

public String getDescription()
Specified by:
getDescription in interface Group
Returns:
the description of this group

setDescription

public void setDescription(String description)
Sets the description of this group

Specified by:
setDescription in interface Group
Parameters:
description - a valid description

setId

public void setId(GroupId groupId)
Set the default group id

Specified by:
setId in interface Group
Parameters:
groupId - a valid GroupId

getId

public GroupId getId()
Specified by:
getId in interface Group
Returns:
a groupId for this group

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

getVoot_membership_role

public String getVoot_membership_role()
Specified by:
getVoot_membership_role in interface Group
Returns:
the voot_membership_role

setVoot_membership_role

public void setVoot_membership_role(String voot_membership_role)
Specified by:
setVoot_membership_role in interface Group
Parameters:
voot_membership_role - the voot_membership_role to set


Copyright © 2007-2012. All Rights Reserved.