|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.evernote.edam.notestore.NoteCollectionCounts
public class NoteCollectionCounts
A data structure representing the number of notes for each notebook and tag with a non-zero set of applicable notes.
Nested Class Summary | |
---|---|
static class |
NoteCollectionCounts._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
Field Summary | |
---|---|
static java.util.Map<NoteCollectionCounts._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap
|
Constructor Summary | |
---|---|
NoteCollectionCounts()
|
|
NoteCollectionCounts(NoteCollectionCounts other)
Performs a deep copy on other. |
Method Summary | |
---|---|
NoteCollectionCounts |
clone()
Deprecated. |
NoteCollectionCounts |
deepCopy()
|
boolean |
equals(NoteCollectionCounts that)
|
boolean |
equals(java.lang.Object that)
|
java.lang.Object |
getFieldValue(int fieldId)
|
java.lang.Object |
getFieldValue(NoteCollectionCounts._Fields field)
|
java.util.Map<java.lang.String,java.lang.Integer> |
getNotebookCounts()
|
int |
getNotebookCountsSize()
|
java.util.Map<java.lang.String,java.lang.Integer> |
getTagCounts()
|
int |
getTagCountsSize()
|
int |
getTrashCount()
|
int |
hashCode()
|
boolean |
isSet(int fieldID)
|
boolean |
isSet(NoteCollectionCounts._Fields field)
Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise |
boolean |
isSetNotebookCounts()
Returns true if field notebookCounts is set (has been asigned a value) and false otherwise |
boolean |
isSetTagCounts()
Returns true if field tagCounts is set (has been asigned a value) and false otherwise |
boolean |
isSetTrashCount()
Returns true if field trashCount is set (has been asigned a value) and false otherwise |
void |
putToNotebookCounts(java.lang.String key,
int val)
|
void |
putToTagCounts(java.lang.String key,
int val)
|
void |
read(org.apache.thrift.protocol.TProtocol iprot)
|
void |
setFieldValue(int fieldID,
java.lang.Object value)
|
void |
setFieldValue(NoteCollectionCounts._Fields field,
java.lang.Object value)
|
void |
setNotebookCounts(java.util.Map<java.lang.String,java.lang.Integer> notebookCounts)
|
void |
setNotebookCountsIsSet(boolean value)
|
void |
setTagCounts(java.util.Map<java.lang.String,java.lang.Integer> tagCounts)
|
void |
setTagCountsIsSet(boolean value)
|
void |
setTrashCount(int trashCount)
|
void |
setTrashCountIsSet(boolean value)
|
java.lang.String |
toString()
|
void |
unsetNotebookCounts()
|
void |
unsetTagCounts()
|
void |
unsetTrashCount()
|
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<NoteCollectionCounts._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail |
---|
public NoteCollectionCounts()
public NoteCollectionCounts(NoteCollectionCounts other)
Method Detail |
---|
public NoteCollectionCounts deepCopy()
deepCopy
in interface org.apache.thrift.TBase<NoteCollectionCounts._Fields>
@Deprecated public NoteCollectionCounts clone()
clone
in class java.lang.Object
public int getNotebookCountsSize()
public void putToNotebookCounts(java.lang.String key, int val)
public java.util.Map<java.lang.String,java.lang.Integer> getNotebookCounts()
public void setNotebookCounts(java.util.Map<java.lang.String,java.lang.Integer> notebookCounts)
public void unsetNotebookCounts()
public boolean isSetNotebookCounts()
public void setNotebookCountsIsSet(boolean value)
public int getTagCountsSize()
public void putToTagCounts(java.lang.String key, int val)
public java.util.Map<java.lang.String,java.lang.Integer> getTagCounts()
public void setTagCounts(java.util.Map<java.lang.String,java.lang.Integer> tagCounts)
public void unsetTagCounts()
public boolean isSetTagCounts()
public void setTagCountsIsSet(boolean value)
public int getTrashCount()
public void setTrashCount(int trashCount)
public void unsetTrashCount()
public boolean isSetTrashCount()
public void setTrashCountIsSet(boolean value)
public void setFieldValue(NoteCollectionCounts._Fields field, java.lang.Object value)
setFieldValue
in interface org.apache.thrift.TBase<NoteCollectionCounts._Fields>
public void setFieldValue(int fieldID, java.lang.Object value)
setFieldValue
in interface org.apache.thrift.TBase<NoteCollectionCounts._Fields>
public java.lang.Object getFieldValue(NoteCollectionCounts._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<NoteCollectionCounts._Fields>
public java.lang.Object getFieldValue(int fieldId)
getFieldValue
in interface org.apache.thrift.TBase<NoteCollectionCounts._Fields>
public boolean isSet(NoteCollectionCounts._Fields field)
isSet
in interface org.apache.thrift.TBase<NoteCollectionCounts._Fields>
public boolean isSet(int fieldID)
isSet
in interface org.apache.thrift.TBase<NoteCollectionCounts._Fields>
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public boolean equals(NoteCollectionCounts that)
public int hashCode()
hashCode
in class java.lang.Object
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<NoteCollectionCounts._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<NoteCollectionCounts._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 |