public class RosterEntry extends Object
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object) |
boolean |
equalsDeep(Object obj)
Indicates whether some other object is "equal to" this by comparing all
members.
|
org.xmpp.packet.Roster.Ask |
getAsk()
Returns the roster subscription status of the entry.
|
List<String> |
getGroupNames() |
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.
|
org.xmpp.packet.Roster.Subscription |
getSubscription()
Returns the roster subscription type of the entry.
|
String |
getUser()
Returns the JID of the user associated with this entry.
|
int |
hashCode() |
void |
setName(String name)
Sets the name associated with this entry.
|
String |
toString() |
public String getUser()
public String getName()
public void setName(String name)
name - the name.public Collection<RosterGroup> getGroups()
public org.xmpp.packet.Roster.Subscription getSubscription()
getStatus() to see if a subscription request is
pending.public org.xmpp.packet.Roster.Ask getAsk()
public boolean equalsDeep(Object obj)
The equals(Object) method returns true if the user
JIDs are equal.
obj - the reference object with which to compare.true if this object is the same as the obj argument;
false otherwise.Copyright © 2014. All Rights Reserved.