com.valhalla.jbother.jabber
Class MUCBuddyStatus

java.lang.Object
  extended by java.util.Dictionary<K,V>
      extended by java.util.Hashtable
          extended by com.valhalla.jbother.jabber.BuddyStatus
              extended by com.valhalla.jbother.jabber.MUCBuddyStatus
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.Map

public class MUCBuddyStatus
extends BuddyStatus

Tracks a users different presences and resources in a mu-conference room

Version:
1.0
Author:
Adam Olsen
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.valhalla.jbother.jabber.BuddyStatus
askForDelivered, askForDisplayed, askForOffline, composingId, conversation, encrypting, entry, hasSignedOn, name, notDisplayedMessages, presences, pubKeyId, removed, resources, sources, statusMessages, tempGroup, userId, versionInfo
 
Constructor Summary
MUCBuddyStatus(java.lang.String userId)
          Default constructor
 
Method Summary
 java.lang.String getAffiliation()
           
 boolean getIsInRoom()
           
 java.lang.String getJid()
           
 org.jivesoftware.smackx.muc.MultiUserChat getMUC()
           
 org.jivesoftware.smackx.packet.MUCUser getMUCUser()
           
 java.lang.String getRole()
           
 void setAffiliation(java.lang.String aff)
          Sets the affiliation of this user
 void setIsInRoom(boolean is)
           
 void setMUC(org.jivesoftware.smackx.muc.MultiUserChat muc)
           
 void setMUCUser(org.jivesoftware.smackx.packet.MUCUser u)
           
 void setRole(java.lang.String role)
          Sets the role of this user
 
Methods inherited from class com.valhalla.jbother.jabber.BuddyStatus
addNotDisplayedID, addResource, getAddress, getComposingID, getConversation, getGroup, getHasSignedOn, getHighestResource, getName, getPresence, getPubKey, getRemoved, getRosterEntry, getStatusMessage, getTempGroup, getUser, getVersionInfo, isAskForDelivered, isAskForDelivered, isAskForDisplayed, isAskForDisplayed, isAskForOffline, isAskForOffline, isEncrypting, isEncrypting, newPubKey, removeResource, resetBuddy, sendNotDisplayedID, setComposingID, setConversation, setHasSignedOn, setName, setPubKey, setRemoved, setTempGroup, setUser, setVersionInfo
 
Methods inherited from class java.util.Hashtable
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MUCBuddyStatus

public MUCBuddyStatus(java.lang.String userId)
Default constructor

Parameters:
userId - the JID of the user this object represents
Method Detail

setMUC

public void setMUC(org.jivesoftware.smackx.muc.MultiUserChat muc)

getMUC

public org.jivesoftware.smackx.muc.MultiUserChat getMUC()

setIsInRoom

public void setIsInRoom(boolean is)

getIsInRoom

public boolean getIsInRoom()

setAffiliation

public void setAffiliation(java.lang.String aff)
Sets the affiliation of this user

Parameters:
affiliation - the affiliation of this user

getAffiliation

public java.lang.String getAffiliation()
Returns:
the users affiliation

setRole

public void setRole(java.lang.String role)
Sets the role of this user

Parameters:
role - the role of this user

getRole

public java.lang.String getRole()
Returns:
the role of this user

setMUCUser

public void setMUCUser(org.jivesoftware.smackx.packet.MUCUser u)

getMUCUser

public org.jivesoftware.smackx.packet.MUCUser getMUCUser()

getJid

public java.lang.String getJid()