public static class VersioningDatasource.Version extends Object implements Comparable
Constructor and Description |
---|
VersioningDatasource.Version() |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Object o) |
boolean |
equals(Object obj) |
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.
|
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(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 String getUser()
public void setUser(String user)
user
- the user.public Date getDate()
public int compareTo(Object o)
compareTo
in interface Comparable
public boolean isAutoupdate()
public void setAutoupdate(boolean autoupdate)
autoupdate
- The autoupdate to set.Copyright © 2016 Gentics Software GmbH. All Rights Reserved.