anon.infoservice
Class DeletedMessageIDDBEntry
java.lang.Object
anon.infoservice.AbstractDatabaseEntry
anon.infoservice.DeletedMessageIDDBEntry
- All Implemented Interfaces:
- IXMLEncodable
public class DeletedMessageIDDBEntry
- extends AbstractDatabaseEntry
- implements IXMLEncodable
Stored all message db entries deleted by the user.
- Author:
- Rolf Wendolsky
Method Summary |
java.lang.String |
getId()
Returns a unique ID for a database entry. |
long |
getLastUpdate()
Returns the time in milliseconds when this db entry was created from the origin instance. |
long |
getVersionNumber()
Returns version number which is used to determine the more recent infoservice entry, if two
entries are compared (higher version number -> more recent entry). |
org.w3c.dom.Element |
toXmlElement(org.w3c.dom.Document a_doc)
Return an element that can be appended to the document. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XML_ELEMENT_NAME
public static final java.lang.String XML_ELEMENT_NAME
- See Also:
- Constant Field Values
XML_ELEMENT_CONTAINER_NAME
public static final java.lang.String XML_ELEMENT_CONTAINER_NAME
- See Also:
- Constant Field Values
m_serial
private long m_serial
m_id
private java.lang.String m_id
m_creationTimeStamp
private long m_creationTimeStamp
DeletedMessageIDDBEntry
public DeletedMessageIDDBEntry(MessageDBEntry a_messageEntry)
DeletedMessageIDDBEntry
public DeletedMessageIDDBEntry(org.w3c.dom.Element a_messageEntryElement)
throws XMLParseException
- Throws:
XMLParseException
getVersionNumber
public long getVersionNumber()
- Description copied from class:
AbstractDatabaseEntry
- Returns version number which is used to determine the more recent infoservice entry, if two
entries are compared (higher version number -> more recent entry).
- Specified by:
getVersionNumber
in class AbstractDatabaseEntry
- Returns:
- The version number for this entry.
getId
public java.lang.String getId()
- Description copied from class:
AbstractDatabaseEntry
- Returns a unique ID for a database entry.
- Specified by:
getId
in class AbstractDatabaseEntry
- Returns:
- The ID of this database entry.
getLastUpdate
public long getLastUpdate()
- Description copied from class:
AbstractDatabaseEntry
- Returns the time in milliseconds when this db entry was created from the origin instance.
- Specified by:
getLastUpdate
in class AbstractDatabaseEntry
- Returns:
- the time in milliseconds when this db entry was created from the origin instance
toXmlElement
public org.w3c.dom.Element toXmlElement(org.w3c.dom.Document a_doc)
- Description copied from interface:
IXMLEncodable
- Return an element that can be appended to the document. This
Method must not change the document in any way!
- Specified by:
toXmlElement
in interface IXMLEncodable
- Parameters:
a_doc
- a document
- Returns:
- the interface as xml element