public class Person extends ActivityObject
The "person" Object type represents a user account. This is often represents a person, but might also be a company or fictitious character that is being represented by a user account.
The "person" Object type is identified by the URI http://activitystrea.ms/schema/1.0/person.
A person has the following additional components:
- Display Name
- A name that can be used for the person in the user interface. This is often a name by which the individual is known in a given context; no restriction is placed on what kind of name may be used here. Represented by the Name component of the base Object Construct.
- Avatar
- A link to an "avatar" or "userpic" image for the user. Represented by the Representative Image component of the base Object Construct.
Constructor and Description |
---|
Person() |
Modifier and Type | Method and Description |
---|---|
Link |
getAvatar()
Get the value of avatar
|
String |
getTypeIRI() |
void |
setAvatar(Link newavatar)
Set the value of avatar
|
getAddress, getLocation, setAddress, setLocation
clone, equals, findRelatedLink, getAlternateLinks, getAuthors, getCategories, getContents, getContributors, getCreated, getForeignMarkup, getId, getIssued, getModified, getModule, getModules, getOtherLinks, getPublished, getRights, getSource, getSummary, getTitle, getTitleEx, getUpdated, getXmlBase, hashCode, isMediaEntry, setAlternateLinks, setAuthors, setCategories, setContents, setContributors, setCreated, setForeignMarkup, setId, setIssued, setModified, setModules, setOtherLinks, setPublished, setRights, setSource, setSummary, setTitle, setTitleEx, setUpdated, setXmlBase, toString
public String getTypeIRI()
getTypeIRI
in class ActivityObject
public Link getAvatar()
public void setAvatar(Link newavatar)
newavatar
- new value of avatarCopyright © 2024. All rights reserved.