org.brickred.socialauth
Class Album

java.lang.Object
  extended by org.brickred.socialauth.Album

public class Album
extends Object

Contains the Album info

Author:
tarun.nagpal

Constructor Summary
Album()
           
 
Method Summary
 String getCoverPhoto()
          Retrieves the URL of album cover photo
 String getId()
          Retrieves the album id
 String getLink()
          Retrieves the album view link
 String getName()
          Retrieves the album name
 List<Photo> getPhotos()
          Retrieves the list of albmun photos
 int getPhotosCount()
          Retrieves the album photos count
 void setCoverPhoto(String coverPhoto)
          Updates the album cover photo URL string
 void setId(String id)
          Updates the album id
 void setLink(String link)
          Updates the album view link
 void setName(String name)
          Updates the album nane
 void setPhotos(List<Photo> photos)
          Updates the list of album photos
 void setPhotosCount(int photosCount)
          Updates the album photo count
 String toString()
          Retrieves the Album as a string
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Album

public Album()
Method Detail

getId

public String getId()
Retrieves the album id

Returns:
album id

setId

public void setId(String id)
Updates the album id

Parameters:
id - album id

getName

public String getName()
Retrieves the album name

Returns:
album name

setName

public void setName(String name)
Updates the album nane

Parameters:
name - album name

getLink

public String getLink()
Retrieves the album view link

Returns:

setLink

public void setLink(String link)
Updates the album view link

Parameters:
link - album link

getCoverPhoto

public String getCoverPhoto()
Retrieves the URL of album cover photo

Returns:
album cover photo URL string

setCoverPhoto

public void setCoverPhoto(String coverPhoto)
Updates the album cover photo URL string

Parameters:
coverPhoto - album cover photo URL string

getPhotosCount

public int getPhotosCount()
Retrieves the album photos count

Returns:
album photos count

setPhotosCount

public void setPhotosCount(int photosCount)
Updates the album photo count

Parameters:
photosCount - album photos count

getPhotos

public List<Photo> getPhotos()
Retrieves the list of albmun photos

Returns:

setPhotos

public void setPhotos(List<Photo> photos)
Updates the list of album photos

Parameters:
photos -

toString

public String toString()
Retrieves the Album as a string

Overrides:
toString in class Object
Returns:
String


Copyright © 2013. All Rights Reserved.