Class ItemVersion

java.lang.Object
com.gentics.contentnode.rest.model.ItemVersion
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
PageVersion

public class ItemVersion extends Object implements Serializable
REST Model of an Item Version
See Also:
  • Constructor Details

    • ItemVersion

      public ItemVersion()
      Default constructor
  • Method Details

    • getNumber

      public String getNumber()
      Version number
      Returns:
      version number
    • getTimestamp

      public int getTimestamp()
      Version timestamp
      Returns:
      version timestamp
    • getEditor

      public User getEditor()
      Editor of the version
      Returns:
      editor
    • setNumber

      public ItemVersion setNumber(String number)
      Set the version number
      Parameters:
      number - version number
      Returns:
      fluent API
    • setTimestamp

      public ItemVersion setTimestamp(int timestamp)
      Set the version timestamp
      Parameters:
      timestamp - version timestamp
      Returns:
      fluent API
    • setEditor

      public ItemVersion setEditor(User editor)
      Set the editor
      Parameters:
      editor - editor
      Returns:
      fluent API
    • toString

      public String toString()
      Overrides:
      toString in class Object