org.exoplatform.services.xmpp.history.impl.jcr
Class Participant

java.lang.Object
  extended by org.exoplatform.services.xmpp.history.impl.jcr.Participant

public class Participant
extends java.lang.Object

Created by The eXo Platform SAS.

Version:
$Id: $
Author:
Vitaly Parfonov

Constructor Summary
Participant()
           
Participant(java.lang.String jid, java.util.List<InterlocutorImpl> interlocutorList, java.util.List<InterlocutorImpl> groupChatList)
           
 
Method Summary
 void addGroupChat(InterlocutorImpl interlocutor)
           
 void addInterlocutor(InterlocutorImpl interlocutor)
           
 InterlocutorImpl getGroupChat(java.lang.String name)
           
 java.util.List<InterlocutorImpl> getGroupChatList()
           
 java.lang.String getHexName()
           
 InterlocutorImpl getInterlocutor(java.lang.String name)
           
 java.util.List<InterlocutorImpl> getInterlocutorList()
           
 java.lang.String getJid()
           
 java.lang.String getPath()
           
 java.lang.String getUsername()
           
 void setGroupChatList(java.util.List<InterlocutorImpl> groupChatList)
           
 void setHexName(java.lang.String hexName)
           
 void setInterlocutorList(java.util.List<InterlocutorImpl> interlocutorList)
           
 void setJid(java.lang.String jid)
           
 void setPath(java.lang.String path)
           
 void setUsername(java.lang.String username)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Participant

public Participant()

Participant

public Participant(java.lang.String jid,
                   java.util.List<InterlocutorImpl> interlocutorList,
                   java.util.List<InterlocutorImpl> groupChatList)
Parameters:
jid - the jid
interlocutorList - the interlocutors
groupChatList - the group chats
Method Detail

addInterlocutor

public void addInterlocutor(InterlocutorImpl interlocutor)
Parameters:
interlocutor - the interlocutor

addGroupChat

public void addGroupChat(InterlocutorImpl interlocutor)
Parameters:
interlocutor - the interclocutor

getHexName

public java.lang.String getHexName()
Returns:
the hexJid

getInterlocutor

public InterlocutorImpl getInterlocutor(java.lang.String name)
Parameters:
name - the jid
Returns:
the interlocutor

getGroupChat

public InterlocutorImpl getGroupChat(java.lang.String name)
Parameters:
name - the group chat jid
Returns:
interlocutor

getInterlocutorList

public java.util.List<InterlocutorImpl> getInterlocutorList()
Returns:
the interlocutorList

getJid

public java.lang.String getJid()
Returns:
the jid

getPath

public java.lang.String getPath()
Returns:
the path

getUsername

public java.lang.String getUsername()
Returns:
the username

getGroupChatList

public java.util.List<InterlocutorImpl> getGroupChatList()
Returns:
the group chats

setHexName

public void setHexName(java.lang.String hexName)
Parameters:
hexJid - the hexJid to set

setInterlocutorList

public void setInterlocutorList(java.util.List<InterlocutorImpl> interlocutorList)
Parameters:
interlocutorList - the interlocutorList to set

setJid

public void setJid(java.lang.String jid)
Parameters:
jid - the jid to set

setPath

public void setPath(java.lang.String path)
Parameters:
path - the path to set

setUsername

public void setUsername(java.lang.String username)
Parameters:
username - the username to set

setGroupChatList

public void setGroupChatList(java.util.List<InterlocutorImpl> groupChatList)
Parameters:
groupChatList - the group chats to set


Copyright © 2012 eXo Platform SAS. All Rights Reserved.