Package org.eclipse.ditto.things.model
Interface ThingRevision
- All Superinterfaces:
Comparable<ThingRevision>,org.eclipse.ditto.base.model.entity.Revision<ThingRevision>
Represents the current revision of a Thing.
-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic ThingRevisionnewInstance(long revisionNumber) Returns a new immutableThingRevisionwhich is initialised with the given revision number.Methods inherited from interface java.lang.Comparable
compareToMethods inherited from interface org.eclipse.ditto.base.model.entity.Revision
increment, isGreaterThan, isGreaterThanOrEqualTo, isLowerThan, isLowerThanOrEqualTo, toLong, toString
-
Method Details
-
newInstance
Returns a new immutableThingRevisionwhich is initialised with the given revision number.- Parameters:
revisionNumber- thelongvalue of the revision.- Returns:
- the new immutable
ThingRevision.
-