|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.evernote.edam.type.NoteAttributes
public class NoteAttributes
The list of optional attributes that can be stored on a note.
Applications should set contentClass only when they are creating notes that contain structured information that needs to be maintained in order for the user to be able to use the note within that application. Setting contentClass makes a note read-only in other applications, so there is a trade-off when an application chooses to use contentClass. Applications that set contentClass when creating notes must use a contentClass string of the form CompanyName.ApplicationName to ensure uniqueness.
Length restrictions: EDAM_NOTE_CONTENT_CLASS_LEN_MIN, EDAM_NOTE_CONTENT_CLASS_LEN_MAXTo safely add or modify your application's entry in the map, use NoteStore.setNoteApplicationDataEntry. To safely remove your application's entry from the map, use NoteStore.unsetNoteApplicationDataEntry.
Minimum length of a name (key): EDAM_APPLICATIONDATA_NAME_LEN_MIN
Constructor Summary | |
---|---|
NoteAttributes()
|
|
NoteAttributes(NoteAttributes other)
Performs a deep copy on other. |
Method Summary | |
---|---|
void |
clear()
Return to the state of having just been initialized, as though you had just called the default constructor. |
int |
compareTo(NoteAttributes other)
|
NoteAttributes |
deepCopy()
Creates a deep copy of the object. |
boolean |
equals(NoteAttributes that)
|
boolean |
equals(java.lang.Object that)
|
double |
getAltitude()
|
LazyMap |
getApplicationData()
|
java.lang.String |
getAuthor()
|
java.util.Map<java.lang.String,java.lang.String> |
getClassifications()
|
int |
getClassificationsSize()
|
java.lang.String |
getContentClass()
|
int |
getCreatorId()
|
java.lang.String |
getLastEditedBy()
|
int |
getLastEditorId()
|
double |
getLatitude()
|
double |
getLongitude()
|
java.lang.String |
getPlaceName()
|
long |
getReminderDoneTime()
|
long |
getReminderOrder()
|
long |
getReminderTime()
|
long |
getShareDate()
|
java.lang.String |
getSource()
|
java.lang.String |
getSourceApplication()
|
java.lang.String |
getSourceURL()
|
long |
getSubjectDate()
|
int |
hashCode()
|
boolean |
isSetAltitude()
Returns true if field altitude is set (has been asigned a value) and false otherwise |
boolean |
isSetApplicationData()
Returns true if field applicationData is set (has been asigned a value) and false otherwise |
boolean |
isSetAuthor()
Returns true if field author is set (has been asigned a value) and false otherwise |
boolean |
isSetClassifications()
Returns true if field classifications is set (has been asigned a value) and false otherwise |
boolean |
isSetContentClass()
Returns true if field contentClass is set (has been asigned a value) and false otherwise |
boolean |
isSetCreatorId()
Returns true if field creatorId is set (has been asigned a value) and false otherwise |
boolean |
isSetLastEditedBy()
Returns true if field lastEditedBy is set (has been asigned a value) and false otherwise |
boolean |
isSetLastEditorId()
Returns true if field lastEditorId is set (has been asigned a value) and false otherwise |
boolean |
isSetLatitude()
Returns true if field latitude is set (has been asigned a value) and false otherwise |
boolean |
isSetLongitude()
Returns true if field longitude is set (has been asigned a value) and false otherwise |
boolean |
isSetPlaceName()
Returns true if field placeName is set (has been asigned a value) and false otherwise |
boolean |
isSetReminderDoneTime()
Returns true if field reminderDoneTime is set (has been asigned a value) and false otherwise |
boolean |
isSetReminderOrder()
Returns true if field reminderOrder is set (has been asigned a value) and false otherwise |
boolean |
isSetReminderTime()
Returns true if field reminderTime is set (has been asigned a value) and false otherwise |
boolean |
isSetShareDate()
Returns true if field shareDate is set (has been asigned a value) and false otherwise |
boolean |
isSetSource()
Returns true if field source is set (has been asigned a value) and false otherwise |
boolean |
isSetSourceApplication()
Returns true if field sourceApplication is set (has been asigned a value) and false otherwise |
boolean |
isSetSourceURL()
Returns true if field sourceURL is set (has been asigned a value) and false otherwise |
boolean |
isSetSubjectDate()
Returns true if field subjectDate is set (has been asigned a value) and false otherwise |
void |
putToClassifications(java.lang.String key,
java.lang.String val)
|
void |
read(com.evernote.thrift.protocol.TProtocol iprot)
Reads an instance of the object from the given protocol. |
void |
setAltitude(double altitude)
|
void |
setAltitudeIsSet(boolean value)
|
void |
setApplicationData(LazyMap applicationData)
|
void |
setApplicationDataIsSet(boolean value)
|
void |
setAuthor(java.lang.String author)
|
void |
setAuthorIsSet(boolean value)
|
void |
setClassifications(java.util.Map<java.lang.String,java.lang.String> classifications)
|
void |
setClassificationsIsSet(boolean value)
|
void |
setContentClass(java.lang.String contentClass)
|
void |
setContentClassIsSet(boolean value)
|
void |
setCreatorId(int creatorId)
|
void |
setCreatorIdIsSet(boolean value)
|
void |
setLastEditedBy(java.lang.String lastEditedBy)
|
void |
setLastEditedByIsSet(boolean value)
|
void |
setLastEditorId(int lastEditorId)
|
void |
setLastEditorIdIsSet(boolean value)
|
void |
setLatitude(double latitude)
|
void |
setLatitudeIsSet(boolean value)
|
void |
setLongitude(double longitude)
|
void |
setLongitudeIsSet(boolean value)
|
void |
setPlaceName(java.lang.String placeName)
|
void |
setPlaceNameIsSet(boolean value)
|
void |
setReminderDoneTime(long reminderDoneTime)
|
void |
setReminderDoneTimeIsSet(boolean value)
|
void |
setReminderOrder(long reminderOrder)
|
void |
setReminderOrderIsSet(boolean value)
|
void |
setReminderTime(long reminderTime)
|
void |
setReminderTimeIsSet(boolean value)
|
void |
setShareDate(long shareDate)
|
void |
setShareDateIsSet(boolean value)
|
void |
setSource(java.lang.String source)
|
void |
setSourceApplication(java.lang.String sourceApplication)
|
void |
setSourceApplicationIsSet(boolean value)
|
void |
setSourceIsSet(boolean value)
|
void |
setSourceURL(java.lang.String sourceURL)
|
void |
setSourceURLIsSet(boolean value)
|
void |
setSubjectDate(long subjectDate)
|
void |
setSubjectDateIsSet(boolean value)
|
java.lang.String |
toString()
|
void |
unsetAltitude()
|
void |
unsetApplicationData()
|
void |
unsetAuthor()
|
void |
unsetClassifications()
|
void |
unsetContentClass()
|
void |
unsetCreatorId()
|
void |
unsetLastEditedBy()
|
void |
unsetLastEditorId()
|
void |
unsetLatitude()
|
void |
unsetLongitude()
|
void |
unsetPlaceName()
|
void |
unsetReminderDoneTime()
|
void |
unsetReminderOrder()
|
void |
unsetReminderTime()
|
void |
unsetShareDate()
|
void |
unsetSource()
|
void |
unsetSourceApplication()
|
void |
unsetSourceURL()
|
void |
unsetSubjectDate()
|
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 NoteAttributes()
public NoteAttributes(NoteAttributes other)
Method Detail |
---|
public NoteAttributes deepCopy()
com.evernote.thrift.TBase
deepCopy
in interface com.evernote.thrift.TBase<NoteAttributes>
public void clear()
com.evernote.thrift.TBase
clear
in interface com.evernote.thrift.TBase<NoteAttributes>
public long getSubjectDate()
public void setSubjectDate(long subjectDate)
public void unsetSubjectDate()
public boolean isSetSubjectDate()
public void setSubjectDateIsSet(boolean value)
public double getLatitude()
public void setLatitude(double latitude)
public void unsetLatitude()
public boolean isSetLatitude()
public void setLatitudeIsSet(boolean value)
public double getLongitude()
public void setLongitude(double longitude)
public void unsetLongitude()
public boolean isSetLongitude()
public void setLongitudeIsSet(boolean value)
public double getAltitude()
public void setAltitude(double altitude)
public void unsetAltitude()
public boolean isSetAltitude()
public void setAltitudeIsSet(boolean value)
public java.lang.String getAuthor()
public void setAuthor(java.lang.String author)
public void unsetAuthor()
public boolean isSetAuthor()
public void setAuthorIsSet(boolean value)
public java.lang.String getSource()
public void setSource(java.lang.String source)
public void unsetSource()
public boolean isSetSource()
public void setSourceIsSet(boolean value)
public java.lang.String getSourceURL()
public void setSourceURL(java.lang.String sourceURL)
public void unsetSourceURL()
public boolean isSetSourceURL()
public void setSourceURLIsSet(boolean value)
public java.lang.String getSourceApplication()
public void setSourceApplication(java.lang.String sourceApplication)
public void unsetSourceApplication()
public boolean isSetSourceApplication()
public void setSourceApplicationIsSet(boolean value)
public long getShareDate()
public void setShareDate(long shareDate)
public void unsetShareDate()
public boolean isSetShareDate()
public void setShareDateIsSet(boolean value)
public long getReminderOrder()
public void setReminderOrder(long reminderOrder)
public void unsetReminderOrder()
public boolean isSetReminderOrder()
public void setReminderOrderIsSet(boolean value)
public long getReminderDoneTime()
public void setReminderDoneTime(long reminderDoneTime)
public void unsetReminderDoneTime()
public boolean isSetReminderDoneTime()
public void setReminderDoneTimeIsSet(boolean value)
public long getReminderTime()
public void setReminderTime(long reminderTime)
public void unsetReminderTime()
public boolean isSetReminderTime()
public void setReminderTimeIsSet(boolean value)
public java.lang.String getPlaceName()
public void setPlaceName(java.lang.String placeName)
public void unsetPlaceName()
public boolean isSetPlaceName()
public void setPlaceNameIsSet(boolean value)
public java.lang.String getContentClass()
public void setContentClass(java.lang.String contentClass)
public void unsetContentClass()
public boolean isSetContentClass()
public void setContentClassIsSet(boolean value)
public LazyMap getApplicationData()
public void setApplicationData(LazyMap applicationData)
public void unsetApplicationData()
public boolean isSetApplicationData()
public void setApplicationDataIsSet(boolean value)
public java.lang.String getLastEditedBy()
public void setLastEditedBy(java.lang.String lastEditedBy)
public void unsetLastEditedBy()
public boolean isSetLastEditedBy()
public void setLastEditedByIsSet(boolean value)
public int getClassificationsSize()
public void putToClassifications(java.lang.String key, java.lang.String val)
public java.util.Map<java.lang.String,java.lang.String> getClassifications()
public void setClassifications(java.util.Map<java.lang.String,java.lang.String> classifications)
public void unsetClassifications()
public boolean isSetClassifications()
public void setClassificationsIsSet(boolean value)
public int getCreatorId()
public void setCreatorId(int creatorId)
public void unsetCreatorId()
public boolean isSetCreatorId()
public void setCreatorIdIsSet(boolean value)
public int getLastEditorId()
public void setLastEditorId(int lastEditorId)
public void unsetLastEditorId()
public boolean isSetLastEditorId()
public void setLastEditorIdIsSet(boolean value)
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public boolean equals(NoteAttributes that)
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(NoteAttributes other)
compareTo
in interface java.lang.Comparable<NoteAttributes>
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<NoteAttributes>
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<NoteAttributes>
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 |