|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.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(Object that)
|
boolean |
equals(RelatedResult that)
|
List<NotebookDescriptor> |
getContainingNotebooks()
|
Iterator<NotebookDescriptor> |
getContainingNotebooksIterator()
|
int |
getContainingNotebooksSize()
|
List<Notebook> |
getNotebooks()
|
Iterator<Notebook> |
getNotebooksIterator()
|
int |
getNotebooksSize()
|
List<Note> |
getNotes()
|
Iterator<Note> |
getNotesIterator()
|
int |
getNotesSize()
|
List<Tag> |
getTags()
|
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(TProtocol iprot)
Reads an instance of the object from the given protocol. |
void |
setContainingNotebooks(List<NotebookDescriptor> containingNotebooks)
|
void |
setContainingNotebooksIsSet(boolean value)
|
void |
setNotebooks(List<Notebook> notebooks)
|
void |
setNotebooksIsSet(boolean value)
|
void |
setNotes(List<Note> notes)
|
void |
setNotesIsSet(boolean value)
|
void |
setTags(List<Tag> tags)
|
void |
setTagsIsSet(boolean value)
|
String |
toString()
|
void |
unsetContainingNotebooks()
|
void |
unsetNotebooks()
|
void |
unsetNotes()
|
void |
unsetTags()
|
void |
validate()
|
void |
write(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()
TBase
deepCopy in interface TBase<RelatedResult>public void clear()
TBase
clear in interface TBase<RelatedResult>public int getNotesSize()
public Iterator<Note> getNotesIterator()
public void addToNotes(Note elem)
public List<Note> getNotes()
public void setNotes(List<Note> notes)
public void unsetNotes()
public boolean isSetNotes()
public void setNotesIsSet(boolean value)
public int getNotebooksSize()
public Iterator<Notebook> getNotebooksIterator()
public void addToNotebooks(Notebook elem)
public List<Notebook> getNotebooks()
public void setNotebooks(List<Notebook> notebooks)
public void unsetNotebooks()
public boolean isSetNotebooks()
public void setNotebooksIsSet(boolean value)
public int getTagsSize()
public Iterator<Tag> getTagsIterator()
public void addToTags(Tag elem)
public List<Tag> getTags()
public void setTags(List<Tag> tags)
public void unsetTags()
public boolean isSetTags()
public void setTagsIsSet(boolean value)
public int getContainingNotebooksSize()
public Iterator<NotebookDescriptor> getContainingNotebooksIterator()
public void addToContainingNotebooks(NotebookDescriptor elem)
public List<NotebookDescriptor> getContainingNotebooks()
public void setContainingNotebooks(List<NotebookDescriptor> containingNotebooks)
public void unsetContainingNotebooks()
public boolean isSetContainingNotebooks()
public void setContainingNotebooksIsSet(boolean value)
public boolean equals(Object that)
equals in class Objectpublic boolean equals(RelatedResult that)
public int hashCode()
hashCode in class Objectpublic int compareTo(RelatedResult other)
compareTo in interface Comparable<RelatedResult>
public void read(TProtocol iprot)
throws TException
TBase
read in interface TBase<RelatedResult>iprot - Input protocol
TException
public void write(TProtocol oprot)
throws TException
TBase
write in interface TBase<RelatedResult>oprot - Output protocol
TExceptionpublic String toString()
toString in class Object
public void validate()
throws TException
TException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||