Class DocumentVersionInfo.Version

    • Constructor Detail

      • Version

        public Version​(int syncProtocolVersion,
                       String instanceId,
                       long versionCounter)
    • Method Detail

      • getSyncProtocolVersion

        public int getSyncProtocolVersion()
        Returns the synchronization protocol version of this version.
        Returns:
        an int representing the synchronization protocol version of this version.
      • getInstanceId

        public String getInstanceId()
        Returns the GUID instance id of this version.
        Returns:
        a String representing the instance id of this version.
      • getVersionCounter

        public long getVersionCounter()
        Returns the version counter of this version.
        Returns:
        a long representing the version counter of this version.
      • equals

        public boolean equals​(Object otherVersionObj)
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object