|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.evernote.edam.notestore.NoteVersionId
public class NoteVersionId
Identfying information about previous versions of a note that are backed up within Evernote's servers. Used in the return value of the listNoteVersions call.
Nested Class Summary | |
---|---|
static class |
NoteVersionId._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
Field Summary | |
---|---|
static java.util.Map<NoteVersionId._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap
|
Constructor Summary | |
---|---|
NoteVersionId()
|
|
NoteVersionId(int updateSequenceNum,
long updated,
long serviceUpdated)
|
|
NoteVersionId(NoteVersionId other)
Performs a deep copy on other. |
Method Summary | |
---|---|
NoteVersionId |
clone()
Deprecated. |
int |
compareTo(NoteVersionId other)
|
NoteVersionId |
deepCopy()
|
boolean |
equals(NoteVersionId that)
|
boolean |
equals(java.lang.Object that)
|
java.lang.Object |
getFieldValue(int fieldId)
|
java.lang.Object |
getFieldValue(NoteVersionId._Fields field)
|
long |
getServiceUpdated()
|
long |
getUpdated()
|
int |
getUpdateSequenceNum()
|
int |
hashCode()
|
boolean |
isSet(int fieldID)
|
boolean |
isSet(NoteVersionId._Fields field)
Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise |
boolean |
isSetServiceUpdated()
Returns true if field serviceUpdated is set (has been asigned a value) and false otherwise |
boolean |
isSetUpdated()
Returns true if field updated is set (has been asigned a value) and false otherwise |
boolean |
isSetUpdateSequenceNum()
Returns true if field updateSequenceNum is set (has been asigned a value) and false otherwise |
void |
read(org.apache.thrift.protocol.TProtocol iprot)
|
void |
setFieldValue(int fieldID,
java.lang.Object value)
|
void |
setFieldValue(NoteVersionId._Fields field,
java.lang.Object value)
|
void |
setServiceUpdated(long serviceUpdated)
|
void |
setServiceUpdatedIsSet(boolean value)
|
void |
setUpdated(long updated)
|
void |
setUpdatedIsSet(boolean value)
|
void |
setUpdateSequenceNum(int updateSequenceNum)
|
void |
setUpdateSequenceNumIsSet(boolean value)
|
java.lang.String |
toString()
|
void |
unsetServiceUpdated()
|
void |
unsetUpdated()
|
void |
unsetUpdateSequenceNum()
|
void |
validate()
|
void |
write(org.apache.thrift.protocol.TProtocol oprot)
|
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.util.Map<NoteVersionId._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail |
---|
public NoteVersionId()
public NoteVersionId(int updateSequenceNum, long updated, long serviceUpdated)
public NoteVersionId(NoteVersionId other)
Method Detail |
---|
public NoteVersionId deepCopy()
deepCopy
in interface org.apache.thrift.TBase<NoteVersionId._Fields>
@Deprecated public NoteVersionId clone()
clone
in class java.lang.Object
public int getUpdateSequenceNum()
public void setUpdateSequenceNum(int updateSequenceNum)
public void unsetUpdateSequenceNum()
public boolean isSetUpdateSequenceNum()
public void setUpdateSequenceNumIsSet(boolean value)
public long getUpdated()
public void setUpdated(long updated)
public void unsetUpdated()
public boolean isSetUpdated()
public void setUpdatedIsSet(boolean value)
public long getServiceUpdated()
public void setServiceUpdated(long serviceUpdated)
public void unsetServiceUpdated()
public boolean isSetServiceUpdated()
public void setServiceUpdatedIsSet(boolean value)
public void setFieldValue(NoteVersionId._Fields field, java.lang.Object value)
setFieldValue
in interface org.apache.thrift.TBase<NoteVersionId._Fields>
public void setFieldValue(int fieldID, java.lang.Object value)
setFieldValue
in interface org.apache.thrift.TBase<NoteVersionId._Fields>
public java.lang.Object getFieldValue(NoteVersionId._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<NoteVersionId._Fields>
public java.lang.Object getFieldValue(int fieldId)
getFieldValue
in interface org.apache.thrift.TBase<NoteVersionId._Fields>
public boolean isSet(NoteVersionId._Fields field)
isSet
in interface org.apache.thrift.TBase<NoteVersionId._Fields>
public boolean isSet(int fieldID)
isSet
in interface org.apache.thrift.TBase<NoteVersionId._Fields>
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public boolean equals(NoteVersionId that)
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(NoteVersionId other)
compareTo
in interface java.lang.Comparable<NoteVersionId>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<NoteVersionId._Fields>
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TBase<NoteVersionId._Fields>
org.apache.thrift.TException
public java.lang.String toString()
toString
in class java.lang.Object
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |