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(Element roster_el) RosterElement(JID jid, String name, String[] groups) -
Method Summary
Modifier and TypeMethodDescriptionvoiddoubleString[]getJid()longgetName()doublebooleanbooleanisOnline()booleanbooleanvoidsetActivity(double activity) final voidvoidsetLastSeen(long lastSeen) voidsetMixParticipantId(String value) final voidvoidvoidsetOtherData(String other_data) voidsetPersistent(boolean persistent) voidsetPresence_sent(boolean presence_sent) voidsetSubscription(RosterAbstract.SubscriptionType subscription) voidsetWeight(double weight) toString()
-
Field Details
-
INITIAL_LAST_SEEN_VAL
protected static final long INITIAL_LAST_SEEN_VAL- See Also:
-
-
Constructor Details
-
RosterElement
- Throws:
TigaseStringprepException
-
RosterElement
-
-
Method Details
-
addGroups
-
getGroups
-
setGroups
-
getJid
-
getName
-
setName
-
getOtherData
-
setOtherData
-
getMixParticipantId
-
setMixParticipantId
-
getRosterElement
-
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)
-