|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.gadgets.opensocial.model.Person
@Immutable public final class Person
Immutable container class encapsulating social data for a person. Person objects have a unique identifier, which is used for equality and hashing.
| Nested Class Summary | |
|---|---|
static class |
Person.Builder
A builder that facilitates construction of Person objects. |
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
getAboutMe()
An "about me" blurb |
List<Address> |
getAddresses()
A list of the person's addresses |
Address |
getCurrentLocation()
|
Date |
getDateOfBirth()
|
List<EmailAddress> |
getEmailAddresses()
|
Name |
getName()
The full name for this person |
PersonId |
getPersonId()
A (unique) username/id for this person |
List<PhoneNumber> |
getPhoneNumbers()
|
URI |
getProfileUrl()
|
String |
getStatus()
|
URI |
getThumbnailUrl()
|
int |
getTimeZone()
|
List<URI> |
getUrls()
|
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public PersonId getPersonId()
public Name getName()
Name representing the person's full namepublic String getAboutMe()
Person's profilepublic List<Address> getAddresses()
public Address getCurrentLocation()
Addresspublic Date getDateOfBirth()
public List<EmailAddress> getEmailAddresses()
public List<PhoneNumber> getPhoneNumbers()
public URI getProfileUrl()
public String getStatus()
public URI getThumbnailUrl()
public int getTimeZone()
public List<URI> getUrls()
public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||