|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.evernote.edam.notestore.RelatedResult
public class RelatedResult
The result of calling findRelated(). The contents of the notes, notebooks, and tags fields will be in decreasing order of expected relevance. It is possible that fewer results than requested will be returned even if there are enough distinct entities in the account in cases where the relevance is estimated to be low.
includeContainingNotebooks
is set to true
in the RelatedResultSpec, return the list of notebooks to
to which the returned related notes belong. The notebooks in this
list will occur once per notebook GUID and are represented as
NotebookDescriptor objects.
Constructor Summary | |
---|---|
RelatedResult()
|
|
RelatedResult(RelatedResult other)
Performs a deep copy on other. |
Method Summary | |
---|---|
void |
addToContainingNotebooks(NotebookDescriptor elem)
|
void |
addToNotebooks(Notebook elem)
|
void |
addToNotes(Note elem)
|
void |
addToTags(Tag elem)
|
void |
clear()
Return to the state of having just been initialized, as though you had just called the default constructor. |
int |
compareTo(RelatedResult other)
|
RelatedResult |
deepCopy()
Creates a deep copy of the object. |
boolean |
equals(java.lang.Object that)
|
boolean |
equals(RelatedResult that)
|
java.util.List<NotebookDescriptor> |
getContainingNotebooks()
|
java.util.Iterator<NotebookDescriptor> |
getContainingNotebooksIterator()
|
int |
getContainingNotebooksSize()
|
java.util.List<Notebook> |
getNotebooks()
|
java.util.Iterator<Notebook> |
getNotebooksIterator()
|
int |
getNotebooksSize()
|
java.util.List<Note> |
getNotes()
|
java.util.Iterator<Note> |
getNotesIterator()
|
int |
getNotesSize()
|
java.util.List<Tag> |
getTags()
|
java.util.Iterator<Tag> |
getTagsIterator()
|
int |
getTagsSize()
|
int |
hashCode()
|
boolean |
isSetContainingNotebooks()
Returns true if field containingNotebooks is set (has been asigned a value) and false otherwise |
boolean |
isSetNotebooks()
Returns true if field notebooks 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 |
isSetTags()
Returns true if field tags 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 |
setContainingNotebooks(java.util.List<NotebookDescriptor> containingNotebooks)
|
void |
setContainingNotebooksIsSet(boolean value)
|
void |
setNotebooks(java.util.List<Notebook> notebooks)
|
void |
setNotebooksIsSet(boolean value)
|
void |
setNotes(java.util.List<Note> notes)
|
void |
setNotesIsSet(boolean value)
|
void |
setTags(java.util.List<Tag> tags)
|
void |
setTagsIsSet(boolean value)
|
java.lang.String |
toString()
|
void |
unsetContainingNotebooks()
|
void |
unsetNotebooks()
|
void |
unsetNotes()
|
void |
unsetTags()
|
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 RelatedResult()
public RelatedResult(RelatedResult other)
Method Detail |
---|
public RelatedResult deepCopy()
com.evernote.thrift.TBase
deepCopy
in interface com.evernote.thrift.TBase<RelatedResult>
public void clear()
com.evernote.thrift.TBase
clear
in interface com.evernote.thrift.TBase<RelatedResult>
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 getNotebooksSize()
public java.util.Iterator<Notebook> getNotebooksIterator()
public void addToNotebooks(Notebook elem)
public java.util.List<Notebook> getNotebooks()
public void setNotebooks(java.util.List<Notebook> notebooks)
public void unsetNotebooks()
public boolean isSetNotebooks()
public void setNotebooksIsSet(boolean value)
public int getTagsSize()
public java.util.Iterator<Tag> getTagsIterator()
public void addToTags(Tag elem)
public java.util.List<Tag> getTags()
public void setTags(java.util.List<Tag> tags)
public void unsetTags()
public boolean isSetTags()
public void setTagsIsSet(boolean value)
public int getContainingNotebooksSize()
public java.util.Iterator<NotebookDescriptor> getContainingNotebooksIterator()
public void addToContainingNotebooks(NotebookDescriptor elem)
public java.util.List<NotebookDescriptor> getContainingNotebooks()
public void setContainingNotebooks(java.util.List<NotebookDescriptor> containingNotebooks)
public void unsetContainingNotebooks()
public boolean isSetContainingNotebooks()
public void setContainingNotebooksIsSet(boolean value)
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public boolean equals(RelatedResult that)
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(RelatedResult other)
compareTo
in interface java.lang.Comparable<RelatedResult>
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<RelatedResult>
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<RelatedResult>
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 |