org.apache.shindig.social.opensocial.model
Interface Group

All Known Implementing Classes:
GroupImpl

public interface Group

OpenSocial Groups are owned by people, and are used to tag or categorize people and their relationships. Each group has a display name, an identifier which is unique within the groups owned by that person, and a URI link. A group may be a private, invitation-only, public or a personal group used to organize friends.

From http://opensocial-resources.googlecode.com/svn/spec/1.0/Social-Data.xml#Group

Since:
2.0.0

Nested Class Summary
static class Group.Field
           
 
Method Summary
 java.lang.String getDescription()
           
 GroupId getId()
           
 java.lang.String getTitle()
           
 void setDescription(java.lang.String description)
          Sets the description of this group
 void setId(GroupId id)
          Set the default group id
 void setTitle(java.lang.String title)
          Sets the title of this group
 

Method Detail

getId

GroupId getId()
Returns:
a groupId for this group

setId

void setId(GroupId id)
Set the default group id

Parameters:
id - a valid GroupId

getTitle

java.lang.String getTitle()
Returns:
the title of the group

setTitle

void setTitle(java.lang.String title)
Sets the title of this group

Parameters:
title - a valid title

getDescription

java.lang.String getDescription()
Returns:
the description of this group

setDescription

void setDescription(java.lang.String description)
Sets the description of this group

Parameters:
description - a valid description


Copyright © 2007-2012 The Apache Software Foundation. All Rights Reserved.