public class StorageObjectId
extends java.lang.Object
Constructor and Description |
---|
StorageObjectId(java.lang.String collection)
Creates a new
StorageObjectId instance. |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getCollection()
The collection which stores the object.
|
java.lang.String |
getKey()
The key of the object within the collection.
|
java.lang.String |
getUserId()
The user owner of the object.
|
java.lang.String |
getVersion()
The version hash of the object.
|
int |
hashCode() |
void |
setKey(java.lang.String key)
The key of the object within the collection.
|
void |
setUserId(java.lang.String userId)
The user owner of the object.
|
void |
setVersion(java.lang.String version)
The version hash of the object.
|
java.lang.String |
toString() |
public StorageObjectId(java.lang.String collection)
StorageObjectId
instance.collection
- The collection which stores the object.public java.lang.String getCollection()
public java.lang.String getKey()
public java.lang.String getVersion()
public java.lang.String getUserId()
public void setKey(java.lang.String key)
public void setVersion(java.lang.String version)
public void setUserId(java.lang.String userId)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
protected boolean canEqual(java.lang.Object other)
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object