|
|||||||||
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,FieldMetaData> |
metaDataMap
|
Constructor Summary | |
---|---|
NoteVersionId()
|
|
NoteVersionId(int updateSequenceNum,
long updated,
long saved,
java.lang.String title)
|
|
NoteVersionId(NoteVersionId other)
Performs a deep copy on other. |
Method Summary | |
---|---|
void |
clear()
|
int |
compareTo(NoteVersionId other)
|
NoteVersionId |
deepCopy()
|
boolean |
equals(NoteVersionId that)
|
boolean |
equals(java.lang.Object that)
|
NoteVersionId._Fields |
fieldForId(int fieldId)
|
java.lang.Object |
getFieldValue(NoteVersionId._Fields field)
|
long |
getSaved()
|
java.lang.String |
getTitle()
|
long |
getUpdated()
|
int |
getUpdateSequenceNum()
|
int |
hashCode()
|
boolean |
isSet(NoteVersionId._Fields field)
Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise |
boolean |
isSetSaved()
Returns true if field saved is set (has been asigned a value) and false otherwise |
boolean |
isSetTitle()
Returns true if field title 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(TProtocol iprot)
|
void |
setFieldValue(NoteVersionId._Fields field,
java.lang.Object value)
|
void |
setSaved(long saved)
|
void |
setSavedIsSet(boolean value)
|
void |
setTitle(java.lang.String title)
|
void |
setTitleIsSet(boolean value)
|
void |
setUpdated(long updated)
|
void |
setUpdatedIsSet(boolean value)
|
void |
setUpdateSequenceNum(int updateSequenceNum)
|
void |
setUpdateSequenceNumIsSet(boolean value)
|
java.lang.String |
toString()
|
void |
unsetSaved()
|
void |
unsetTitle()
|
void |
unsetUpdated()
|
void |
unsetUpdateSequenceNum()
|
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<NoteVersionId._Fields,FieldMetaData> metaDataMap
Constructor Detail |
---|
public NoteVersionId()
public NoteVersionId(int updateSequenceNum, long updated, long saved, java.lang.String title)
public NoteVersionId(NoteVersionId other)
Method Detail |
---|
public NoteVersionId deepCopy()
public void clear()
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 getSaved()
public void setSaved(long saved)
public void unsetSaved()
public boolean isSetSaved()
public void setSavedIsSet(boolean value)
public java.lang.String getTitle()
public void setTitle(java.lang.String title)
public void unsetTitle()
public boolean isSetTitle()
public void setTitleIsSet(boolean value)
public void setFieldValue(NoteVersionId._Fields field, java.lang.Object value)
public java.lang.Object getFieldValue(NoteVersionId._Fields field)
public boolean isSet(NoteVersionId._Fields field)
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)
public NoteVersionId._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 |