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

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

public class PersonImpl
extends Object
implements Person

Default Implementation of the Person object in the model.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.shindig.social.opensocial.model.Person
Person.Field, Person.Gender
 
Field Summary
 
Fields inherited from interface org.apache.shindig.social.opensocial.model.Person
PROFILE_URL_TYPE, THUMBNAIL_PHOTO_TYPE
 
Constructor Summary
PersonImpl()
           
PersonImpl(String id, String displayName, Name name)
          A constructor which contains all of the required fields on a person object
 
Method Summary
 String getAboutMe()
          Get a general statement about the person, specified as a string.
 List<Account> getAccounts()
          Get the list of online accounts held by this person.
 List<String> getActivities()
          Get the person's favorite activities, specified as an List of strings.
 List<Address> getAddresses()
          Get addresses associated with the person, specified as an List of Address objects.
 Integer getAge()
          Get the person's age, specified as a number.
 Map<String,?> getAppData()
          Get app data for the person.
 Date getBirthday()
          Get the person's date of birth, specified as a Date object.
 BodyType getBodyType()
          Get the person's body characteristics, specified as an BodyType.
 List<String> getBooks()
          Get the person's favorite books, specified as an List of strings.
 List<String> getCars()
          Get the person's favorite cars, specified as an List of strings.
 String getChildren()
          Get a description of the person's children, specified as a string.
 Address getCurrentLocation()
          Get the person's current location, specified as an Address.
 String getDisplayName()
          The display name for the user.
 Enum<Drinker> getDrinker()
          Get the person's drinking status, specified as an Enum with the enum's key referencing Drinker.
 List<ListField> getEmails()
          Get the person's Emails associated with the person.
 String getEthnicity()
          Get the person's ethnicity, specified as a string.
 Map<String,String> getExtensions()
          Get the person's extensions, specified as a Map.
 String getFashion()
          Get the person's thoughts on fashion, specified as a string.
 List<String> getFood()
          Get the person's favorite food, specified as an List of strings.
 Person.Gender getGender()
          Get a person's gender, specified as an Person.Gender.
 String getHappiestWhen()
          Get a description of when the person is happiest, specified as a string.
 Boolean getHasApp()
          Get if the person has used the current app.
 List<String> getHeroes()
          Get a person's favorite heroes, specified as an Array of strings.
 String getHumor()
          Get the person's thoughts on humor, specified as a string.
 String getId()
          Get A string ID that can be permanently associated with this person.
 List<ListField> getIms()
          Get a list of Instant messaging address for this Person.
 List<String> getInterests()
          Get the person's interests, hobbies or passions, specified as an List of strings.
 boolean getIsOwner()
           
 boolean getIsViewer()
          Returns true if this person object represents the currently logged in user.
 String getJobInterests()
          Get the Person's favorite jobs, or job interests and skills, specified as a string.
 List<String> getLanguagesSpoken()
          Get a List of the languages that the person speaks as ISO 639-1 codes, specified as an List of strings.
 String getLivingArrangement()
          Get a description of the person's living arrangement, specified as a string.
 List<Enum<LookingFor>> getLookingFor()
          Get a person's statement about who or what they are looking for, or what they are interested in meeting people for.
 List<String> getMovies()
          Get the Person's favorite movies, specified as an List of strings.
 List<String> getMusic()
          Get the Person's favorite music, specified as an List of strings Container support for this field is OPTIONAL.
 Name getName()
          Get the person's name Container support for this field is REQUIRED.
 Enum<NetworkPresence> getNetworkPresence()
          Get the person's current network status.
 String getNickname()
          Get the person's nickname.
 List<Organization> getOrganizations()
          Get a list of current or past organizational affiliations of this Person.
 String getPets()
          Get a description of the person's pets Container support for this field is OPTIONAL.
 List<ListField> getPhoneNumbers()
          Get the Phone numbers associated with the person.
 List<ListField> getPhotos()
          URL of a photo of this person.
 String getPoliticalViews()
          Get the Person's political views, specified as a string.
 String getPreferredUsername()
          Get the Person's preferred username, specified as a string.
 Url getProfileSong()
          Get the Person's profile song, specified as an Url.
 String getProfileUrl()
          Get the person's profile URL.
 Url getProfileVideo()
          Get the Person's profile video.
 List<String> getQuotes()
          Get the person's favorite quotes Container support for this field is OPTIONAL.
 String getRelationshipStatus()
          Get the person's relationship status.
 String getReligion()
          Get the person's relgion or religious views.
 String getRomance()
          Get the person's comments about romance.
 String getScaredOf()
          Get what the person is scared of Container support for this field is OPTIONAL.
 String getSexualOrientation()
          Get the person's sexual orientation.
 Enum<Smoker> getSmoker()
          Get the person's smoking status.
 List<String> getSports()
          Get the person's favorite sports.
 String getStatus()
          Get the person's status, headline or shoutout.
 List<String> getTags()
          Get arbitrary tags about the person.
 String getThumbnailUrl()
          Get the person's photo thumbnail URL, specified as a string.
 List<String> getTurnOffs()
          Get the person's turn offs.
 List<String> getTurnOns()
          Get the person's turn ons.
 List<String> getTvShows()
          Get the person's favorite TV shows.
 Date getUpdated()
          The time this person was last updated.
 List<Url> getUrls()
          Get the URLs related to the person, their webpages, or feeds Container support for this field is OPTIONAL.
 Long getUtcOffset()
          Get the Person's time zone, specified as the difference in minutes between Greenwich Mean Time (GMT) and the user's local time.
 String getVoot_membership_role()
           
 void setAboutMe(String aboutMe)
          Set a general statement about the person, specified as a string.
 void setAccounts(List<Account> accounts)
          Set the list of online accounts held by this person.
 void setActivities(List<String> activities)
          Set the person's favorite activities, specified as an List of strings.
 void setAddresses(List<Address> addresses)
          Set addresses associated with the person, specified as an List of Address objects.
 void setAge(Integer age)
          Set the person's age, specified as a number.
 void setAppData(Map<String,?> appData)
          Sets app data for the person.
 void setBirthday(Date birthday)
          Set the person's date of birth, specified as a Date object.
 void setBodyType(BodyType bodyType)
          Set the person's body characteristics, specified as an BodyType.
 void setBooks(List<String> books)
          Set the person's favorite books, specified as an List of strings.
 void setCars(List<String> cars)
          Set the person's favorite cars, specified as an List of strings.
 void setChildren(String children)
          Set a description of the person's children, specified as a string.
 void setCurrentLocation(Address currentLocation)
          Set the person's current location, specified as an Address.
 void setDisplayName(String displayName)
          Set the display name.
 void setDrinker(Enum<Drinker> newDrinker)
          Get the person's drinking status, specified as an Enum with the enum's key referencing Drinker.
 void setEmails(List<ListField> emails)
          Set the person's Emails associated with the person.
 void setEthnicity(String ethnicity)
          Set the person's ethnicity, specified as a string.
 void setExtensions(Map<String,String> extensions)
          Set the person's extensions, specified as a Map.
 void setFashion(String fashion)
          Set the person's thoughts on fashion, specified as a string.
 void setFood(List<String> food)
          Set the person's favorite food, specified as an List of strings.
 void setGender(Person.Gender newGender)
          Set a person's gender, specified as an Person.Gender.
 void setHappiestWhen(String happiestWhen)
          Set a description of when the person is happiest, specified as a string.
 void setHasApp(Boolean hasApp)
          Set if the person has used the current app.
 void setHeroes(List<String> heroes)
          Set a person's favorite heroes, specified as an Array of strings.
 void setHumor(String humor)
          Set the person's thoughts on humor, specified as a string.
 void setId(String id)
          Set A string ID that can be permanently associated with this person.
 void setIms(List<ListField> ims)
          Set a list of Instant messaging address for this Person.
 void setInterests(List<String> interests)
          Set the person's interests, hobbies or passions, specified as an List of strings.
 void setIsOwner(boolean isOwner)
          Set the owner flag.
 void setIsViewer(boolean isViewer)
          Returns true if this person object represents the currently logged in user.
 void setJobInterests(String jobInterests)
          Set the Person's favorite jobs, or job interests and skills, specified as a string.
 void setLanguagesSpoken(List<String> languagesSpoken)
          Set a List of the languages that the person speaks as ISO 639-1 codes, specified as an List of strings.
 void setLivingArrangement(String livingArrangement)
          Set a description of the person's living arrangement, specified as a string.
 void setLookingFor(List<Enum<LookingFor>> lookingFor)
          Get a person's statement about who or what they are looking for, or what they are interested in meeting people for.
 void setMovies(List<String> movies)
          Set the Person's favorite movies, specified as an List of strings.
 void setMusic(List<String> music)
          Set the Person's favorite music, specified as an List of strings Container support for this field is OPTIONAL.
 void setName(Name name)
          Set the person's name Container support for this field is REQUIRED.
 void setNetworkPresence(Enum<NetworkPresence> networkPresence)
          Set the person's current network status.
 void setNickname(String nickname)
          Set the the person's nickname.
 void setOrganizations(List<Organization> organizations)
          Set a list of current or past organizational affiliations of this Person.
 void setPets(String pets)
          Set a description of the person's pets Container support for this field is OPTIONAL.
 void setPhoneNumbers(List<ListField> phoneNumbers)
          Set the Phone numbers associated with the person.
 void setPhotos(List<ListField> photos)
          Set a list of Photos for the person.
 void setPoliticalViews(String politicalViews)
          Set the Person's political views, specified as a string.
 void setPreferredUsername(String preferredUsername)
          Set the Person's preferred username, specified as a string.
 void setProfileSong(Url profileSong)
          Set the Person's profile song, specified as an Url.
 void setProfileUrl(String profileUrl)
          Set the person's profile URL.
 void setProfileVideo(Url profileVideo)
          Set the Person's profile video.
 void setQuotes(List<String> quotes)
          Set the person's favorite quotes.
 void setRelationshipStatus(String relationshipStatus)
          Set the person's relationship status.
 void setReligion(String religion)
          Set the person's relgion or religious views.
 void setRomance(String romance)
          Set a the person's comments about romance, Container support for this field is OPTIONAL.
 void setScaredOf(String scaredOf)
          Set what the person is scared of Container support for this field is OPTIONAL.
 void setSexualOrientation(String sexualOrientation)
          Set the person's sexual orientation Container support for this field is OPTIONAL.
 void setSmoker(Enum<Smoker> newSmoker)
          Set the person's smoking status.
 void setSports(List<String> sports)
          Set the person's favorite sports.
 void setStatus(String status)
          Set the person's status, headline or shoutout.
 void setTags(List<String> tags)
          Set arbitrary tags about the person.
 void setThumbnailUrl(String thumbnailUrl)
          Set the person's photo thumbnail URL, specified as a string.
 void setTurnOffs(List<String> turnOffs)
          Set the person's turn offs.
 void setTurnOns(List<String> turnOns)
          Set the person's turn ons.
 void setTvShows(List<String> tvShows)
          Set the person's favorite TV shows.
 void setUpdated(Date updated)
          Set the time this record was last updated.
 void setUrls(List<Url> urls)
          Set the URLs related to the person, their webpages, or feeds Container support for this field is OPTIONAL.
 void setUtcOffset(Long utcOffset)
          Set the Person's time zone, specified as the difference in minutes between Greenwich Mean Time (GMT) and the user's local time.
 void setVoot_membership_role(String voot_membership_role)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PersonImpl

