|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.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:
Nested Class Summary | |
---|---|
static class |
NoteMetadata._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
Field Summary | |
---|---|
static java.util.Map<NoteMetadata._Fields,FieldMetaData> |
metaDataMap
|
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()
|
int |
compareTo(NoteMetadata other)
|
NoteMetadata |
deepCopy()
|
boolean |
equals(NoteMetadata that)
|
boolean |
equals(java.lang.Object that)
|
NoteMetadata._Fields |
fieldForId(int fieldId)
|
NoteAttributes |
getAttributes()
|
int |
getContentLength()
|
long |
getCreated()
|
java.lang.Object |
getFieldValue(NoteMetadata._Fields field)
|
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 |
isSet(NoteMetadata._Fields field)
Returns true if field corresponding to fieldID 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 |
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 |
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(TProtocol iprot)
|
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 |
setFieldValue(NoteMetadata._Fields field,
java.lang.Object 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 |
unsetGuid()
|
void |
unsetLargestResourceMime()
|
void |
unsetLargestResourceSize()
|
void |
unsetNotebookGuid()
|
void |
unsetTagGuids()
|
void |
unsetTitle()
|
void |
unsetUpdated()
|
void |
unsetUpdateSequenceNum()
|
void |
validate()
|
void |
write(TProtocol oprot)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.util.Map<NoteMetadata._Fields,FieldMetaData> metaDataMap
Constructor Detail |
---|
public NoteMetadata()
public NoteMetadata(java.lang.String guid)
public NoteMetadata(NoteMetadata other)
Method Detail |
---|
public NoteMetadata deepCopy()
public void clear()
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 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 void setFieldValue(NoteMetadata._Fields field, java.lang.Object value)
public java.lang.Object getFieldValue(NoteMetadata._Fields field)
public boolean isSet(NoteMetadata._Fields field)
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)
public NoteMetadata._Fields fieldForId(int fieldId)
public void read(TProtocol iprot) throws TException
TException
public void write(TProtocol oprot) throws TException
TException
public java.lang.String toString()
toString
in class java.lang.Object
public void validate() throws TException
TException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |