|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.evernote.edam.notestore.NoteList
public class NoteList
A small structure for returning a list of notes out of a larger set.
Constructor Summary | |
---|---|
NoteList()
|
|
NoteList(int startIndex,
int totalNotes,
java.util.List<Note> notes)
|
|
NoteList(NoteList other)
Performs a deep copy on other. |
Method Summary | |
---|---|
void |
addToNotes(Note elem)
|
void |
addToSearchedWords(java.lang.String elem)
|
void |
addToStoppedWords(java.lang.String elem)
|
void |
clear()
Return to the state of having just been initialized, as though you had just called the default constructor. |
int |
compareTo(NoteList other)
|
NoteList |
deepCopy()
Creates a deep copy of the object. |
boolean |
equals(NoteList that)
|
boolean |
equals(java.lang.Object that)
|
java.util.List<Note> |
getNotes()
|
java.util.Iterator<Note> |
getNotesIterator()
|
int |
getNotesSize()
|
java.util.List<java.lang.String> |
getSearchedWords()
|
java.util.Iterator<java.lang.String> |
getSearchedWordsIterator()
|
int |
getSearchedWordsSize()
|
int |
getStartIndex()
|
java.util.List<java.lang.String> |
getStoppedWords()
|
java.util.Iterator<java.lang.String> |
getStoppedWordsIterator()
|
int |
getStoppedWordsSize()
|
int |
getTotalNotes()
|
int |
getUpdateCount()
|
int |
hashCode()
|
boolean |
isSetNotes()
Returns true if field notes is set (has been asigned a value) and false otherwise |
boolean |
isSetSearchedWords()
Returns true if field searchedWords is set (has been asigned a value) and false otherwise |
boolean |
isSetStartIndex()
Returns true if field startIndex is set (has been asigned a value) and false otherwise |
boolean |
isSetStoppedWords()
Returns true if field stoppedWords is set (has been asigned a value) and false otherwise |
boolean |
isSetTotalNotes()
Returns true if field totalNotes 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 |
void |
read(com.evernote.thrift.protocol.TProtocol iprot)
Reads an instance of the object from the given protocol. |
void |
setNotes(java.util.List<Note> notes)
|
void |
setNotesIsSet(boolean value)
|
void |
setSearchedWords(java.util.List<java.lang.String> searchedWords)
|
void |
setSearchedWordsIsSet(boolean value)
|
void |
setStartIndex(int startIndex)
|
void |
setStartIndexIsSet(boolean value)
|
void |
setStoppedWords(java.util.List<java.lang.String> stoppedWords)
|
void |
setStoppedWordsIsSet(boolean value)
|
void |
setTotalNotes(int totalNotes)
|
void |
setTotalNotesIsSet(boolean value)
|
void |
setUpdateCount(int updateCount)
|
void |
setUpdateCountIsSet(boolean value)
|
java.lang.String |
toString()
|
void |
unsetNotes()
|
void |
unsetSearchedWords()
|
void |
unsetStartIndex()
|
void |
unsetStoppedWords()
|
void |
unsetTotalNotes()
|
void |
unsetUpdateCount()
|
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 NoteList()
public NoteList(int startIndex, int totalNotes, java.util.List<Note> notes)
public NoteList(NoteList other)
Method Detail |
---|
public NoteList deepCopy()
com.evernote.thrift.TBase
deepCopy
in interface com.evernote.thrift.TBase<NoteList>
public void clear()
com.evernote.thrift.TBase
clear
in interface com.evernote.thrift.TBase<NoteList>
public int getStartIndex()
public void setStartIndex(int startIndex)
public void unsetStartIndex()
public boolean isSetStartIndex()
public void setStartIndexIsSet(boolean value)
public int getTotalNotes()
public void setTotalNotes(int totalNotes)
public void unsetTotalNotes()
public boolean isSetTotalNotes()
public void setTotalNotesIsSet(boolean value)
public int getNotesSize()
public java.util.Iterator<Note> getNotesIterator()
public void addToNotes(Note elem)
public java.util.List<Note> getNotes()
public void setNotes(java.util.List<Note> notes)
public void unsetNotes()
public boolean isSetNotes()
public void setNotesIsSet(boolean value)
public int getStoppedWordsSize()
public java.util.Iterator<java.lang.String> getStoppedWordsIterator()
public void addToStoppedWords(java.lang.String elem)
public java.util.List<java.lang.String> getStoppedWords()
public void setStoppedWords(java.util.List<java.lang.String> stoppedWords)
public void unsetStoppedWords()
public boolean isSetStoppedWords()
public void setStoppedWordsIsSet(boolean value)
public int getSearchedWordsSize()
public java.util.Iterator<java.lang.String> getSearchedWordsIterator()
public void addToSearchedWords(java.lang.String elem)
public java.util.List<java.lang.String> getSearchedWords()
public void setSearchedWords(java.util.List<java.lang.String> searchedWords)
public void unsetSearchedWords()
public boolean isSetSearchedWords()
public void setSearchedWordsIsSet(boolean value)
public int getUpdateCount()
public void setUpdateCount(int updateCount)
public void unsetUpdateCount()
public boolean isSetUpdateCount()
public void setUpdateCountIsSet(boolean value)
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public boolean equals(NoteList that)
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(NoteList other)
compareTo
in interface java.lang.Comparable<NoteList>
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<NoteList>
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<NoteList>
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 |