public PersonImpl()

PersonImpl

public PersonImpl(String id,
                  String displayName,
                  Name name)
A constructor which contains all of the required fields on a person object

Parameters:
id - The id of the person
displayName - The displayName of the person
name - The person's name broken down into components
Method Detail

getAboutMe

public String getAboutMe()
Description copied from interface: Person
Get a general statement about the person, specified as a string. Container support for this field is OPTIONAL.

Specified by:
getAboutMe in interface Person
Returns:
the value of aboutMe

setAboutMe

public void setAboutMe(String aboutMe)
Description copied from interface: Person
Set a general statement about the person, specified as a string. Container support for this field is OPTIONAL.

Specified by:
setAboutMe in interface Person
Parameters:
aboutMe - the value of aboutMe

getAccounts

public List<Account> getAccounts()
Description copied from interface: Person
Get the list of online accounts held by this person.

Specified by:
getAccounts in interface Person
Returns:
a list of Account objects

setAccounts

public void setAccounts(List<Account> accounts)
Description copied from interface: Person
Set the list of online accounts held by this person.

Specified by:
setAccounts in interface Person
Parameters:
accounts - a list of Account objects

getActivities

public List<String> getActivities()
Description copied from interface: Person
Get the person's favorite activities, specified as an List of strings. Container support for this field is OPTIONAL.

Specified by:
getActivities in interface Person
Returns:
list of activities.

setActivities

public void setActivities(List<String> activities)
Description copied from interface: Person
Set the person's favorite activities, specified as an List of strings.

Specified by:
setActivities in interface Person
Parameters:
activities - a list of activities

getAddresses

public List<Address> getAddresses()
Description copied from interface: Person
Get addresses associated with the person, specified as an List of Address objects. Container support for this field is OPTIONAL.

Specified by:
getAddresses in interface Person
Returns:
a List of address objects

setAddresses

public void setAddresses(List<Address> addresses)
Description copied from interface: Person
Set addresses associated with the person, specified as an List of Address objects. Container support for this field is OPTIONAL.

Specified by:
setAddresses in interface Person
Parameters:
addresses - a list of address objects

getAge

public Integer getAge()
Description copied from interface: Person
Get the person's age, specified as a number. Container support for this field is OPTIONAL.

Specified by:
getAge in interface Person
Returns:
the persons age

setAge

public void setAge(Integer age)
Description copied from interface: Person
Set the person's age, specified as a number. Container support for this field is OPTIONAL.

Specified by:
setAge in interface Person
Parameters:
age - the persons age

getAppData

public Map<String,?> getAppData()
Description copied from interface: Person
Get app data for the person.

Specified by:
getAppData in interface Person
Returns:
the app data, possibly a subset.

setAppData

public void setAppData(Map<String,?> appData)
Description copied from interface: Person
Sets app data for the person.

Specified by:
setAppData in interface Person
Parameters:
appData - the app data, possibly a subset

getBodyType

public BodyType getBodyType()
Description copied from interface: Person
Get the person's body characteristics, specified as an BodyType. Container support for this field is OPTIONAL.

Specified by:
getBodyType in interface Person
Returns:
the BodyType

setBodyType

public void setBodyType(BodyType bodyType)
Description copied from interface: Person
Set the person's body characteristics, specified as an BodyType. Container support for this field is OPTIONAL.

Specified by:
setBodyType in interface Person
Parameters:
bodyType - the person's BodyType

getBooks

public List<String> getBooks()
Description copied from interface: Person
Get the person's favorite books, specified as an List of strings. Container support for this field is OPTIONAL.

Specified by:
getBooks in interface Person
Returns:
list of books as strings

setBooks

public void setBooks(List<String> books)
Description copied from interface: Person
Set the person's favorite books, specified as an List of strings. Container support for this field is OPTIONAL.

Specified by:
setBooks in interface Person
Parameters:
books - a list of the person's books

getCars

public List<String> getCars()
Description copied from interface: Person
Get the person's favorite cars, specified as an List of strings. Container support for this field is OPTIONAL.

Specified by:
getCars in interface Person
Returns:
the persons favorite cars

setCars

public void setCars(List<String> cars)
Description copied from interface: Person
Set the person's favorite cars, specified as an List of strings. Container support for this field is OPTIONAL.

Specified by:
setCars in interface Person
Parameters:
cars - a list of the persons favorite cars

getChildren

public String getChildren()
Description copied from interface: Person
Get a description of the person's children, specified as a string. Container support for this field is OPTIONAL.

Specified by:
getChildren in interface Person
Returns:
the persons children

setChildren

public void setChildren(String children)
Description copied from interface: Person
Set a description of the person's children, specified as a string. Container support for this field is OPTIONAL.

Specified by:
setChildren in interface Person
Parameters:
children - the persons children

getCurrentLocation

public Address getCurrentLocation()
Description copied from interface: Person
Get the person's current location, specified as an Address. Container support for this field is OPTIONAL.

Specified by:
getCurrentLocation in interface Person
Returns:
the persons current location

setCurrentLocation

public void setCurrentLocation(Address currentLocation)
Description copied from interface: Person
Set the person's current location, specified as an Address. Container support for this field is OPTIONAL.

