|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.evernote.edam.type.ResourceAttributes
public class ResourceAttributes
Structure holding the optional attributes of a Resource
To safely add or modify your application's entry in the map, use NoteStore.setResourceApplicationDataEntry. To safely remove your application's entry from the map, use NoteStore.unsetResourceApplicationDataEntry.
Minimum length of a name (key): EDAM_APPLICATIONDATA_NAME_LEN_MIN
Constructor Summary | |
---|---|
ResourceAttributes()
|
|
ResourceAttributes(ResourceAttributes 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(ResourceAttributes other)
|
ResourceAttributes |
deepCopy()
Creates a deep copy of the object. |
boolean |
equals(java.lang.Object that)
|
boolean |
equals(ResourceAttributes that)
|
double |
getAltitude()
|
LazyMap |
getApplicationData()
|
java.lang.String |
getCameraMake()
|
java.lang.String |
getCameraModel()
|
java.lang.String |
getFileName()
|
double |
getLatitude()
|
double |
getLongitude()
|
java.lang.String |
getRecoType()
|
java.lang.String |
getSourceURL()
|
long |
getTimestamp()
|
int |
hashCode()
|
boolean |
isAttachment()
|
boolean |
isClientWillIndex()
|
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 |
isSetAttachment()
Returns true if field attachment is set (has been asigned a value) and false otherwise |
boolean |
isSetCameraMake()
Returns true if field cameraMake is set (has been asigned a value) and false otherwise |
boolean |
isSetCameraModel()
Returns true if field cameraModel is set (has been asigned a value) and false otherwise |
boolean |
isSetClientWillIndex()
Returns true if field clientWillIndex is set (has been asigned a value) and false otherwise |
boolean |
isSetFileName()
Returns true if field fileName 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 |
isSetRecoType()
Returns true if field recoType 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 |
isSetTimestamp()
Returns true if field timestamp 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 |
setAltitude(double altitude)
|
void |
setAltitudeIsSet(boolean value)
|
void |
setApplicationData(LazyMap applicationData)
|
void |
setApplicationDataIsSet(boolean value)
|
void |
setAttachment(boolean attachment)
|
void |
setAttachmentIsSet(boolean value)
|
void |
setCameraMake(java.lang.String cameraMake)
|
void |
setCameraMakeIsSet(boolean value)
|
void |
setCameraModel(java.lang.String cameraModel)
|
void |
setCameraModelIsSet(boolean value)
|
void |
setClientWillIndex(boolean clientWillIndex)
|
void |
setClientWillIndexIsSet(boolean value)
|
void |
setFileName(java.lang.String fileName)
|
void |
setFileNameIsSet(boolean value)
|
void |
setLatitude(double latitude)
|
void |
setLatitudeIsSet(boolean value)
|
void |
setLongitude(double longitude)
|
void |
setLongitudeIsSet(boolean value)
|
void |
setRecoType(java.lang.String recoType)
|
void |
setRecoTypeIsSet(boolean value)
|
void |
setSourceURL(java.lang.String sourceURL)
|
void |
setSourceURLIsSet(boolean value)
|
void |
setTimestamp(long timestamp)
|
void |
setTimestampIsSet(boolean value)
|
java.lang.String |
toString()
|
void |
unsetAltitude()
|
void |
unsetApplicationData()
|
void |
unsetAttachment()
|
void |
unsetCameraMake()
|
void |
unsetCameraModel()
|
void |
unsetClientWillIndex()
|
void |
unsetFileName()
|
void |
unsetLatitude()
|
void |
unsetLongitude()
|
void |
unsetRecoType()
|
void |
unsetSourceURL()
|
void |
unsetTimestamp()
|
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 ResourceAttributes()
public ResourceAttributes(ResourceAttributes other)
Method Detail |
---|
public ResourceAttributes deepCopy()
com.evernote.thrift.TBase
deepCopy
in interface com.evernote.thrift.TBase<ResourceAttributes>
public void clear()
com.evernote.thrift.TBase
clear
in interface com.evernote.thrift.TBase<ResourceAttributes>
public java.lang.String getSourceURL()
public void setSourceURL(java.lang.String sourceURL)
public void unsetSourceURL()
public boolean isSetSourceURL()
public void setSourceURLIsSet(boolean value)
public long getTimestamp()
public void setTimestamp(long timestamp)
public void unsetTimestamp()
public boolean isSetTimestamp()
public void setTimestampIsSet(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 getCameraMake()
public void setCameraMake(java.lang.String cameraMake)
public void unsetCameraMake()
public boolean isSetCameraMake()
public void setCameraMakeIsSet(boolean value)
public java.lang.String getCameraModel()
public void setCameraModel(java.lang.String cameraModel)
public void unsetCameraModel()
public boolean isSetCameraModel()
public void setCameraModelIsSet(boolean value)
public boolean isClientWillIndex()
public void setClientWillIndex(boolean clientWillIndex)
public void unsetClientWillIndex()
public boolean isSetClientWillIndex()
public void setClientWillIndexIsSet(boolean value)
public java.lang.String getRecoType()
public void setRecoType(java.lang.String recoType)
public void unsetRecoType()
public boolean isSetRecoType()
public void setRecoTypeIsSet(boolean value)
public java.lang.String getFileName()
public void setFileName(java.lang.String fileName)
public void unsetFileName()
public boolean isSetFileName()
public void setFileNameIsSet(boolean value)
public boolean isAttachment()
public void setAttachment(boolean attachment)
public void unsetAttachment()
public boolean isSetAttachment()
public void setAttachmentIsSet(boolean value)
public LazyMap getApplicationData()
public void setApplicationData(LazyMap applicationData)
public void unsetApplicationData()
public boolean isSetApplicationData()
public void setApplicationDataIsSet(boolean value)
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public boolean equals(ResourceAttributes that)
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(ResourceAttributes other)
compareTo
in interface java.lang.Comparable<ResourceAttributes>
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<ResourceAttributes>
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<ResourceAttributes>
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 |