public class Record extends Object implements Serializable, Cloneable
The basic data structure of a dataset.
| Constructor and Description |
|---|
Record() |
| Modifier and Type | Method and Description |
|---|---|
Record |
clone() |
boolean |
equals(Object obj) |
Date |
getDeviceLastModifiedDate()
The last modified date of the client device.
|
String |
getKey()
The key for the record.
|
String |
getLastModifiedBy()
The user/device that made the last change to this record.
|
Date |
getLastModifiedDate()
The date on which the record was last modified.
|
Long |
getSyncCount()
The server sync count for this record.
|
String |
getValue()
The value for the record.
|
int |
hashCode() |
void |
setDeviceLastModifiedDate(Date deviceLastModifiedDate)
The last modified date of the client device.
|
void |
setKey(String key)
The key for the record.
|
void |
setLastModifiedBy(String lastModifiedBy)
The user/device that made the last change to this record.
|
void |
setLastModifiedDate(Date lastModifiedDate)
The date on which the record was last modified.
|
void |
setSyncCount(Long syncCount)
The server sync count for this record.
|
void |
setValue(String value)
The value for the record.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Record |
withDeviceLastModifiedDate(Date deviceLastModifiedDate)
The last modified date of the client device.
|
Record |
withKey(String key)
The key for the record.
|
Record |
withLastModifiedBy(String lastModifiedBy)
The user/device that made the last change to this record.
|
Record |
withLastModifiedDate(Date lastModifiedDate)
The date on which the record was last modified.
|
Record |
withSyncCount(Long syncCount)
The server sync count for this record.
|
Record |
withValue(String value)
The value for the record.
|
public String getKey()
Constraints:
Length: 1 - 1024
public void setKey(String key)
Constraints:
Length: 1 - 1024
key - The key for the record.public Record withKey(String key)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1024
key - The key for the record.public String getValue()
Constraints:
Length: 0 - 1048575
public void setValue(String value)
Constraints:
Length: 0 - 1048575
value - The value for the record.public Record withValue(String value)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 1048575
value - The value for the record.public Long getSyncCount()
public void setSyncCount(Long syncCount)
syncCount - The server sync count for this record.public Record withSyncCount(Long syncCount)
Returns a reference to this object so that method calls can be chained together.
syncCount - The server sync count for this record.public Date getLastModifiedDate()
public void setLastModifiedDate(Date lastModifiedDate)
lastModifiedDate - The date on which the record was last modified.public Record withLastModifiedDate(Date lastModifiedDate)
Returns a reference to this object so that method calls can be chained together.
lastModifiedDate - The date on which the record was last modified.public String getLastModifiedBy()
public void setLastModifiedBy(String lastModifiedBy)
lastModifiedBy - The user/device that made the last change to this record.public Record withLastModifiedBy(String lastModifiedBy)
Returns a reference to this object so that method calls can be chained together.
lastModifiedBy - The user/device that made the last change to this record.public Date getDeviceLastModifiedDate()
public void setDeviceLastModifiedDate(Date deviceLastModifiedDate)
deviceLastModifiedDate - The last modified date of the client device.public Record withDeviceLastModifiedDate(Date deviceLastModifiedDate)
Returns a reference to this object so that method calls can be chained together.
deviceLastModifiedDate - The last modified date of the client device.public String toString()
toString in class ObjectObject.toString()Copyright © 2015. All rights reserved.