|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.evernote.edam.notestore.NoteVersionId
public class NoteVersionId
Identifying information about previous versions of a note that are backed up within Evernote's servers. Used in the return value of the listNoteVersions call.
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()
Return to the state of having just been initialized, as though you had just called the default constructor. |
int |
compareTo(NoteVersionId other)
|
NoteVersionId |
deepCopy()
Creates a deep copy of the object. |
boolean |
equals(NoteVersionId that)
|
boolean |
equals(java.lang.Object that)
|
long |
getSaved()
|
java.lang.String |
getTitle()
|
long |
getUpdated()
|
int |
getUpdateSequenceNum()
|
int |
hashCode()
|
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(com.evernote.thrift.protocol.TProtocol iprot)
Reads an instance of the object from the given protocol. |
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(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 NoteVersionId()
public NoteVersionId(int updateSequenceNum, long updated, long saved, java.lang.String title)
public NoteVersionId(NoteVersionId other)
Method Detail |
---|
public NoteVersionId deepCopy()
com.evernote.thrift.TBase
deepCopy
in interface com.evernote.thrift.TBase<NoteVersionId>
public void clear()
com.evernote.thrift.TBase
clear
in interface com.evernote.thrift.TBase<NoteVersionId>
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 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(com.evernote.thrift.protocol.TProtocol iprot) throws com.evernote.thrift.TException
com.evernote.thrift.TBase
read
in interface com.evernote.thrift.TBase<NoteVersionId>
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<NoteVersionId>
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 |