Package io.gs2.datastore.model
Class DataObjectHistory
java.lang.Object
io.gs2.datastore.model.DataObjectHistory
- All Implemented Interfaces:
IModel,Serializable,Comparable<DataObjectHistory>
public class DataObjectHistory
extends Object
implements IModel, Serializable, Comparable<DataObjectHistory>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleanstatic DataObjectHistoryfromJson(com.fasterxml.jackson.databind.JsonNode data) inthashCode()voidsetContentLength(Long contentLength) voidsetCreatedAt(Long createdAt) voidsetDataObjectHistoryId(String dataObjectHistoryId) voidsetDataObjectName(String dataObjectName) voidsetGeneration(String generation) voidsetRevision(Long revision) com.fasterxml.jackson.databind.JsonNodetoJson()withContentLength(Long contentLength) withCreatedAt(Long createdAt) withDataObjectHistoryId(String dataObjectHistoryId) withDataObjectName(String dataObjectName) withGeneration(String generation) withRevision(Long revision)
-
Constructor Details
-
DataObjectHistory
public DataObjectHistory()
-
-
Method Details
-
getDataObjectHistoryId
-
setDataObjectHistoryId
-
withDataObjectHistoryId
-
getDataObjectName
-
setDataObjectName
-
withDataObjectName
-
getGeneration
-
setGeneration
-
withGeneration
-
getContentLength
-
setContentLength
-
withContentLength
-
getCreatedAt
-
setCreatedAt
-
withCreatedAt
-
getRevision
-
setRevision
-
withRevision
-
fromJson
-
toJson
public com.fasterxml.jackson.databind.JsonNode toJson() -
compareTo
- Specified by:
compareToin interfaceComparable<DataObjectHistory>
-
hashCode
public int hashCode() -
equals
-