public static final class Annotation.Note extends Object
| Constructor and Description |
|---|
Note(String note,
Jid jid)
Creates a roster note.
|
Note(String note,
Jid jid,
OffsetDateTime creationDate,
OffsetDateTime modificationDate)
Creates a roster note.
|
| Modifier and Type | Method and Description |
|---|---|
OffsetDateTime |
getCreationDate()
Gets the creation date.
|
Jid |
getJid()
Gets the JID of the contact (roster item).
|
OffsetDateTime |
getModificationDate()
Gets the modification date.
|
String |
getValue()
Gets the value of the note.
|
String |
toString() |
public Note(String note, Jid jid)
note - The note.jid - The 'jid' attribute of the <note/> element SHOULD be used without a resource.public Note(String note, Jid jid, OffsetDateTime creationDate, OffsetDateTime modificationDate)
note - The note.jid - The JID of the contact.creationDate - The creation date (optional).modificationDate - The modification date (optional).public final String getValue()
public final OffsetDateTime getModificationDate()
public final OffsetDateTime getCreationDate()
public final Jid getJid()
Copyright © 2014–2016 XMPP.rocks. All rights reserved.