|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.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.
Nested Class Summary | |
---|---|
static class |
SyncState._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
Field Summary | |
---|---|
static java.util.Map<SyncState._Fields,FieldMetaData> |
metaDataMap
|
Constructor Summary | |
---|---|
SyncState()
|
|
SyncState(long currentTime,
long fullSyncBefore,
int updateCount)
|
|
SyncState(SyncState other)
Performs a deep copy on other. |
Method Summary | |
---|---|
void |
clear()
|
int |
compareTo(SyncState other)
|
SyncState |
deepCopy()
|
boolean |
equals(java.lang.Object that)
|
boolean |
equals(SyncState that)
|
SyncState._Fields |
fieldForId(int fieldId)
|
long |
getCurrentTime()
|
java.lang.Object |
getFieldValue(SyncState._Fields field)
|
long |
getFullSyncBefore()
|
int |
getUpdateCount()
|
long |
getUploaded()
|
int |
hashCode()
|
boolean |
isSet(SyncState._Fields field)
Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise |
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(TProtocol iprot)
|
void |
setCurrentTime(long currentTime)
|
void |
setCurrentTimeIsSet(boolean value)
|
void |
setFieldValue(SyncState._Fields field,
java.lang.Object 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(TProtocol oprot)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.util.Map<SyncState._Fields,FieldMetaData> metaDataMap
Constructor Detail |
---|
public SyncState()
public SyncState(long currentTime, long fullSyncBefore, int updateCount)
public SyncState(SyncState other)
Method Detail |
---|
public SyncState deepCopy()
public void clear()
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 void setFieldValue(SyncState._Fields field, java.lang.Object value)
public java.lang.Object getFieldValue(SyncState._Fields field)
public boolean isSet(SyncState._Fields field)
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)
public SyncState._Fields fieldForId(int fieldId)
public void read(TProtocol iprot) throws TException
TException
public void write(TProtocol oprot) throws TException
TException
public java.lang.String toString()
toString
in class java.lang.Object
public void validate() throws TException
TException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |