public class UniqueId extends Iced
Modifier and Type | Field and Description |
---|---|
static DocGen.FieldDoc[] |
DOC_FIELDS |
Constructor and Description |
---|
UniqueId(Key key) |
UniqueId(java.lang.String key,
long creation_epoch_time_millis,
java.lang.String id)
ONLY to be used to deserializing persisted instances.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
long |
getCreationEpochTimeMillis() |
java.lang.String |
getId() |
java.lang.String |
getKey() |
int |
hashCode() |
com.google.gson.JsonObject |
toJSON() |
clone, frozenType, init, newInstance, read, toDocField, write, writeJSON, writeJSONFields
public static DocGen.FieldDoc[] DOC_FIELDS
public UniqueId(Key key)
public UniqueId(java.lang.String key, long creation_epoch_time_millis, java.lang.String id)
public java.lang.String getKey()
public long getCreationEpochTimeMillis()
public java.lang.String getId()
public com.google.gson.JsonObject toJSON()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object