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

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

public class AlbumImpl
extends Object
implements Album

Default Implementation of the Album object in the model.

Since:
2.0.0

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.shindig.social.opensocial.model.Album
Album.Field
 
Constructor Summary
AlbumImpl()
           
 
Method Summary
 String getDescription()
          Get a string specifying the description of this album.
 String getId()
          Get a string ID specifying the unique identifier of this album.
 Address getLocation()
          Get address location of this album.
 Integer getMediaItemCount()
          Get the number of items in the album.
 List<String> getMediaMimeType()
          Get the identifying mime-types of the items in the album.
 List<MediaItem.Type> getMediaType()
          Get the list of media item types for the items in the album.
 String getOwnerId()
          Get the ID of the owner of the album.
 String getThumbnailUrl()
          Get the URL to the thumbnail cover image for the album.
 String getTitle()
          Get the title of the album.
 void setDescription(String description)
          Set the description of this album.
 void setId(String id)
          Set a string ID specifying a unique identifier of this album.
 void setLocation(Address location)
          Set the address location of this album.
 void setMediaItemCount(Integer mediaItemCount)
          Set the number of items in the album.
 void setMediaMimeType(List<String> mediaMimeType)
          Set the identifying mime-types of the items in the album.
 void setMediaType(List<MediaItem.Type> mediaType)
          Set the list of media item types for the items in the album.
 void setOwnerId(String ownerId)
          Set the string ID of the owner of the album.
 void setThumbnailUrl(String thumbnailUrl)
          Set the URL of the thumbnail cover image for the album.
 void setTitle(String title)
          Set the title of the album.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlbumImpl

public AlbumImpl()
Method Detail

getDescription

public String getDescription()
Description copied from interface: Album
Get a string specifying the description of this album.

Specified by:
getDescription in interface Album
Returns:
a string specifying the description of this album.

setDescription

public void setDescription(String description)
Set the description of this album.

Specified by:
setDescription in interface Album
Parameters:
description - a string specifying the description of this album.

getId

public String getId()
Description copied from interface: Album
Get a string ID specifying the unique identifier of this album.

Specified by:
getId in interface Album
Returns:
a string ID specifying the unique identifier of this album.

setId

public void setId(String id)
Set a string ID specifying a unique identifier of this album.

Specified by:
setId in interface Album
Parameters:
id - a string ID specifying the unique identifier of this album.

getLocation

public Address getLocation()
Description copied from interface: Album
Get address location of this album.

Specified by:
getLocation in interface Album
Returns:
an Address specifying the location of this album.

setLocation

public void setLocation(Address location)
Set the address location of this album.

Specified by:
setLocation in interface Album
Parameters:
location - an Address specifying the location of this album.

getMediaItemCount

public Integer getMediaItemCount()
Description copied from interface: Album
Get the number of items in the album.

Specified by:
getMediaItemCount in interface Album
Returns:
an integer specifying the number of items in the album

setMediaItemCount

public void setMediaItemCount(Integer mediaItemCount)
Set the number of items in the album.

Specified by:
setMediaItemCount in interface Album
Parameters:
mediaItemCount - an integer specifying the number of items in the album.

getMediaMimeType

public List<String> getMediaMimeType()
Description copied from interface: Album
Get the identifying mime-types of the items in the album.

Specified by:
getMediaMimeType in interface Album
Returns:
a List of strings specifying the mime-types of the items in the album.

setMediaMimeType

public void setMediaMimeType(List<String> mediaMimeType)
Set the identifying mime-types of the items in the album.

Specified by:
setMediaMimeType in interface Album
Parameters:
mediaMimeType - a List of strings specifying the mime-types of the items in the album.

getMediaType

public List<MediaItem.Type> getMediaType()
Description copied from interface: Album
Get the list of media item types for the items in the album.

Specified by:
getMediaType in interface Album
Returns:
a List of MediaItem.Type specifying the media item types for items in the album.

setMediaType

public void setMediaType(List<MediaItem.Type> mediaType)
Set the list of media item types for the items in the album.

Specified by:
setMediaType in interface Album
Parameters:
mediaType - List of MediaItem.Type specifying media item types for items in the album.

getOwnerId

public String getOwnerId()
Description copied from interface: Album
Get the ID of the owner of the album.

Specified by:
getOwnerId in interface Album
Returns:
a string identifying the ID of the owner of the album.

setOwnerId

public void setOwnerId(String ownerId)
Set the string ID of the owner of the album.

Specified by:
setOwnerId in interface Album
Parameters:
ownerId - a string ID that identify the owner of the album.

getThumbnailUrl

public String getThumbnailUrl()
Description copied from interface: Album
Get the URL to the thumbnail cover image for the album.

Specified by:
getThumbnailUrl in interface Album
Returns:
a string specifying the URL for thumbnail cover image of the album.

setThumbnailUrl

public void setThumbnailUrl(String thumbnailUrl)
Set the URL of the thumbnail cover image for the album.

Specified by:
setThumbnailUrl in interface Album
Parameters:
thumbnailUrl - a string specifying the URL for thumbnail cover image of the album.

getTitle

public String getTitle()
Description copied from interface: Album
Get the title of the album.

Specified by:
getTitle in interface Album
Returns:
a string specifying the tile of the album.

setTitle

public void setTitle(String title)
Set the title of the album.

Specified by:
setTitle in interface Album
Parameters:
title - a string specifying the title of the album.


Copyright © 2007-2012. All Rights Reserved.