org.apache.shindig.extras.as.core.model
Class ActivityStreamImpl

java.lang.Object
  extended by org.apache.shindig.extras.as.core.model.ActivityStreamImpl
All Implemented Interfaces:
ActivityStream

public class ActivityStreamImpl
extends Object
implements ActivityStream

A simple, bean-based version of an ActivityStream


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.shindig.extras.as.opensocial.model.ActivityStream
ActivityStream.Field
 
Constructor Summary
ActivityStreamImpl()
          Create a new empty ActivityStream
 
Method Summary
 String getDisplayName()
          Get the human readable name for this stream
 List<ActivityEntry> getEntries()
          Get the list of ActivityEntry objects
 String getId()
          Return the id string
 String getLanguage()
          Get the language for this stream
 String getSubject()
          Get the subject for this stream
 void setDisplayName(String displayName)
          Get the display name for this stream
 void setEntries(List<ActivityEntry> entries)
          Set the list of ActivityEntry objects
 void setId(String id)
          Sets the Id for this stream
 void setLanguage(String language)
          Set the language for this stream
 void setSubject(String subject)
          Set the subject for this stream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActivityStreamImpl

public ActivityStreamImpl()
Create a new empty ActivityStream

Method Detail

getDisplayName

public String getDisplayName()
Get the human readable name for this stream

Specified by:
getDisplayName in interface ActivityStream
Returns:
a display name

getEntries

public List<ActivityEntry> getEntries()
Get the list of ActivityEntry objects

Specified by:
getEntries in interface ActivityStream
Returns:
a list of ActivityEntry

getId

public String getId()
Return the id string

Specified by:
getId in interface ActivityStream
Returns:
a string

getLanguage

public String getLanguage()
Get the language for this stream

Specified by:
getLanguage in interface ActivityStream
Returns:
a language string

getSubject

public String getSubject()
Get the subject for this stream

Specified by:
getSubject in interface ActivityStream
Returns:
a subject string

setDisplayName

public void setDisplayName(String displayName)
Get the display name for this stream

Specified by:
setDisplayName in interface ActivityStream
Parameters:
displayName - a display name

setEntries

public void setEntries(List<ActivityEntry> entries)
Set the list of ActivityEntry objects

Specified by:
setEntries in interface ActivityStream
Parameters:
entries - a list of ActivityEntry

setId

public void setId(String id)
Sets the Id for this stream

Specified by:
setId in interface ActivityStream
Parameters:
id - a string

setLanguage

public void setLanguage(String language)
Set the language for this stream

Specified by:
setLanguage in interface ActivityStream
Parameters:
language - a language string

setSubject

public void setSubject(String subject)
Set the subject for this stream

Specified by:
setSubject in interface ActivityStream
Parameters:
subject - a subject string


Copyright © 2007-2012. All Rights Reserved.