Class Record

    • Constructor Detail

      • Record

        public Record()
    • Method Detail

      • setKey

        public void setKey​(String key)
        The key for the record.
        Parameters:
        key - The key for the record.
      • getKey

        public String getKey()
        The key for the record.
        Returns:
        The key for the record.
      • withKey

        public Record withKey​(String key)
        The key for the record.
        Parameters:
        key - The key for the record.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setValue

        public void setValue​(String value)
        The value for the record.
        Parameters:
        value - The value for the record.
      • getValue

        public String getValue()
        The value for the record.
        Returns:
        The value for the record.
      • withValue

        public Record withValue​(String value)
        The value for the record.
        Parameters:
        value - The value for the record.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setSyncCount

        public void setSyncCount​(Long syncCount)
        The server sync count for this record.
        Parameters:
        syncCount - The server sync count for this record.
      • getSyncCount

        public Long getSyncCount()
        The server sync count for this record.
        Returns:
        The server sync count for this record.
      • withSyncCount

        public Record withSyncCount​(Long syncCount)
        The server sync count for this record.
        Parameters:
        syncCount - The server sync count for this record.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setLastModifiedDate

        public void setLastModifiedDate​(Date lastModifiedDate)
        The date on which the record was last modified.
        Parameters:
        lastModifiedDate - The date on which the record was last modified.
      • getLastModifiedDate

        public Date getLastModifiedDate()
        The date on which the record was last modified.
        Returns:
        The date on which the record was last modified.
      • withLastModifiedDate

        public Record withLastModifiedDate​(Date lastModifiedDate)
        The date on which the record was last modified.
        Parameters:
        lastModifiedDate - The date on which the record was last modified.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setLastModifiedBy

        public void setLastModifiedBy​(String lastModifiedBy)
        The user/device that made the last change to this record.
        Parameters:
        lastModifiedBy - The user/device that made the last change to this record.
      • getLastModifiedBy

        public String getLastModifiedBy()
        The user/device that made the last change to this record.
        Returns:
        The user/device that made the last change to this record.
      • withLastModifiedBy

        public Record withLastModifiedBy​(String lastModifiedBy)
        The user/device that made the last change to this record.
        Parameters:
        lastModifiedBy - The user/device that made the last change to this record.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setDeviceLastModifiedDate

        public void setDeviceLastModifiedDate​(Date deviceLastModifiedDate)
        The last modified date of the client device.
        Parameters:
        deviceLastModifiedDate - The last modified date of the client device.
      • getDeviceLastModifiedDate

        public Date getDeviceLastModifiedDate()
        The last modified date of the client device.
        Returns:
        The last modified date of the client device.
      • withDeviceLastModifiedDate

        public Record withDeviceLastModifiedDate​(Date deviceLastModifiedDate)
        The last modified date of the client device.
        Parameters:
        deviceLastModifiedDate - The last modified date of the client device.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object