Class Person
java.lang.Object
com.atlassian.gadgets.opensocial.model.Person
Immutable container class encapsulating social data for a person. Person objects have a unique identifier,
which is used for equality and hashing.
- Since:
- 2.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA builder that facilitates construction ofPersonobjects. -
Method Summary
-
Method Details
-
getPersonId
A (unique) username/id for this person- Returns:
- the unique username/id for this person
-
getName
The full name for this person- Returns:
- a
Namerepresenting the person's full name
-
getAboutMe
An "about me" blurb- Returns:
- text displayed fro the "about me" section of the
Person's profile
-
getAddresses
A list of the person's addresses- Returns:
- the person's addresses
-
getCurrentLocation
- Returns:
- the person's current location, as an
Address
-
getDateOfBirth
- Returns:
- the person's date of birth
-
getEmailAddresses
- Returns:
- email addresses associated with the person
-
getPhoneNumbers
- Returns:
- a list of phone numbers associated with the person
-
getProfileUrl
- Returns:
- a url for the person's profile
-
getStatus
- Returns:
- the person's status text
-
getThumbnailUrl
- Returns:
- a url for the person's thumbnail
-
getTimeZone
public int getTimeZone()- Returns:
- the timezone offset, specified as the number of minutes from GMT
-
getUrls
- Returns:
- a list of the person's interesting urls
-
equals
-
hashCode
public int hashCode() -
toString
-