Interface WorklistRevision
- All Superinterfaces:
Serializable
A worklist revision provides the amount of changes of a worklist (worklist updates) and also the
initialisation date of the worklist. The latter allows to detect worklist manager restarts which
will restart the update count.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final longThe constant indicating the initial revision. -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanIndicates whether the given objects are "equal to" each other.longGets the initialisation date of the worklist.longGets the amount of updates of the worklist since the worklist manager start.static inthashCode(WorklistRevision rev) Returns a hash code value for the given worklist revision.static StringtoString(WorklistRevision rev) Returns a string representation of the given worklist revision.
-
Field Details
-
INITIAL_REVISION
static final long INITIAL_REVISIONThe constant indicating the initial revision. This is the revision of an empty worklist.- See Also:
-
-
Method Details
-
getInitialisationDate
long getInitialisationDate()Gets the initialisation date of the worklist.- Returns:
- The initialisation date of the worklist.
-
getUpdateCount
long getUpdateCount()Gets the amount of updates of the worklist since the worklist manager start.- Returns:
- The amount of updates of the worklist since the worklist manager start.
-
equals
Indicates whether the given objects are "equal to" each other.- Parameters:
obj1- The first reference object.obj2- The second reference object with which to compare.- Returns:
trueif the first object is the same as the second object argument;falseotherwise.- See Also:
-
hashCode
Returns a hash code value for the given worklist revision.- Parameters:
rev- The worklist revision that should be used for the hash code.- Returns:
- A hash code value for the given worklist revision.
- See Also:
-
toString
Returns a string representation of the given worklist revision.- Parameters:
rev- The worklist revision that should be used for the string representation.- Returns:
- A string representation of the given worklist revision.
- See Also:
-