Class IdentityInfo

  • Direct Known Subclasses:
    GroupInfo, UserInfo

    public abstract class IdentityInfo
    extends Object
    Identity abstraction for conversations in eXo web conferencing.
    Created by The eXo Platform SAS
    Version:
    $Id: IdentityInfo.java 00000 Mar 3, 2017 pnedonosko $
    Author:
    Peter Nedonosko
    • Field Detail

      • EMPTY

        public static final String EMPTY
        The Constant EMPTY.
      • title

        protected final String title
        The title.
      • id

        protected final String id
        The id.
      • avatarLink

        protected String avatarLink
        The avatar link.
      • profileLink

        protected String profileLink
        The profile link.
    • Constructor Detail

      • IdentityInfo

        public IdentityInfo​(String id,
                            String title)
        Instantiates a new identity info.
        Parameters:
        id - the id
        title - the title
    • Method Detail

      • getId

        public String getId()
        Gets the id.
        Returns:
        the id
      • getTitle

        public String getTitle()
        Gets the title.
        Returns:
        the title
      • getAvatarLink

        public String getAvatarLink()
        Gets the avatar link.
        Returns:
        the avatar link
      • getProfileLink

        public String getProfileLink()
        Gets the profile link.
        Returns:
        the profile link
      • setAvatarLink

        public void setAvatarLink​(String avatarLink)
        Sets the avatar link.
        Parameters:
        avatarLink - the new avatar link
      • setProfileLink

        public void setProfileLink​(String profileLink)
        Sets the profile link.
        Parameters:
        profileLink - the new profile link
      • isGroup

        public abstract boolean isGroup()
        Checks if it is a group.
        Returns:
        true, if is a group
      • getType

        public abstract String getType()
        Gets the identity type.
        Returns:
        the type
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object