Package io.gs2.datastore.model
Class DataObject
java.lang.Object
io.gs2.datastore.model.DataObject
- All Implemented Interfaces:
IModel,Serializable,Comparable<DataObject>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleanstatic DataObjectfromJson(com.fasterxml.jackson.databind.JsonNode data) getName()getScope()inthashCode()voidsetAllowUserIds(List<String> allowUserIds) voidsetCreatedAt(Long createdAt) voidsetDataObjectId(String dataObjectId) voidsetGeneration(String generation) voidvoidsetPreviousGeneration(String previousGeneration) voidsetRevision(Long revision) voidvoidvoidsetUpdatedAt(Long updatedAt) voidcom.fasterxml.jackson.databind.JsonNodetoJson()withAllowUserIds(List<String> allowUserIds) withCreatedAt(Long createdAt) withDataObjectId(String dataObjectId) withGeneration(String generation) withPreviousGeneration(String previousGeneration) withRevision(Long revision) withStatus(String status) withUpdatedAt(Long updatedAt) withUserId(String userId)
-
Constructor Details
-
DataObject
public DataObject()
-
-
Method Details
-
getDataObjectId
-
setDataObjectId
-
withDataObjectId
-
getName
-
setName
-
withName
-
getUserId
-
setUserId
-
withUserId
-
getScope
-
setScope
-
withScope
-
getAllowUserIds
-
setAllowUserIds
-
withAllowUserIds
-
getStatus
-
setStatus
-
withStatus
-
getGeneration
-
setGeneration
-
withGeneration
-
getPreviousGeneration
-
setPreviousGeneration
-
withPreviousGeneration
-
getCreatedAt
-
setCreatedAt
-
withCreatedAt
-
getUpdatedAt
-
setUpdatedAt
-
withUpdatedAt
-
getRevision
-
setRevision
-
withRevision
-
fromJson
-
toJson
public com.fasterxml.jackson.databind.JsonNode toJson() -
compareTo
- Specified by:
compareToin interfaceComparable<DataObject>
-
hashCode
public int hashCode() -
equals
-