Specified by:
setCurrentLocation in interface Person
Parameters:
currentLocation - the persons current location

getBirthday

public Date getBirthday()
Description copied from interface: Person
Get the person's date of birth, specified as a Date object. Container support for this field is OPTIONAL.

Specified by:
getBirthday in interface Person
Returns:
the person's data of birth

setBirthday

public void setBirthday(Date birthday)
Description copied from interface: Person
Set the person's date of birth, specified as a Date object. Container support for this field is OPTIONAL.

Specified by:
setBirthday in interface Person
Parameters:
birthday - the person's data of birth

getDisplayName

public String getDisplayName()
Description copied from interface: Person
The display name for the user.

Specified by:
getDisplayName in interface Person
Returns:
the display name

setDisplayName

public void setDisplayName(String displayName)
Description copied from interface: Person
Set the display name.

Specified by:
setDisplayName in interface Person
Parameters:
displayName - the new display name.

getDrinker

public Enum<Drinker> getDrinker()
Description copied from interface: Person
Get the person's drinking status, specified as an Enum with the enum's key referencing Drinker. Container support for this field is OPTIONAL.

Specified by:
getDrinker in interface Person
Returns:
the persons drinking status

setDrinker

public void setDrinker(Enum<Drinker> newDrinker)
Description copied from interface: Person
Get the person's drinking status, specified as an Enum with the enum's key referencing Drinker. Container support for this field is OPTIONAL.

Specified by:
setDrinker in interface Person
Parameters:
newDrinker - the persons drinking status

getEmails

public List<ListField> getEmails()
Description copied from interface: Person
Get the person's Emails associated with the person. Container support for this field is OPTIONAL.

Specified by:
getEmails in interface Person
Returns:
a list of the person's emails

setEmails

public void setEmails(List<ListField> emails)
Description copied from interface: Person
Set the person's Emails associated with the person. Container support for this field is OPTIONAL.

Specified by:
setEmails in interface Person
Parameters:
emails - a list of the person's emails

getEthnicity

public String getEthnicity()
Description copied from interface: Person
Get the person's ethnicity, specified as a string. Container support for this field is OPTIONAL.

Specified by:
getEthnicity in interface Person
Returns:
the person's ethnicity

setEthnicity

public void setEthnicity(String ethnicity)
Description copied from interface: Person
Set the person's ethnicity, specified as a string. Container support for this field is OPTIONAL.

Specified by:
setEthnicity in interface Person
Parameters:
ethnicity - the person's ethnicity

getFashion

public String getFashion()
Description copied from interface: Person
Get the person's thoughts on fashion, specified as a string. Container support for this field is OPTIONAL.

Specified by:
getFashion in interface Person
Returns:
the person's thoughts on fashion

setFashion

public void setFashion(String fashion)
Description copied from interface: Person
Set the person's thoughts on fashion, specified as a string. Container support for this field is OPTIONAL.

Specified by:
setFashion in interface Person
Parameters:
fashion - the person's thoughts on fashion

getFood

public List<String> getFood()
Description copied from interface: Person
Get the person's favorite food, specified as an List of strings. Container support for this field is OPTIONAL.

Specified by:
getFood in interface Person
Returns:
the person's favorite food

setFood

public void setFood(List<String> food)
Description copied from interface: Person
Set the person's favorite food, specified as an List of strings. Container support for this field is OPTIONAL.

Specified by:
setFood in interface Person
Parameters:
food - the person's favorite food

getGender

public Person.Gender getGender()
Description copied from interface: Person
Get a person's gender, specified as an Person.Gender.

Specified by:
getGender in interface Person
Returns:
the person's gender

setGender

public void setGender(Person.Gender newGender)
Description copied from interface: Person
Set a person's gender, specified as an Person.Gender.

Specified by:
setGender in interface Person
Parameters:
newGender - the person's gender

getHappiestWhen

public String getHappiestWhen()
Description copied from interface: Person
Get a description of when the person is happiest, specified as a string. Container support for this field is OPTIONAL.

Specified by:
getHappiestWhen in interface Person
Returns:
a description of when the person is happiest

setHappiestWhen

public void setHappiestWhen(String happiestWhen)
Description copied from interface: Person
Set a description of when the person is happiest, specified as a string. Container support for this field is OPTIONAL.

Specified by:
setHappiestWhen in interface Person
Parameters:
happiestWhen - a description of when the person is happiest

getHasApp

public Boolean getHasApp()
Description copied from interface: Person
Get if the person has used the current app. Container support for this field is OPTIONAL. Has app needs to take account of the context of the application that is performing the query on this person object.

Specified by:
getHasApp in interface Person
Returns:
true the current app has been used

setHasApp

public void setHasApp(Boolean hasApp)
Description copied from interface: Person
Set if the person has used the current app. Container support for this field is OPTIONAL.

Specified by:
setHasApp in interface Person
Parameters:
hasApp - set true the current app has been used

getHeroes

public List<String> getHeroes()
Description copied from interface: Person
Get a person's favorite heroes, specified as an Array of strings. Container support for this field is OPTIONAL.

Specified by:
getHeroes in interface Person
Returns:
a list of the person's favorite heroes

setHeroes

public void setHeroes(List<String> heroes)
Description copied from interface: Person
Set a person's favorite heroes, specified as an Array of strings. Container support for this field is OPTIONAL.

Specified by:
setHeroes in interface Person
Parameters:
heroes - a list of the person's favorite heroes

getHumor

public String getHumor()
Description copied from interface: Person
Get the person's thoughts on humor, specified as a string. Container support for this field is OPTIONAL.

Specified by:
getHumor in interface Person
Returns:
the person's thoughts on humor

