|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.evernote.edam.notestore.NoteList
public class NoteList
A small structure for returning a list of notes out of a larger set.
Nested Class Summary | |
---|---|
static class |
NoteList._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
Field Summary | |
---|---|
static java.util.Map<NoteList._Fields,FieldMetaData> |
metaDataMap
|
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()
|
int |
compareTo(NoteList other)
|
NoteList |
deepCopy()
|
boolean |
equals(NoteList that)
|
boolean |
equals(java.lang.Object that)
|
NoteList._Fields |
fieldForId(int fieldId)
|
java.lang.Object |
getFieldValue(NoteList._Fields field)
|
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 |
isSet(NoteList._Fields field)
Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise |
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(TProtocol iprot)
|
void |
setFieldValue(NoteList._Fields field,
java.lang.Object value)
|
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(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<NoteList._Fields,FieldMetaData> metaDataMap
Constructor Detail |
---|
public NoteList()
public NoteList(int startIndex, int totalNotes, java.util.List<Note> notes)
public NoteList(NoteList other)
Method Detail |
---|
public NoteList deepCopy()
public void clear()
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 void setFieldValue(NoteList._Fields field, java.lang.Object value)
public java.lang.Object getFieldValue(NoteList._Fields field)
public boolean isSet(NoteList._Fields field)
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)
public NoteList._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 |