org.apache.shindig.social.core.model
Class GroupImpl
java.lang.Object
org.apache.shindig.social.core.model.GroupImpl
- All Implemented Interfaces:
- Group
public class GroupImpl
- extends java.lang.Object
- implements Group
Default Implementation of the Group model.
- Since:
- 2.0.0
| Nested classes/interfaces inherited from interface org.apache.shindig.social.opensocial.model.Group |
Group.Field |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GroupImpl
public GroupImpl()
getTitle
public java.lang.String getTitle()
- Specified by:
getTitle in interface Group
- Returns:
- the title of the group
setTitle
public void setTitle(java.lang.String title)
- Sets the title of this group
- Specified by:
setTitle in interface Group
- Parameters:
title - a valid title
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription in interface Group
- Returns:
- the description of this group
setDescription
public void setDescription(java.lang.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
Copyright © 2007-2012 The Apache Software Foundation. All Rights Reserved.