Class ItemVersion
java.lang.Object
com.gentics.contentnode.rest.model.ItemVersion
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
PageVersion
REST Model of an Item Version
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionEditor of the versionVersion numberint
Version timestampSet the editorSet the version numbersetTimestamp
(int timestamp) Set the version timestamptoString()
-
Constructor Details
-
ItemVersion
public ItemVersion()Default constructor
-
-
Method Details
-
getNumber
Version number- Returns:
- version number
-
getTimestamp
public int getTimestamp()Version timestamp- Returns:
- version timestamp
-
getEditor
Editor of the version- Returns:
- editor
-
setNumber
Set the version number- Parameters:
number
- version number- Returns:
- fluent API
-
setTimestamp
Set the version timestamp- Parameters:
timestamp
- version timestamp- Returns:
- fluent API
-
setEditor
Set the editor- Parameters:
editor
- editor- Returns:
- fluent API
-
toString
-