setHumor

public void setHumor(String humor)
Description copied from interface: Person
Set the person's thoughts on humor, specified as a string. Container support for this field is OPTIONAL.

Specified by:
setHumor in interface Person
Parameters:
humor - the person's thoughts on humor

getId

public String getId()
Description copied from interface: Person
Get A string ID that can be permanently associated with this person. Container support for this field is REQUIRED.

Specified by:
getId in interface Person
Returns:
the permanent ID of the person

setId

public void setId(String id)
Description copied from interface: Person
Set A string ID that can be permanently associated with this person. Container support for this field is REQUIRED.

Specified by:
setId in interface Person
Parameters:
id - the permanent ID of the person

getIms

public List<ListField> getIms()
Description copied from interface: Person
Get a list of Instant messaging address for this Person. No official canonicalization rules exist for all instant messaging addresses, but Service Providers SHOULD remove all whitespace and convert the address to lowercase, if this is appropriate for the service this IM address is used for. Instead of the standard Canonical Values for type, this field defines the following Canonical Values to represent currently popular IM services: aim, gtalk, icq, xmpp, msn, skype, qq, and yahoo.

Specified by:
getIms in interface Person
Returns:
A list of IM addresses

setIms

public void setIms(List<ListField> ims)
Description copied from interface: Person
Set a list of Instant messaging address for this Person. No official canonicalization rules exist for all instant messaging addresses, but Service Providers SHOULD remove all whitespace and convert the address to lowercase, if this is appropriate for the service this IM address is used for. Instead of the standard Canonical Values for type, this field defines the following Canonical Values to represent currently popular IM services: aim, gtalk, icq, xmpp, msn, skype, qq, and yahoo.

Specified by:
setIms in interface Person
Parameters:
ims - a list ListFields representing IM addresses.

getInterests

public List<String> getInterests()
Description copied from interface: Person
Get the person's interests, hobbies or passions, specified as an List of strings. Container support for this field is OPTIONAL.

Specified by:
getInterests in interface Person
Returns:
the person's interests, hobbies or passions

setInterests

public void setInterests(List<String> interests)
Description copied from interface: Person
Set the person's interests, hobbies or passions, specified as an List of strings. Container support for this field is OPTIONAL.

Specified by:
setInterests in interface Person
Parameters:
interests - the person's interests, hobbies or passions

getJobInterests

public String getJobInterests()
Description copied from interface: Person
Get the Person's favorite jobs, or job interests and skills, specified as a string. Container support for this field is OPTIONAL

Specified by:
getJobInterests in interface Person
Returns:
the Person's favorite jobs, or job interests and skills

setJobInterests

public void setJobInterests(String jobInterests)
Description copied from interface: Person
Set the Person's favorite jobs, or job interests and skills, specified as a string. Container support for this field is OPTIONAL

Specified by:
setJobInterests in interface Person
Parameters:
jobInterests - the Person's favorite jobs, or job interests and skills

getLanguagesSpoken

public List<String> getLanguagesSpoken()
Description copied from interface: Person
Get a List of the languages that the person speaks as ISO 639-1 codes, specified as an List of strings. Container support for this field is OPTIONAL.

Specified by:
getLanguagesSpoken in interface Person
Returns:
a List of the languages that the person speaks

setLanguagesSpoken

public void setLanguagesSpoken(List<String> languagesSpoken)
Description copied from interface: Person
Set a List of the languages that the person speaks as ISO 639-1 codes, specified as an List of strings. Container support for this field is OPTIONAL.

Specified by:
setLanguagesSpoken in interface Person
Parameters:
languagesSpoken - a List of the languages that the person speaks

getUpdated

public Date getUpdated()
Description copied from interface: Person
The time this person was last updated.

Specified by:
getUpdated in interface Person
Returns:
the last update time

setUpdated

public void setUpdated(Date updated)
Description copied from interface: Person
Set the time this record was last updated.

Specified by:
setUpdated in interface Person
Parameters:
updated - the last update time

getLivingArrangement

public String getLivingArrangement()
Description copied from interface: Person
Get a description of the person's living arrangement, specified as a string. Container support for this field is OPTIONAL.

Specified by:
getLivingArrangement in interface Person
Returns:
a description of the person's living arrangement

setLivingArrangement

public void setLivingArrangement(String livingArrangement)
Description copied from interface: Person
Set a description of the person's living arrangement, specified as a string. Container support for this field is OPTIONAL.

Specified by:
setLivingArrangement in interface Person
Parameters:
livingArrangement - a description of the person's living arrangement

getLookingFor

public List<Enum<LookingFor>> getLookingFor()
Description copied from interface: Person
Get a person's statement about who or what they are looking for, or what they are interested in meeting people for. Specified as an List of Enum with the enum's key referencing LookingFor Container support for this field is OPTIONAL.

Specified by:
getLookingFor in interface Person
Returns:
person's statement about who or what they are looking for

setLookingFor

public void setLookingFor(List<Enum<LookingFor>> lookingFor)
Description copied from interface: Person
Get a person's statement about who or what they are looking for, or what they are interested in meeting people for. Specified as an List of Enum with the enum's key referencing LookingFor Container support for this field is OPTIONAL.

Specified by:
setLookingFor in interface Person
Parameters:
lookingFor - person's statement about who or what they are looking for

getMovies

public List<String> getMovies()
Description copied from interface: Person
Get the Person's favorite movies, specified as an List of strings. Container support for this field is OPTIONAL.

Specified by:
getMovies in interface Person
Returns:
the Person's favorite movies

setMovies

