Avatar Type

An object that represents a user's avatar. Avatars give a user the ability to specify an image that will be displayed alongside their username throughout the application.

Type Template

<...>
    <ID>xs:long</ID>
    <objectType>xs:int</objectType>
    <attachment>
        <!-- Contents of Attachment -->
    <attachment>
    <owner>
        <!-- Contents of User -->
    <owner>
    <properties>HashMap</properties>
<...>

Note: Element descriptions are split into information that's relevant when you're creating an instance of this type and information relevant when you're receiving an instance of it. Occasionally these will differ.

Elements

Element Description
attachment
Setting
Sets the attachment for this avatar
Getting
Returns the attachment for this avatar
ID
Setting
Set the unique id of this object.
Getting
objectType
Setting
Sets the object type of the jive object.
Getting
owner
Setting
Set the user who created this avatar, if the user is null then this is a global avatar
Getting
Returns user who created this avatar, if the user is null then this is a global avatar
properties
Setting
Sets a map of all the extended properties for the avatar. Each avatar can have an arbitrary number of extended properties. This allows for enhanced functionality that is not part of the base interface.

Getting
Retrieve a map of all the extended properties for the avatar. Each avatar can have an arbitrary number of extended properties. This allows for enhanced functionality that is not part of the base interface. The map is not alterable.