public class VolatileContactJabberImpl extends ContactJabberImpl
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
displayName
The display name of the contact.
|
Constructor and Description |
---|
VolatileContactJabberImpl(java.lang.String id,
ServerStoredContactListJabberImpl ssclCallback)
Creates an Volatile JabberContactImpl with the specified id
|
VolatileContactJabberImpl(java.lang.String id,
ServerStoredContactListJabberImpl ssclCallback,
boolean isPrivateMessagingContact)
Creates an Volatile JabberContactImpl with the specified id
|
VolatileContactJabberImpl(java.lang.String id,
ServerStoredContactListJabberImpl ssclCallback,
boolean isPrivateMessagingContact,
java.lang.String displayName)
Creates an Volatile JabberContactImpl with the specified id
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAddress()
Returns the Jabber Userid of this contact
|
java.lang.String |
getDisplayName()
Returns a String that could be used by any user interacting modules for
referring to this contact.
|
java.lang.String |
getPersistableAddress()
Returns the real address of the contact.
|
boolean |
isPersistent()
Determines whether or not this contact group is being stored by the
server.
|
boolean |
isPrivateMessagingContact()
Checks if the contact is private messaging contact or not.
|
java.lang.String |
toString()
Returns a string representation of this contact, containing most of its
representative details.
|
equals, fireContactResourceEvent, getImage, getImage, getParentContactGroup, getPersistentData, getPresenceStatus, getProtocolProvider, getResourceFromJid, getResources, getResourcesMap, getServerDisplayName, getSourceEntry, getStatusMessage, hashCode, isLocal, isMobile, isResolved, setImage, setJid, setLocal, setMobile, setPersistent, setPersistentData, setResolved, setServerDisplayName, setStatusMessage, supportResources, updatePresenceStatus
addResourceListener, removeResourceListener
protected java.lang.String displayName
VolatileContactJabberImpl(java.lang.String id, ServerStoredContactListJabberImpl ssclCallback)
id
- String the user id/addressssclCallback
- a reference to the ServerStoredContactListImpl
instance that created us.VolatileContactJabberImpl(java.lang.String id, ServerStoredContactListJabberImpl ssclCallback, boolean isPrivateMessagingContact)
id
- String the user id/addressssclCallback
- a reference to the ServerStoredContactListImpl
instance that created us.isPrivateMessagingContact
- if true this should be private
messaging contact.VolatileContactJabberImpl(java.lang.String id, ServerStoredContactListJabberImpl ssclCallback, boolean isPrivateMessagingContact, java.lang.String displayName)
id
- String the user id/addressssclCallback
- a reference to the ServerStoredContactListImpl
instance that created us.isPrivateMessagingContact
- if true this should be private
messaging contact.displayName
- the display name of the contactpublic java.lang.String getAddress()
getAddress
in interface Contact
getAddress
in class ContactJabberImpl
public java.lang.String getDisplayName()
getDisplayName
in interface Contact
getDisplayName
in class ContactJabberImpl
public java.lang.String toString()
toString
in class ContactJabberImpl
public boolean isPersistent()
isPersistent
in interface Contact
isPersistent
in class ContactJabberImpl
public boolean isPrivateMessagingContact()
public java.lang.String getPersistableAddress()
getPersistableAddress
in interface Contact
getPersistableAddress
in class AbstractContact
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.