|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.fhg.igd.atlas.core.StorageDBImmutableEntry
Represents an immutable StorageDBEntry
.
This class is used as container for entries of a StorageDB
database, which should not be mutable.
StorageDBEntry
Field Summary | |
protected URL |
contactAddress_
The contact address of this entry. |
protected byte[] |
cookie_
The cookie of this entry. |
protected byte[] |
implicitName_
The implicit name of this entry. |
protected long |
timestamp_
The timestamp of this entry. |
Constructor Summary | |
StorageDBImmutableEntry(byte[] implicitName,
URL contactAddress,
byte[] cookie,
long timestamp)
Creates an instance of this class with the given implicitName , contaceAddress ,
cookie and timestamp . |
|
StorageDBImmutableEntry(StorageDBEntry entry)
Creates an instance of this class from the given entry . |
Method Summary | |
URL |
getContactAddress()
Returns the contact address. |
byte[] |
getCookie()
Returns the cookie. |
byte[] |
getImplicitName()
Returns the implicit name. |
long |
getTimestamp()
Returns the timestamp in milliseconds since January 1, 1970, 00:00:00 GMT. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected byte[] implicitName_
protected URL contactAddress_
protected byte[] cookie_
protected long timestamp_
Constructor Detail |
public StorageDBImmutableEntry(StorageDBEntry entry)
entry
.
entry
- The entry.public StorageDBImmutableEntry(byte[] implicitName, URL contactAddress, byte[] cookie, long timestamp)
implicitName
, contaceAddress
,
cookie
and timestamp
.
implicitName
- The implicit name.contactAddress
- The contact address.cookie
- The cookie.timestamp
- The timestamp.Method Detail |
public byte[] getImplicitName()
public URL getContactAddress()
public byte[] getCookie()
public long getTimestamp()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |