org.brickred.socialauth
Class Photo

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

public class Photo
extends Object

Data bean for photo info

Author:
tarun.nagpal

Constructor Summary
Photo()
           
 
Method Summary
 String getId()
          Retrieves photo id
 String getLargeImage()
          Returns 600 X 600 image
 String getLink()
          Retrieves the photo URL string
 String getMediumImage()
          Returns 480 X 480 image
 Map<String,String> getMetaData()
           
 String getSmallImage()
          Returns 320 X 320
 String getThumbImage()
          Returns image height less than 100px
 String getTitle()
          Retrieves the photo caption
 void setId(String id)
          Updates the photo id
 void setLargeImage(String largeImage)
          Updates Image URL of size 600 X 600
 void setLink(String link)
          Updates the photo URL string
 void setMediumImage(String mediumImage)
          Updates image URL of size 480 X 480
 void setMetaData(Map<String,String> metaData)
           
 void setSmallImage(String smallImage)
          Updates image ULR of size 320 X 320
 void setThumbImage(String thumbImage)
          Updates the image URL string which has height less than 100px
 void setTitle(String title)
          Updates the photo caption
 String toString()
          Retrieves the Photo as a string
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Photo

public Photo()
Method Detail

getLargeImage

public String getLargeImage()
Returns 600 X 600 image

Returns:
large image URL string

setLargeImage

public void setLargeImage(String largeImage)
Updates Image URL of size 600 X 600

Parameters:
largeImage -

getMediumImage

public String getMediumImage()
Returns 480 X 480 image

Returns:
medium image URL string

setMediumImage

public void setMediumImage(String mediumImage)
Updates image URL of size 480 X 480

Parameters:
mediumImage -

getSmallImage

public String getSmallImage()
Returns 320 X 320

Returns:

setSmallImage

public void setSmallImage(String smallImage)
Updates image ULR of size 320 X 320

Parameters:
smallImage -

getThumbImage

public String getThumbImage()
Returns image height less than 100px

Returns:

setThumbImage

public void setThumbImage(String thumbImage)
Updates the image URL string which has height less than 100px

Parameters:
thumbImage -

getId

public String getId()
Retrieves photo id

Returns:
photo id

setId

public void setId(String id)
Updates the photo id

Parameters:
id -

getTitle

public String getTitle()
Retrieves the photo caption

Returns:
photo caption

setTitle

public void setTitle(String title)
Updates the photo caption

Parameters:
name -

getLink

public String getLink()
Retrieves the photo URL string

Returns:
photo URL string

setLink

public void setLink(String link)
Updates the photo URL string

Parameters:
link - photo URL string

getMetaData

public Map<String,String> getMetaData()

setMetaData

public void setMetaData(Map<String,String> metaData)

toString

public String toString()
Retrieves the Photo as a string

Overrides:
toString in class Object
Returns:
String


Copyright © 2013. All Rights Reserved.