|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.evernote.edam.notestore.NoteMetadata
public class NoteMetadata
This structure is used in the set of results returned by the findNotesMetadata function. It represents the high-level information about a single Note, without some of the larger deep structure. This allows for the information about a list of Notes to be returned relatively quickly with less marshalling and data transfer to remote clients. Most fields in this structure are identical to the corresponding field in the Note structure, with the exception of:
Constructor Summary | |
---|---|
NoteMetadata()
|
|
NoteMetadata(NoteMetadata other)
Performs a deep copy on other. |
|
NoteMetadata(java.lang.String guid)
|
Method Summary | |
---|---|
void |
addToTagGuids(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(NoteMetadata other)
|
NoteMetadata |
deepCopy()
Creates a deep copy of the object. |
boolean |
equals(NoteMetadata that)
|
boolean |
equals(java.lang.Object that)
|
NoteAttributes |
getAttributes()
|
int |
getContentLength()
|
long |
getCreated()
|
long |
getDeleted()
|
java.lang.String |
getGuid()
|
java.lang.String |
getLargestResourceMime()
|
int |
getLargestResourceSize()
|
java.lang.String |
getNotebookGuid()
|
java.util.List<java.lang.String> |
getTagGuids()
|
java.util.Iterator<java.lang.String> |
getTagGuidsIterator()
|
int |
getTagGuidsSize()
|
java.lang.String |
getTitle()
|
long |
getUpdated()
|
int |
getUpdateSequenceNum()
|
int |
hashCode()
|
boolean |
isSetAttributes()
Returns true if field attributes 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 |
isSetLargestResourceMime()
Returns true if field largestResourceMime is set (has been asigned a value) and false otherwise |
boolean |
isSetLargestResourceSize()
Returns true if field largestResourceSize 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 |
isSetTagGuids()
Returns true if field tagGuids 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 |
setAttributes(NoteAttributes attributes)
|
void |
setAttributesIsSet(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 |
setLargestResourceMime(java.lang.String largestResourceMime)
|
void |
setLargestResourceMimeIsSet(boolean value)
|
void |
setLargestResourceSize(int largestResourceSize)
|
void |
setLargestResourceSizeIsSet(boolean value)
|
void |
setNotebookGuid(java.lang.String notebookGuid)
|
void |
setNotebookGuidIsSet(boolean value)
|
void |
setTagGuids(java.util.List<java.lang.String> tagGuids)
|
void |
setTagGuidsIsSet(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 |
unsetAttributes()
|
void |
unsetContentLength()
|
void |
unsetCreated()
|
void |
unsetDeleted()
|
void |
unsetGuid()
|
void |
unsetLargestResourceMime()
|
void |
unsetLargestResourceSize()
|
void |
unsetNotebookGuid()
|
void |
unsetTagGuids()
|
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 NoteMetadata()
public NoteMetadata(java.lang.String guid)
public NoteMetadata(NoteMetadata other)
Method Detail |
---|
public NoteMetadata deepCopy()
com.evernote.thrift.TBase
deepCopy
in interface com.evernote.thrift.TBase<NoteMetadata>
public void clear()
com.evernote.thrift.TBase
clear
in interface com.evernote.thrift.TBase<NoteMetadata>
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 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 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 NoteAttributes getAttributes()
public void setAttributes(NoteAttributes attributes)
public void unsetAttributes()
public boolean isSetAttributes()
public void setAttributesIsSet(boolean value)
public java.lang.String getLargestResourceMime()
public void setLargestResourceMime(java.lang.String largestResourceMime)
public void unsetLargestResourceMime()
public boolean isSetLargestResourceMime()
public void setLargestResourceMimeIsSet(boolean value)
public int getLargestResourceSize()
public void setLargestResourceSize(int largestResourceSize)
public void unsetLargestResourceSize()
public boolean isSetLargestResourceSize()
public void setLargestResourceSizeIsSet(boolean value)
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public boolean equals(NoteMetadata that)
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(NoteMetadata other)
compareTo
in interface java.lang.Comparable<NoteMetadata>
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<NoteMetadata>
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<NoteMetadata>
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 |