|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecttigase.xmpp.impl.roster.RosterElement
public class RosterElement
Describe class RosterElement here. Created: Wed Oct 29 14:21:16 2008
| Field Summary | |
|---|---|
protected static long |
INITIAL_LAST_SEEN_VAL
|
| Constructor Summary | |
|---|---|
RosterElement(tigase.xml.Element roster_el,
XMPPResourceConnection session)
Creates a new RosterElement instance. |
|
RosterElement(tigase.xmpp.JID jid,
String name,
String[] groups,
XMPPResourceConnection session)
Constructs ... |
|
| Method Summary | |
|---|---|
void |
addGroups(String[] groups)
Method description |
double |
getActivity()
|
String[] |
getGroups()
Method description |
tigase.xmpp.JID |
getJid()
Method description |
long |
getLastSeen()
|
String |
getName()
Method description |
String |
getOtherData()
Method description |
tigase.xml.Element |
getRosterElement()
Method description |
tigase.xml.Element |
getRosterItem()
Method description |
RosterAbstract.SubscriptionType |
getSubscription()
Method description |
double |
getWeight()
|
boolean |
isModified()
Method description |
boolean |
isOnline()
Method description |
boolean |
isPersistent()
|
boolean |
isPresence_sent()
Method description |
void |
setActivity(double activity)
|
void |
setGroups(String[] groups)
Method description |
void |
setLastSeen(long lastSeen)
|
void |
setName(String name)
Method description |
void |
setOnline(String resource,
boolean online)
Method description |
void |
setOtherData(String other_data)
Method description |
void |
setPersistent(boolean persistent)
|
void |
setPresence_sent(boolean presence_sent)
Method description |
void |
setSubscription(RosterAbstract.SubscriptionType subscription)
Method description |
void |
setWeight(double weight)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected static final long INITIAL_LAST_SEEN_VAL
| Constructor Detail |
|---|
public RosterElement(tigase.xml.Element roster_el,
XMPPResourceConnection session)
throws tigase.util.TigaseStringprepException
RosterElement instance.
roster_el - session -
tigase.util.TigaseStringprepException
public RosterElement(tigase.xmpp.JID jid,
String name,
String[] groups,
XMPPResourceConnection session)
jid - name - groups - session - | Method Detail |
|---|
public void addGroups(String[] groups)
groups - public String[] getGroups()
public tigase.xmpp.JID getJid()
public String getName()
public String getOtherData()
public tigase.xml.Element getRosterElement()
public tigase.xml.Element getRosterItem()
public String toString()
toString in class Objectpublic RosterAbstract.SubscriptionType getSubscription()
public boolean isModified()
public boolean isOnline()
public boolean isPresence_sent()
public void setGroups(String[] groups)
groups - public void setName(String name)
name -
public void setOnline(String resource,
boolean online)
online - public void setOtherData(String other_data)
other_data - public void setPresence_sent(boolean presence_sent)
presence_sent - public void setSubscription(RosterAbstract.SubscriptionType subscription)
subscription - public boolean isPersistent()
public void setPersistent(boolean persistent)
public double getActivity()
public void setActivity(double activity)
activity - the activity to setpublic double getWeight()
public void setWeight(double weight)
weight - the weight to setpublic long getLastSeen()
public void setLastSeen(long lastSeen)
lastSeen - the lastSeen to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||