|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.evernote.edam.notestore.SyncState
public class SyncState
This structure encapsulates the information about the state of the user's account for the purpose of "state based" synchronization.
Constructor Summary | |
---|---|
SyncState()
|
|
SyncState(long currentTime,
long fullSyncBefore,
int updateCount)
|
|
SyncState(SyncState other)
Performs a deep copy on other. |
Method Summary | |
---|---|
void |
clear()
Return to the state of having just been initialized, as though you had just called the default constructor. |
int |
compareTo(SyncState other)
|
SyncState |
deepCopy()
Creates a deep copy of the object. |
boolean |
equals(java.lang.Object that)
|
boolean |
equals(SyncState that)
|
long |
getCurrentTime()
|
long |
getFullSyncBefore()
|
int |
getUpdateCount()
|
long |
getUploaded()
|
int |
hashCode()
|
boolean |
isSetCurrentTime()
Returns true if field currentTime is set (has been asigned a value) and false otherwise |
boolean |
isSetFullSyncBefore()
Returns true if field fullSyncBefore is set (has been asigned a value) and false otherwise |
boolean |
isSetUpdateCount()
Returns true if field updateCount is set (has been asigned a value) and false otherwise |
boolean |
isSetUploaded()
Returns true if field uploaded is set (has been asigned a value) and false otherwise |
void |
read(com.evernote.thrift.protocol.TProtocol iprot)
Reads an instance of the object from the given protocol. |
void |
setCurrentTime(long currentTime)
|
void |
setCurrentTimeIsSet(boolean value)
|
void |
setFullSyncBefore(long fullSyncBefore)
|
void |
setFullSyncBeforeIsSet(boolean value)
|
void |
setUpdateCount(int updateCount)
|
void |
setUpdateCountIsSet(boolean value)
|
void |
setUploaded(long uploaded)
|
void |
setUploadedIsSet(boolean value)
|
java.lang.String |
toString()
|
void |
unsetCurrentTime()
|
void |
unsetFullSyncBefore()
|
void |
unsetUpdateCount()
|
void |
unsetUploaded()
|
void |
validate()
|
void |
write(com.evernote.thrift.protocol.TProtocol oprot)
Writes the object to the given protocol. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SyncState()
public SyncState(long currentTime, long fullSyncBefore, int updateCount)
public SyncState(SyncState other)
Method Detail |
---|
public SyncState deepCopy()
com.evernote.thrift.TBase
deepCopy
in interface com.evernote.thrift.TBase<SyncState>
public void clear()
com.evernote.thrift.TBase
clear
in interface com.evernote.thrift.TBase<SyncState>
public long getCurrentTime()
public void setCurrentTime(long currentTime)
public void unsetCurrentTime()
public boolean isSetCurrentTime()
public void setCurrentTimeIsSet(boolean value)
public long getFullSyncBefore()
public void setFullSyncBefore(long fullSyncBefore)
public void unsetFullSyncBefore()
public boolean isSetFullSyncBefore()
public void setFullSyncBeforeIsSet(boolean value)
public int getUpdateCount()
public void setUpdateCount(int updateCount)
public void unsetUpdateCount()
public boolean isSetUpdateCount()
public void setUpdateCountIsSet(boolean value)
public long getUploaded()
public void setUploaded(long uploaded)
public void unsetUploaded()
public boolean isSetUploaded()
public void setUploadedIsSet(boolean value)
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public boolean equals(SyncState that)
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(SyncState other)
compareTo
in interface java.lang.Comparable<SyncState>
public void read(com.evernote.thrift.protocol.TProtocol iprot) throws com.evernote.thrift.TException
com.evernote.thrift.TBase
read
in interface com.evernote.thrift.TBase<SyncState>
iprot
- Input protocol
com.evernote.thrift.TException
public void write(com.evernote.thrift.protocol.TProtocol oprot) throws com.evernote.thrift.TException
com.evernote.thrift.TBase
write
in interface com.evernote.thrift.TBase<SyncState>
oprot
- Output protocol
com.evernote.thrift.TException
public java.lang.String toString()
toString
in class java.lang.Object
public void validate() throws com.evernote.thrift.TException
com.evernote.thrift.TException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |