public abstract class EditableContactDetail extends ContactDetail
ContactDetail
ContactDetail.Category, ContactDetail.SubCategory
contactDetailValue
Constructor and Description |
---|
EditableContactDetail(java.lang.String contactDetailValue)
Creates a ContactDetail by specifying the contact address,
corresponding to this detail.
|
EditableContactDetail(java.lang.String contactDetailValue,
ContactDetail.Category category,
ContactDetail.SubCategory[] subCategories)
Initializes a new ContactDetail instance which is to represent a
specific contact address and which is to be optionally labeled with a
specific set of labels.
|
Modifier and Type | Method and Description |
---|---|
EditableSourceContact |
getSourceContact()
Returns the source contact that contains this contact detail.
|
void |
setDetail(java.lang.String value)
Sets the given detail value.
|
void |
setSourceContact(EditableSourceContact sourceContact)
Sets the source contact that contains this contact detail.
|
addSupportedOpSet, containsSubCategory, getCategory, getDetail, getDisplayName, getPreferredProtocol, getPreferredProtocolProvider, getSubCategories, getSupportedOperationSets, setPreferredProtocols, setPreferredProviders, setSupportedOpSets
public EditableContactDetail(java.lang.String contactDetailValue)
contactDetailValue
- the contact detail value corresponding to this
detailpublic EditableContactDetail(java.lang.String contactDetailValue, ContactDetail.Category category, ContactDetail.SubCategory[] subCategories)
contactDetailValue
- the contact detail value to be represented by
the new ContactDetail instancecategory
- subCategories
- the set of sub categories with which the new
ContactDetail instance is to be labeled.public EditableSourceContact getSourceContact()
public void setDetail(java.lang.String value)
value
- the new value of the detailpublic void setSourceContact(EditableSourceContact sourceContact)
sourceContact
- The source contact that contains this contact
detail.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.