com.google.code.facebookapi
Class ProfileFieldItem
java.lang.Object
com.google.code.facebookapi.ProfileFieldItem
public class ProfileFieldItem
- extends java.lang.Object
A data structure for managing the profile field-item objects required by the profile.setInfo and profile.setInfoOptions API calls. Each field-item must specify a label
and a link URL, and may optionally include a description, a sublabel, and an image URL.
|
Constructor Summary |
ProfileFieldItem(java.lang.String label,
java.lang.String url)
Constructor, creates a new ProfileFieldItem with the specified label and link. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProfileFieldItem
public ProfileFieldItem(java.lang.String label,
java.lang.String url)
- Constructor, creates a new ProfileFieldItem with the specified label and link.
- Parameters:
label - the label to use.url - the link to apply to the label.
getLabel
public java.lang.String getLabel()
- Returns:
- the label.
getUrl
public java.lang.String getUrl()
- Returns:
- the link url.
getDescription
public java.lang.String getDescription()
- Returns:
- the description.
getImageUrl
public java.lang.String getImageUrl()
- Returns:
- the image url.
getSublabel
public java.lang.String getSublabel()
- Returns:
- the sublabel for this item.
setDescription
public void setDescription(java.lang.String description)
- Parameters:
description - the description to set.
setImageUrl
public void setImageUrl(java.lang.String imageUrl)
- Parameters:
imageUrl - the image URL to use.
setSublabel
public void setSublabel(java.lang.String sublabel)
- Parameters:
sublabel - the sublabel to use.
Copyright © 2010. All Rights Reserved.