|
Smack | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jivesoftware.smack.RosterEntry
public class RosterEntry
Each user in your roster is represented by a roster entry, which contains the user's JID and a name or nickname you assign.
Method Summary | |
---|---|
boolean |
equals(Object object)
|
Collection<RosterGroup> |
getGroups()
Returns an unmodifiable collection of the roster groups that this entry belongs to. |
String |
getName()
Returns the name associated with this entry. |
RosterPacket.ItemStatus |
getStatus()
Returns the roster subscription status of the entry. |
RosterPacket.ItemType |
getType()
Returns the roster subscription type of the entry. |
String |
getUser()
Returns the JID of the user associated with this entry. |
void |
setName(String name)
Sets the name associated with this entry. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public String getUser()
public String getName()
public void setName(String name)
name
- the name.public Collection<RosterGroup> getGroups()
public RosterPacket.ItemType getType()
getStatus()
to see if a subscription request
is pending.
public RosterPacket.ItemStatus getStatus()
public String toString()
toString
in class Object
public boolean equals(Object object)
equals
in class Object
|
Smack | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |