|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.gentics.api.lib.datasource.VersioningDatasource.Version
public static class VersioningDatasource.Version
provides meta information about a single version of a dataset.
Constructor Summary | |
---|---|
VersioningDatasource.Version()
|
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VersioningDatasource.Version()
Method Detail |
---|
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 equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
public boolean isAutoupdate()
public void setAutoupdate(boolean autoupdate)
autoupdate
- The autoupdate to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |