.. java:import:: java.util List .. java:import:: org.caosdb.datetime UTCDateTime Version ======= .. java:package:: org.caosdb.server.entity :noindex: .. java:type:: public class Version Plain old java object (POJO) for an entity's version. :author: Timm Fitschen Constructors ------------ Version ^^^^^^^ .. java:constructor:: public Version(String id, long seconds, int nanos) :outertype: Version Version ^^^^^^^ .. java:constructor:: public Version(String id, UTCDateTime date, String username, String realm) :outertype: Version Version ^^^^^^^ .. java:constructor:: public Version(String id) :outertype: Version Version ^^^^^^^ .. java:constructor:: public Version() :outertype: Version Version ^^^^^^^ .. java:constructor:: public Version(String id, UTCDateTime timestamp) :outertype: Version Methods ------- getDate ^^^^^^^ .. java:method:: public UTCDateTime getDate() :outertype: Version getId ^^^^^ .. java:method:: public String getId() :outertype: Version getPredecessors ^^^^^^^^^^^^^^^ .. java:method:: public List getPredecessors() :outertype: Version getRealm ^^^^^^^^ .. java:method:: public String getRealm() :outertype: Version getSuccessors ^^^^^^^^^^^^^ .. java:method:: public List getSuccessors() :outertype: Version getUsername ^^^^^^^^^^^ .. java:method:: public String getUsername() :outertype: Version isCompleteHistory ^^^^^^^^^^^^^^^^^ .. java:method:: public boolean isCompleteHistory() :outertype: Version isHead ^^^^^^ .. java:method:: public boolean isHead() :outertype: Version setCompleteHistory ^^^^^^^^^^^^^^^^^^ .. java:method:: public void setCompleteHistory(boolean isCompleteHistory) :outertype: Version setDate ^^^^^^^ .. java:method:: public void setDate(UTCDateTime date) :outertype: Version setDate ^^^^^^^ .. java:method:: public void setDate(Long timestamp) :outertype: Version setHead ^^^^^^^ .. java:method:: public void setHead(boolean isHead) :outertype: Version setId ^^^^^ .. java:method:: public void setId(String id) :outertype: Version setPredecessors ^^^^^^^^^^^^^^^ .. java:method:: public void setPredecessors(List predecessors) :outertype: Version setRealm ^^^^^^^^ .. java:method:: public void setRealm(String realm) :outertype: Version setSuccessors ^^^^^^^^^^^^^ .. java:method:: public void setSuccessors(List successors) :outertype: Version setUsername ^^^^^^^^^^^ .. java:method:: public void setUsername(String username) :outertype: Version