public static class VersioningDatasource.Version
extends java.lang.Object
implements java.lang.Comparable
Constructor and Description |
---|
VersioningDatasource.Version() |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(java.lang.Object o) |
boolean |
equals(java.lang.Object obj) |
java.util.Date |
getDate() |
int |
getDiffCount()
get number of dataset rows, which differ to the last version.
|
int |
getTimestamp()
get the timestamp, this version was stored with.
|
java.lang.String |
getUser()
get the userid, this version was stored with.
|
int |
hashCode() |
boolean |
isAutoupdate() |
void |
setAutoupdate(boolean autoupdate) |
void |
setDiffCount(int diffCount)
sets the diffcount.
|
void |
setTimestamp(int timestamp)
sets the timstamp.
|
void |
setUser(java.lang.String user)
set the userid
|
public int getDiffCount()
public void setDiffCount(int diffCount)
diffCount
- number of datasetrows.public int getTimestamp()
public void setTimestamp(int timestamp)
timestamp
- the timestamp.public java.lang.String getUser()
public void setUser(java.lang.String user)
user
- the user.public java.util.Date getDate()
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean isAutoupdate()
public void setAutoupdate(boolean autoupdate)
autoupdate
- The autoupdate to set.Copyright © 2020 Gentics Software. All Rights Reserved.