public void setMovies(List<String> movies)
Description copied from interface: Person
Set the Person's favorite movies, specified as an List of strings. Container support for this field is OPTIONAL.

Specified by:
setMovies in interface Person
Parameters:
movies - the Person's favorite movies

getMusic

public List<String> getMusic()
Description copied from interface: Person
Get the Person's favorite music, specified as an List of strings Container support for this field is OPTIONAL.

Specified by:
getMusic in interface Person
Returns:
Person's favorite music

setMusic

public void setMusic(List<String> music)
Description copied from interface: Person
Set the Person's favorite music, specified as an List of strings Container support for this field is OPTIONAL.

Specified by:
setMusic in interface Person
Parameters:
music - Person's favorite music

getName

public Name getName()
Description copied from interface: Person
Get the person's name Container support for this field is REQUIRED.

Specified by:
getName in interface Person
Returns:
the person's name

setName

public void setName(Name name)
Description copied from interface: Person
Set the person's name Container support for this field is REQUIRED.

Specified by:
setName in interface Person
Parameters:
name - the person's name

getNetworkPresence

public Enum<NetworkPresence> getNetworkPresence()
Description copied from interface: Person
Get the person's current network status. Specified as an Enum with the enum's key referencing NetworkPresence. Container support for this field is OPTIONAL.

Specified by:
getNetworkPresence in interface Person
Returns:
the person's current network status

setNetworkPresence

public void setNetworkPresence(Enum<NetworkPresence> networkPresence)
Description copied from interface: Person
Set the person's current network status. Specified as an Enum with the enum's key referencing NetworkPresence. Container support for this field is OPTIONAL.

Specified by:
setNetworkPresence in interface Person
Parameters:
networkPresence - the person's current network status

getNickname

public String getNickname()
Description copied from interface: Person
Get the person's nickname. Container support for this field is REQUIRED.

Specified by:
getNickname in interface Person
Returns:
the person's nickname.

setNickname

public void setNickname(String nickname)
Description copied from interface: Person
Set the the person's nickname. Container support for this field is REQUIRED.

Specified by:
setNickname in interface Person
Parameters:
nickname - the person's nickname.

getOrganizations

public List<Organization> getOrganizations()
Description copied from interface: Person
Get a list of current or past organizational affiliations of this Person.

Specified by:
getOrganizations in interface Person
Returns:
a list of Organization objects

setOrganizations

public void setOrganizations(List<Organization> organizations)
Description copied from interface: Person
Set a list of current or past organizational affiliations of this Person.

Specified by:
setOrganizations in interface Person
Parameters:
organizations - a list of Organisation objects

getPets

public String getPets()
Description copied from interface: Person
Get a description of the person's pets Container support for this field is OPTIONAL.

Specified by:
getPets in interface Person
Returns:
a description of the person's pets

setPets

public void setPets(String pets)
Description copied from interface: Person
Set a description of the person's pets Container support for this field is OPTIONAL.

Specified by:
setPets in interface Person
Parameters:
pets - a description of the person's pets

getPhoneNumbers

public List<ListField> getPhoneNumbers()
Description copied from interface: Person
Get the Phone numbers associated with the person.

Specified by:
getPhoneNumbers in interface Person
Returns:
the Phone numbers associated with the person

setPhoneNumbers

public void setPhoneNumbers(List<ListField> phoneNumbers)
Description copied from interface: Person
Set the Phone numbers associated with the person.

Specified by:
setPhoneNumbers in interface Person
Parameters:
phoneNumbers - the Phone numbers associated with the person

getPhotos

public List<ListField> getPhotos()
Description copied from interface: Person
URL of a photo of this person. The value SHOULD be a canonicalized URL, and MUST point to an actual image file (e.g. a GIF, JPEG, or PNG image file) rather than to a web page containing an image. Service Providers MAY return the same image at different sizes, though it is recognized that no standard for describing images of various sizes currently exists. Note that this field SHOULD NOT be used to send down arbitrary photos taken by this user, but specifically profile photos of the contact suitable for display when describing the contact.

Specified by:
getPhotos in interface Person
Returns:
a list of Photos

setPhotos

public void setPhotos(List<ListField> photos)
Description copied from interface: Person
Set a list of Photos for the person.

Specified by:
setPhotos in interface Person
Parameters:
photos - a list of photos.
See Also:
Person.getPhotos()

getPoliticalViews

public String getPoliticalViews()
Description copied from interface: Person
Get the Person's political views, specified as a string. Container support for this field is OPTIONAL.

Specified by:
getPoliticalViews in interface Person
Returns:
the Person's political views

setPoliticalViews

public void setPoliticalViews(String politicalViews)
Description copied from interface: Person
Set the Person's political views, specified as a string. Container support for this field is OPTIONAL.

Specified by:
setPoliticalViews in interface Person
Parameters:
politicalViews - the Person's political views

getPreferredUsername

public String getPreferredUsername()
Description copied from interface: Person
Get the Person's preferred username, specified as a string. Container support for this field is OPTIONAL

Specified by:
getPreferredUsername in interface Person
Returns:
the Person's preferred username

setPreferredUsername

public void setPreferredUsername(String preferredUsername)
Description copied from interface: Person
Set the Person's preferred username, specified as a string. Container support for this field is OPTIONAL

Specified by:
setPreferredUsername in interface Person
Parameters:
preferredUsername - the Person's preferred username

getProfileSong

public Url getProfileSong()
Description copied from interface: Person
Get the Person's profile song, specified as an Url. Container support for this field is OPTIONAL.

Specified by:
getProfileSong in interface Person
Returns:
the Person's profile song

setProfileSong

