public class RosterElement extends Object
Modifier and Type | Field and Description |
---|---|
protected static long |
INITIAL_LAST_SEEN_VAL |
Constructor and Description |
---|
RosterElement(Element roster_el) |
RosterElement(JID jid,
String name,
String[] groups) |
Modifier and Type | Method and Description |
---|---|
void |
addGroups(String[] groups) |
double |
getActivity() |
String[] |
getGroups() |
JID |
getJid() |
long |
getLastSeen() |
String |
getName() |
String |
getOtherData() |
Element |
getRosterElement() |
Element |
getRosterItem() |
RosterAbstract.SubscriptionType |
getSubscription() |
double |
getWeight() |
boolean |
isModified() |
boolean |
isOnline() |
boolean |
isPersistent() |
boolean |
isPresence_sent() |
void |
setActivity(double activity) |
void |
setGroups(String[] groups) |
void |
setLastSeen(long lastSeen) |
void |
setName(String name) |
void |
setOnline(String resource,
boolean online) |
void |
setOtherData(String other_data) |
void |
setPersistent(boolean persistent) |
void |
setPresence_sent(boolean presence_sent) |
void |
setSubscription(RosterAbstract.SubscriptionType subscription) |
void |
setWeight(double weight) |
String |
toString() |
protected static final long INITIAL_LAST_SEEN_VAL
public RosterElement(Element roster_el) throws TigaseStringprepException
TigaseStringprepException
public void addGroups(String[] groups)
public String[] getGroups()
public final void setGroups(String[] groups)
public JID getJid()
public String getName()
public final void setName(String name)
public String getOtherData()
public void setOtherData(String other_data)
public Element getRosterElement()
public Element getRosterItem()
public RosterAbstract.SubscriptionType getSubscription()
public void setSubscription(RosterAbstract.SubscriptionType subscription)
public boolean isModified()
public boolean isOnline()
public boolean isPresence_sent()
public void setPresence_sent(boolean presence_sent)
public void setOnline(String resource, boolean online)
public boolean isPersistent()
public void setPersistent(boolean persistent)
public double getActivity()
public void setActivity(double activity)
public double getWeight()
public void setWeight(double weight)
public long getLastSeen()
public void setLastSeen(long lastSeen)
Copyright © 2004–2019 "Tigase, Inc.". All rights reserved.