|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.evernote.edam.type.Note
public class Note
Represents a single note in the user's account.
Constructor Summary | |
---|---|
Note()
|
|
Note(Note other)
Performs a deep copy on other. |
Method Summary | |
---|---|
void |
addToResources(Resource elem)
|
void |
addToTagGuids(java.lang.String elem)
|
void |
addToTagNames(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(Note other)
|
Note |
deepCopy()
Creates a deep copy of the object. |
boolean |
equals(Note that)
|
boolean |
equals(java.lang.Object that)
|
NoteAttributes |
getAttributes()
|
java.lang.String |
getContent()
|
byte[] |
getContentHash()
|
int |
getContentLength()
|
long |
getCreated()
|
long |
getDeleted()
|
java.lang.String |
getGuid()
|
java.lang.String |
getNotebookGuid()
|
java.util.List<Resource> |
getResources()
|
java.util.Iterator<Resource> |
getResourcesIterator()
|
int |
getResourcesSize()
|
java.util.List<java.lang.String> |
getTagGuids()
|
java.util.Iterator<java.lang.String> |
getTagGuidsIterator()
|
int |
getTagGuidsSize()
|
java.util.List<java.lang.String> |
getTagNames()
|
java.util.Iterator<java.lang.String> |
getTagNamesIterator()
|
int |
getTagNamesSize()
|
java.lang.String |
getTitle()
|
long |
getUpdated()
|
int |
getUpdateSequenceNum()
|
int |
hashCode()
|
boolean |
isActive()
|
boolean |
isSetActive()
Returns true if field active is set (has been asigned a value) and false otherwise |
boolean |
isSetAttributes()
Returns true if field attributes is set (has been asigned a value) and false otherwise |
boolean |
isSetContent()
Returns true if field content is set (has been asigned a value) and false otherwise |
boolean |
isSetContentHash()
Returns true if field contentHash is set (has been asigned a value) and false otherwise |
boolean |
isSetContentLength()
Returns true if field contentLength is set (has been asigned a value) and false otherwise |
boolean |
isSetCreated()
Returns true if field created is set (has been asigned a value) and false otherwise |
boolean |
isSetDeleted()
Returns true if field deleted is set (has been asigned a value) and false otherwise |
boolean |
isSetGuid()
Returns true if field guid is set (has been asigned a value) and false otherwise |
boolean |
isSetNotebookGuid()
Returns true if field notebookGuid is set (has been asigned a value) and false otherwise |
boolean |
isSetResources()
Returns true if field resources is set (has been asigned a value) and false otherwise |
boolean |
isSetTagGuids()
Returns true if field tagGuids is set (has been asigned a value) and false otherwise |
boolean |
isSetTagNames()
Returns true if field tagNames is set (has been asigned a value) and false otherwise |
boolean |
isSetTitle()
Returns true if field title is set (has been asigned a value) and false otherwise |
boolean |
isSetUpdated()
Returns true if field updated is set (has been asigned a value) and false otherwise |
boolean |
isSetUpdateSequenceNum()
Returns true if field updateSequenceNum 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 |
setActive(boolean active)
|
void |
setActiveIsSet(boolean value)
|
void |
setAttributes(NoteAttributes attributes)
|
void |
setAttributesIsSet(boolean value)
|
void |
setContent(java.lang.String content)
|
void |
setContentHash(byte[] contentHash)
|
void |
setContentHashIsSet(boolean value)
|
void |
setContentIsSet(boolean value)
|
void |
setContentLength(int contentLength)
|
void |
setContentLengthIsSet(boolean value)
|
void |
setCreated(long created)
|
void |
setCreatedIsSet(boolean value)
|
void |
setDeleted(long deleted)
|
void |
setDeletedIsSet(boolean value)
|
void |
setGuid(java.lang.String guid)
|
void |
setGuidIsSet(boolean value)
|
void |
setNotebookGuid(java.lang.String notebookGuid)
|
void |
setNotebookGuidIsSet(boolean value)
|
void |
setResources(java.util.List<Resource> resources)
|
void |
setResourcesIsSet(boolean value)
|
void |
setTagGuids(java.util.List<java.lang.String> tagGuids)
|
void |
setTagGuidsIsSet(boolean value)
|
void |
setTagNames(java.util.List<java.lang.String> tagNames)
|
void |
setTagNamesIsSet(boolean value)
|
void |
setTitle(java.lang.String title)
|
void |
setTitleIsSet(boolean value)
|
void |
setUpdated(long updated)
|
void |
setUpdatedIsSet(boolean value)
|
void |
setUpdateSequenceNum(int updateSequenceNum)
|
void |
setUpdateSequenceNumIsSet(boolean value)
|
java.lang.String |
toString()
|
void |
unsetActive()
|
void |
unsetAttributes()
|
void |
unsetContent()
|
void |
unsetContentHash()
|
void |
unsetContentLength()
|
void |
unsetCreated()
|
void |
unsetDeleted()
|
void |
unsetGuid()
|
void |
unsetNotebookGuid()
|
void |
unsetResources()
|
void |
unsetTagGuids()
|
void |
unsetTagNames()
|
void |
unsetTitle()
|
void |
unsetUpdated()
|
void |
unsetUpdateSequenceNum()
|
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 Note()
public Note(Note other)
Method Detail |
---|
public Note deepCopy()
com.evernote.thrift.TBase
deepCopy
in interface com.evernote.thrift.TBase<Note>
public void clear()
com.evernote.thrift.TBase
clear
in interface com.evernote.thrift.TBase<Note>
public java.lang.String getGuid()
public void setGuid(java.lang.String guid)
public void unsetGuid()
public boolean isSetGuid()
public void setGuidIsSet(boolean value)
public java.lang.String getTitle()
public void setTitle(java.lang.String title)
public void unsetTitle()
public boolean isSetTitle()
public void setTitleIsSet(boolean value)
public java.lang.String getContent()
public void setContent(java.lang.String content)
public void unsetContent()
public boolean isSetContent()
public void setContentIsSet(boolean value)
public byte[] getContentHash()
public void setContentHash(byte[] contentHash)
public void unsetContentHash()
public boolean isSetContentHash()
public void setContentHashIsSet(boolean value)
public int getContentLength()
public void setContentLength(int contentLength)
public void unsetContentLength()
public boolean isSetContentLength()
public void setContentLengthIsSet(boolean value)
public long getCreated()
public void setCreated(long created)
public void unsetCreated()
public boolean isSetCreated()
public void setCreatedIsSet(boolean value)
public long getUpdated()
public void setUpdated(long updated)
public void unsetUpdated()
public boolean isSetUpdated()
public void setUpdatedIsSet(boolean value)
public long getDeleted()
public void setDeleted(long deleted)
public void unsetDeleted()
public boolean isSetDeleted()
public void setDeletedIsSet(boolean value)
public boolean isActive()
public void setActive(boolean active)
public void unsetActive()
public boolean isSetActive()
public void setActiveIsSet(boolean value)
public int getUpdateSequenceNum()
public void setUpdateSequenceNum(int updateSequenceNum)
public void unsetUpdateSequenceNum()
public boolean isSetUpdateSequenceNum()
public void setUpdateSequenceNumIsSet(boolean value)
public java.lang.String getNotebookGuid()
public void setNotebookGuid(java.lang.String notebookGuid)
public void unsetNotebookGuid()
public boolean isSetNotebookGuid()
public void setNotebookGuidIsSet(boolean value)
public int getTagGuidsSize()
public java.util.Iterator<java.lang.String> getTagGuidsIterator()
public void addToTagGuids(java.lang.String elem)
public java.util.List<java.lang.String> getTagGuids()
public void setTagGuids(java.util.List<java.lang.String> tagGuids)
public void unsetTagGuids()
public boolean isSetTagGuids()
public void setTagGuidsIsSet(boolean value)
public int getResourcesSize()
public java.util.Iterator<Resource> getResourcesIterator()
public void addToResources(Resource elem)
public java.util.List<Resource> getResources()
public void setResources(java.util.List<Resource> resources)
public void unsetResources()
public boolean isSetResources()
public void setResourcesIsSet(boolean value)
public NoteAttributes getAttributes()
public void setAttributes(NoteAttributes attributes)
public void unsetAttributes()
public boolean isSetAttributes()
public void setAttributesIsSet(boolean value)
public int getTagNamesSize()
public java.util.Iterator<java.lang.String> getTagNamesIterator()
public void addToTagNames(java.lang.String elem)
public java.util.List<java.lang.String> getTagNames()
public void setTagNames(java.util.List<java.lang.String> tagNames)
public void unsetTagNames()
public boolean isSetTagNames()
public void setTagNamesIsSet(boolean value)
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public boolean equals(Note that)
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(Note other)
compareTo
in interface java.lang.Comparable<Note>
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<Note>
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<Note>
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 |