Class Person

  • All Implemented Interfaces:
    HasLocation, Extendable, Serializable, Cloneable

    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.
    See Also:
    Serialized Form
    • Constructor Detail

      • Person

        public Person()
    • Method Detail

      • getAvatar

        public Link getAvatar()
        Get the value of avatar
        Returns:
        the value of avatar
      • setAvatar

        public void setAvatar​(Link newavatar)
        Set the value of avatar
        Parameters:
        newavatar - new value of avatar