Package tigase.xmpp.impl.roster
Class RosterElement
java.lang.Object
tigase.xmpp.impl.roster.RosterElement
Describe class RosterElement here.
Created: Wed Oct 29 14:21:16 2008
Created: Wed Oct 29 14:21:16 2008
- Author:
- Artur Hefczyc
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRosterElement
(tigase.xml.Element roster_el) RosterElement
(tigase.xmpp.jid.JID jid, String name, String[] groups) -
Method Summary
Modifier and TypeMethodDescriptionvoid
double
String[]
tigase.xmpp.jid.JID
getJid()
long
getName()
tigase.xml.Element
tigase.xml.Element
double
boolean
boolean
isOnline()
boolean
boolean
void
setActivity
(double activity) final void
void
setLastSeen
(long lastSeen) void
setMixParticipantId
(String value) final void
void
void
setOtherData
(String other_data) void
setPersistent
(boolean persistent) void
setPresence_sent
(boolean presence_sent) void
setSubscription
(RosterAbstract.SubscriptionType subscription) void
setWeight
(double weight) toString()
-
Field Details
-
INITIAL_LAST_SEEN_VAL
protected static final long INITIAL_LAST_SEEN_VAL- See Also:
-
-
Constructor Details
-
RosterElement
public RosterElement(tigase.xml.Element roster_el) throws tigase.util.stringprep.TigaseStringprepException - Throws:
tigase.util.stringprep.TigaseStringprepException
-
RosterElement
-
-
Method Details
-
addGroups
-
getGroups
-
setGroups
-
getJid
public tigase.xmpp.jid.JID getJid() -
getName
-
setName
-
getOtherData
-
setOtherData
-
getMixParticipantId
-
setMixParticipantId
-
getRosterElement
public tigase.xml.Element getRosterElement() -
getRosterItem
public tigase.xml.Element getRosterItem() -
toString
-
getSubscription
-
setSubscription
-
isModified
public boolean isModified() -
isOnline
public boolean isOnline() -
isPresence_sent
public boolean isPresence_sent() -
setPresence_sent
public void setPresence_sent(boolean presence_sent) -
setOnline
-
isPersistent
public boolean isPersistent() -
setPersistent
public void setPersistent(boolean persistent) -
getActivity
public double getActivity() -
setActivity
public void setActivity(double activity) -
getWeight
public double getWeight() -
setWeight
public void setWeight(double weight) -
getLastSeen
public long getLastSeen() -
setLastSeen
public void setLastSeen(long lastSeen)
-