|
|||||||||
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,org.apache.thrift.meta_data.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)
|
NoteList |
clone()
Deprecated. |
int |
compareTo(NoteList other)
|
NoteList |
deepCopy()
|
boolean |
equals(NoteList that)
|
boolean |
equals(java.lang.Object that)
|
java.lang.Object |
getFieldValue(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 |
hashCode()
|
boolean |
isSet(int fieldID)
|
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 |
void |
read(org.apache.thrift.protocol.TProtocol iprot)
|
void |
setFieldValue(int fieldID,
java.lang.Object value)
|
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)
|
java.lang.String |
toString()
|
void |
unsetNotes()
|
void |
unsetSearchedWords()
|
void |
unsetStartIndex()
|
void |
unsetStoppedWords()
|
void |
unsetTotalNotes()
|
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<NoteList._Fields,org.apache.thrift.meta_data.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()
deepCopy
in interface org.apache.thrift.TBase<NoteList._Fields>
@Deprecated public NoteList clone()
clone
in class java.lang.Object
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 void setFieldValue(NoteList._Fields field, java.lang.Object value)
setFieldValue
in interface org.apache.thrift.TBase<NoteList._Fields>
public void setFieldValue(int fieldID, java.lang.Object value)
setFieldValue
in interface org.apache.thrift.TBase<NoteList._Fields>
public java.lang.Object getFieldValue(NoteList._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<NoteList._Fields>
public java.lang.Object getFieldValue(int fieldId)
getFieldValue
in interface org.apache.thrift.TBase<NoteList._Fields>
public boolean isSet(NoteList._Fields field)
isSet
in interface org.apache.thrift.TBase<NoteList._Fields>
public boolean isSet(int fieldID)
isSet
in interface org.apache.thrift.TBase<NoteList._Fields>
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(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<NoteList._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<NoteList._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 |