|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object anon.infoservice.AbstractDatabaseEntry infoservice.mailsystem.central.MailAddressDBEntry
public class MailAddressDBEntry
This class is the implementation of an entry in the list of the latest mailaddresses.
Field Summary | |
---|---|
private long |
m_creationTime
|
private javax.mail.Address |
m_mailAddress
Stores the mailaddress. |
private java.util.Vector |
m_requestTimes
Stores the times we have sent a reply to this mailaddress (as Long objects storing the corresponding System.currentTimeMillis() values). |
Fields inherited from class anon.infoservice.AbstractDatabaseEntry |
---|
XML_LAST_UPDATE |
Constructor Summary | |
---|---|
MailAddressDBEntry(javax.mail.Address a_mailAddress,
java.util.Vector a_requestTimes)
Creates a new mailaddress entry. |
Method Summary | |
---|---|
java.lang.String |
getId()
Returns the ID of this mailaddress entry. |
long |
getLastUpdate()
Returns the time in milliseconds when this db entry was created from the origin instance. |
java.util.Vector |
getRequestTimes()
Returns a list of timestamps (as Long objects storing the corresponding System.currentTimeMillis() values) when we have sent a reply to this mailaddress. |
long |
getVersionNumber()
Returns a version number which is used to determine the more recent entry, if two entries are compared (higher version number -> more recent entry). |
Methods inherited from class anon.infoservice.AbstractDatabaseEntry |
---|
getCreationTime, getExpireTime, isNewerThan, isUserDefined, resetCreationTime |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private javax.mail.Address m_mailAddress
private long m_creationTime
private java.util.Vector m_requestTimes
Constructor Detail |
---|
public MailAddressDBEntry(javax.mail.Address a_mailAddress, java.util.Vector a_requestTimes)
a_mailAddress
- The mailaddress to store.a_requestTimes
- Vector of times, a response was sent to this mailaddress.Method Detail |
---|
public java.lang.String getId()
getId
in class AbstractDatabaseEntry
public long getVersionNumber()
getVersionNumber
in class AbstractDatabaseEntry
public long getLastUpdate()
AbstractDatabaseEntry
getLastUpdate
in class AbstractDatabaseEntry
public java.util.Vector getRequestTimes()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |