|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.evernote.edam.notestore.NotesMetadataList
public class NotesMetadataList
This structure is returned from calls to the findNotesMetadata function to give the high-level metadata about a subset of Notes that are found to match a specified NoteFilter in a search.
Constructor Summary | |
---|---|
NotesMetadataList()
|
|
NotesMetadataList(int startIndex,
int totalNotes,
java.util.List<NoteMetadata> notes)
|
|
NotesMetadataList(NotesMetadataList other)
Performs a deep copy on other. |
Method Summary | |
---|---|
void |
addToNotes(NoteMetadata 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(NotesMetadataList other)
|
NotesMetadataList |
deepCopy()
Creates a deep copy of the object. |
boolean |
equals(NotesMetadataList that)
|
boolean |
equals(java.lang.Object that)
|
java.util.List<NoteMetadata> |
getNotes()
|
java.util.Iterator<NoteMetadata> |
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<NoteMetadata> 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 NotesMetadataList()
public NotesMetadataList(int startIndex, int totalNotes, java.util.List<NoteMetadata> notes)
public NotesMetadataList(NotesMetadataList other)
Method Detail |
---|
public NotesMetadataList deepCopy()
com.evernote.thrift.TBase
deepCopy
in interface com.evernote.thrift.TBase<NotesMetadataList>
public void clear()
com.evernote.thrift.TBase
clear
in interface com.evernote.thrift.TBase<NotesMetadataList>
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<NoteMetadata> getNotesIterator()
public void addToNotes(NoteMetadata elem)
public java.util.List<NoteMetadata> getNotes()
public void setNotes(java.util.List<NoteMetadata> 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(NotesMetadataList that)
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(NotesMetadataList other)
compareTo
in interface java.lang.Comparable<NotesMetadataList>
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<NotesMetadataList>
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<NotesMetadataList>
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 |