public void setProfileSong(Url profileSong)
Description copied from interface: Person
Set the Person's profile song, specified as an Url. Container support for this field is OPTIONAL.

Specified by:
setProfileSong in interface Person
Parameters:
profileSong - the Person's profile song

getProfileVideo

public Url getProfileVideo()
Description copied from interface: Person
Get the Person's profile video. Container support for this field is OPTIONAL.

Specified by:
getProfileVideo in interface Person
Returns:
the Person's profile video

setProfileVideo

public void setProfileVideo(Url profileVideo)
Description copied from interface: Person
Set the Person's profile video. Container support for this field is OPTIONAL.

Specified by:
setProfileVideo in interface Person
Parameters:
profileVideo - the Person's profile video

getQuotes

public List<String> getQuotes()
Description copied from interface: Person
Get the person's favorite quotes Container support for this field is OPTIONAL.

Specified by:
getQuotes in interface Person
Returns:
the person's favorite quotes

setQuotes

public void setQuotes(List<String> quotes)
Description copied from interface: Person
Set the person's favorite quotes. Container support for this field is OPTIONAL.

Specified by:
setQuotes in interface Person
Parameters:
quotes - the person's favorite quotes

getRelationshipStatus

public String getRelationshipStatus()
Description copied from interface: Person
Get the person's relationship status. Container support for this field is OPTIONAL.

Specified by:
getRelationshipStatus in interface Person
Returns:
the person's relationship status

setRelationshipStatus

public void setRelationshipStatus(String relationshipStatus)
Description copied from interface: Person
Set the person's relationship status. Container support for this field is OPTIONAL.

Specified by:
setRelationshipStatus in interface Person
Parameters:
relationshipStatus - the person's relationship status

getReligion

public String getReligion()
Description copied from interface: Person
Get the person's relgion or religious views. Container support for this field is OPTIONAL.

Specified by:
getReligion in interface Person
Returns:
the person's relgion or religious views

setReligion

public void setReligion(String religion)
Description copied from interface: Person
Set the person's relgion or religious views. Container support for this field is OPTIONAL.

Specified by:
setReligion in interface Person
Parameters:
religion - the person's relgion or religious views

getRomance

public String getRomance()
Description copied from interface: Person
Get the person's comments about romance. Container support for this field is OPTIONAL.

Specified by:
getRomance in interface Person
Returns:
the person's comments about romance,

setRomance

public void setRomance(String romance)
Description copied from interface: Person
Set a the person's comments about romance, Container support for this field is OPTIONAL.

Specified by:
setRomance in interface Person
Parameters:
romance - the person's comments about romance,

getScaredOf

public String getScaredOf()
Description copied from interface: Person
Get what the person is scared of Container support for this field is OPTIONAL.

Specified by:
getScaredOf in interface Person
Returns:
what the person is scared of

setScaredOf

public void setScaredOf(String scaredOf)
Description copied from interface: Person
Set what the person is scared of Container support for this field is OPTIONAL.

Specified by:
setScaredOf in interface Person
Parameters:
scaredOf - what the person is scared of

getSexualOrientation

public String getSexualOrientation()
Description copied from interface: Person
Get the person's sexual orientation. Container support for this field is OPTIONAL.

Specified by:
getSexualOrientation in interface Person
Returns:
the person's sexual orientation

setSexualOrientation

public void setSexualOrientation(String sexualOrientation)
Description copied from interface: Person
Set the person's sexual orientation Container support for this field is OPTIONAL.

Specified by:
setSexualOrientation in interface Person
Parameters:
sexualOrientation - the person's sexual orientation

getSmoker

public Enum<Smoker> getSmoker()
Description copied from interface: Person
Get the person's smoking status. Container support for this field is OPTIONAL.

Specified by:
getSmoker in interface Person
Returns:
the person's smoking status

setSmoker

public void setSmoker(Enum<Smoker> newSmoker)
Description copied from interface: Person
Set the person's smoking status. Container support for this field is OPTIONAL.

Specified by:
setSmoker in interface Person
Parameters:
newSmoker - the person's smoking status

getSports

public List<String> getSports()
Description copied from interface: Person
Get the person's favorite sports. Container support for this field is OPTIONAL.

Specified by:
getSports in interface Person
Returns:
the person's favorite sports

setSports

public void setSports(List<String> sports)
Description copied from interface: Person
Set the person's favorite sports. Container support for this field is OPTIONAL.

Specified by:
setSports in interface Person
Parameters:
sports - the person's favorite sports

getStatus

public String getStatus()
Description copied from interface: Person
Get the person's status, headline or shoutout. Container support for this field is OPTIONAL.

Specified by:
getStatus in interface Person
Returns:
the person's status, headline or shoutout

setStatus

public void setStatus(String status)
Description copied from interface: Person
Set the person's status, headline or shoutout. Container support for this field is OPTIONAL.

Specified by:
setStatus in interface Person
Parameters:
status - the person's status, headline or shoutout

getTags

public List<String> getTags()
Description copied from interface: Person
Get arbitrary tags about the person. Container support for this field is OPTIONAL.

Specified by:
getTags in interface Person
Returns:
arbitrary tags about the person.

setTags

public void setTags(List<String> tags)
Description copied from interface: Person
Set arbitrary tags about the person. Container support for this field is OPTIONAL.

Specified by:
setTags in interface Person
Parameters:
tags - arbitrary tags about the person.

getUtcOffset

public Long getUtcOffset()
Description copied from interface: Person
Get the Person's time zone, specified as the difference in minutes between Greenwich Mean Time (GMT) and the user's local time. Container support for this field is OPTIONAL.

Specified by:
getUtcOffset in interface Person
Returns:
the Person's time zone

