Interface PolicyRevision

    • Method Summary

      Static Methods 
      Modifier and Type Method Description
      static PolicyRevision newInstance​(long revisionNumber)
      Returns a new immutable PolicyRevision which is initialised with the given revision number.
      • Methods inherited from interface org.eclipse.ditto.model.base.entity.Revision

        increment, isGreaterThan, isGreaterThanOrEqualTo, isLowerThan, isLowerThanOrEqualTo, toLong, toString
    • Method Detail

      • newInstance

        static PolicyRevision newInstance​(long revisionNumber)
        Returns a new immutable PolicyRevision which is initialised with the given revision number.
        Parameters:
        revisionNumber - the long value of the revision.
        Returns:
        the new immutable PolicyRevision.