|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.evernote.edam.type.Note
public class Note
Represents a single note in the user's account.
Nested Class Summary | |
---|---|
static class |
Note._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
Field Summary | |
---|---|
static java.util.Map<Note._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap
|
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)
|
Note |
clone()
Deprecated. |
int |
compareTo(Note other)
|
Note |
deepCopy()
|
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.Object |
getFieldValue(int fieldId)
|
java.lang.Object |
getFieldValue(Note._Fields field)
|
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 |
isSet(int fieldID)
|
boolean |
isSet(Note._Fields field)
Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise |
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(org.apache.thrift.protocol.TProtocol iprot)
|
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 |
setFieldValue(int fieldID,
java.lang.Object value)
|
void |
setFieldValue(Note._Fields field,
java.lang.Object 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(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<Note._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail |
---|
public Note()
public Note(Note other)
Method Detail |
---|
public Note deepCopy()
deepCopy
in interface org.apache.thrift.TBase<Note._Fields>
@Deprecated public Note clone()
clone
in class java.lang.Object
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 void setFieldValue(Note._Fields field, java.lang.Object value)
setFieldValue
in interface org.apache.thrift.TBase<Note._Fields>
public void setFieldValue(int fieldID, java.lang.Object value)
setFieldValue
in interface org.apache.thrift.TBase<Note._Fields>
public java.lang.Object getFieldValue(Note._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<Note._Fields>
public java.lang.Object getFieldValue(int fieldId)
getFieldValue
in interface org.apache.thrift.TBase<Note._Fields>
public boolean isSet(Note._Fields field)
isSet
in interface org.apache.thrift.TBase<Note._Fields>
public boolean isSet(int fieldID)
isSet
in interface org.apache.thrift.TBase<Note._Fields>
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(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<Note._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<Note._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 |