Package org.eclipse.ditto.things.model
Interface ThingRevision
-
- All Superinterfaces:
java.lang.Comparable<ThingRevision>,org.eclipse.ditto.base.model.entity.Revision<ThingRevision>
public interface ThingRevision extends org.eclipse.ditto.base.model.entity.Revision<ThingRevision>
Represents the current revision of a Thing.
-
-
Method Summary
Static Methods Modifier and Type Method Description static ThingRevisionnewInstance(long revisionNumber)Returns a new immutableThingRevisionwhich is initialised with the given revision number.
-
-
-
Method Detail
-
newInstance
static ThingRevision newInstance(long revisionNumber)
Returns a new immutableThingRevisionwhich is initialised with the given revision number.- Parameters:
revisionNumber- thelongvalue of the revision.- Returns:
- the new immutable
ThingRevision.
-
-