setUtcOffset

public void setUtcOffset(Long utcOffset)
Description copied from interface: Person
Set the Person's time zone, specified as the difference in minutes between Greenwich Mean Time (GMT) and the user's local time. Container support for this field is OPTIONAL.

Specified by:
setUtcOffset in interface Person
Parameters:
utcOffset - the Person's time zone

getTurnOffs

public List<String> getTurnOffs()
Description copied from interface: Person
Get the person's turn offs. Container support for this field is OPTIONAL.

Specified by:
getTurnOffs in interface Person
Returns:
the person's turn offs

setTurnOffs

public void setTurnOffs(List<String> turnOffs)
Description copied from interface: Person
Set the person's turn offs. Container support for this field is OPTIONAL.

Specified by:
setTurnOffs in interface Person
Parameters:
turnOffs - the person's turn offs

getTurnOns

public List<String> getTurnOns()
Description copied from interface: Person
Get the person's turn ons. Container support for this field is OPTIONAL.

Specified by:
getTurnOns in interface Person
Returns:
the person's turn ons

setTurnOns

public void setTurnOns(List<String> turnOns)
Description copied from interface: Person
Set the person's turn ons. Container support for this field is OPTIONAL.

Specified by:
setTurnOns in interface Person
Parameters:
turnOns - the person's turn ons

getTvShows

public List<String> getTvShows()
Description copied from interface: Person
Get the person's favorite TV shows. Container support for this field is OPTIONAL.

Specified by:
getTvShows in interface Person
Returns:
the person's favorite TV shows.

setTvShows

public void setTvShows(List<String> tvShows)
Description copied from interface: Person
Set the person's favorite TV shows. Container support for this field is OPTIONAL.

Specified by:
setTvShows in interface Person
Parameters:
tvShows - the person's favorite TV shows.

getUrls

public List<Url> getUrls()
Description copied from interface: Person
Get the URLs related to the person, their webpages, or feeds Container support for this field is OPTIONAL.

Specified by:
getUrls in interface Person
Returns:
the URLs related to the person, their webpages, or feeds

setUrls

public void setUrls(List<Url> urls)
Description copied from interface: Person
Set the URLs related to the person, their webpages, or feeds Container support for this field is OPTIONAL.

Specified by:
setUrls in interface Person
Parameters:
urls - the URLs related to the person, their webpages, or feeds

getIsOwner

public boolean getIsOwner()
Specified by:
getIsOwner in interface Person
Returns:
true if this person object represents the owner of the current page.

setIsOwner

public void setIsOwner(boolean isOwner)
Description copied from interface: Person
Set the owner flag.

Specified by:
setIsOwner in interface Person
Parameters:
isOwner - the isOwnerflag

getIsViewer

public boolean getIsViewer()
Description copied from interface: Person
Returns true if this person object represents the currently logged in user.

Specified by:
getIsViewer in interface Person
Returns:
true if the person accessing this object is a viewer.

setIsViewer

public void setIsViewer(boolean isViewer)
Description copied from interface: Person
Returns true if this person object represents the currently logged in user.

Specified by:
setIsViewer in interface Person
Parameters:
isViewer - the isViewer Flag

getProfileUrl

public String getProfileUrl()
Description copied from interface: Person
Get the person's profile URL. This URL must be fully qualified. Relative URLs will not work in gadgets. This field MUST be stored in the urls list with a type of "profile". Container support for this field is OPTIONAL.

Specified by:
getProfileUrl in interface Person
Returns:
the person's profile URL

setProfileUrl

public void setProfileUrl(String profileUrl)
Description copied from interface: Person
Set the person's profile URL. This URL must be fully qualified. Relative URLs will not work in gadgets. This field MUST be stored in the urls list with a type of "profile". Container support for this field is OPTIONAL.

Specified by:
setProfileUrl in interface Person
Parameters:
profileUrl - the person's profile URL

getThumbnailUrl

public String getThumbnailUrl()
Description copied from interface: Person
Get the person's photo thumbnail URL, specified as a string. This URL must be fully qualified. Relative URLs will not work in gadgets. This field MUST be stored in the photos list with a type of "thumbnail". Container support for this field is OPTIONAL.

Specified by:
getThumbnailUrl in interface Person
Returns:
the person's photo thumbnail URL

setThumbnailUrl

public void setThumbnailUrl(String thumbnailUrl)
Description copied from interface: Person
Set the person's photo thumbnail URL, specified as a string. This URL must be fully qualified. Relative URLs will not work in gadgets. This field MUST be stored in the photos list with a type of "thumbnail". Container support for this field is OPTIONAL.

Specified by:
setThumbnailUrl in interface Person
Parameters:
thumbnailUrl - the person's photo thumbnail URL

getExtensions

public Map<String,String> getExtensions()
Description copied from interface: Person
Get the person's extensions, specified as a Map. Container support for this field is OPTIONAL.

Specified by:
getExtensions in interface Person
Returns:
the extensions

setExtensions

public void setExtensions(Map<String,String> extensions)
Description copied from interface: Person
Set the person's extensions, specified as a Map. Container support for this field is OPTIONAL.

Specified by:
setExtensions in interface Person
Parameters:
extensions - the extensions to set

getVoot_membership_role

public String getVoot_membership_role()
Specified by:
getVoot_membership_role in interface Person
Returns:
the voot_membership_role

setVoot_membership_role

public void setVoot_membership_role(String voot_membership_role)
Specified by:
setVoot_membership_role in interface Person
Parameters:
voot_membership_role - the voot_membership_role to set


Copyright © 2007-2012. All Rights Reserved.