|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.evernote.edam.type.ResourceAttributes
public class ResourceAttributes
Structure holding the optional attributes of a Resource
Nested Class Summary | |
---|---|
static class |
ResourceAttributes._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
Field Summary | |
---|---|
static java.util.Map<ResourceAttributes._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap
|
Constructor Summary | |
---|---|
ResourceAttributes()
|
|
ResourceAttributes(ResourceAttributes other)
Performs a deep copy on other. |
Method Summary | |
---|---|
ResourceAttributes |
clone()
Deprecated. |
int |
compareTo(ResourceAttributes other)
|
ResourceAttributes |
deepCopy()
|
boolean |
equals(java.lang.Object that)
|
boolean |
equals(ResourceAttributes that)
|
double |
getAltitude()
|
java.lang.String |
getCameraMake()
|
java.lang.String |
getCameraModel()
|
java.lang.Object |
getFieldValue(int fieldId)
|
java.lang.Object |
getFieldValue(ResourceAttributes._Fields field)
|
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 |
isSet(int fieldID)
|
boolean |
isSet(ResourceAttributes._Fields field)
Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise |
boolean |
isSetAltitude()
Returns true if field altitude 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(org.apache.thrift.protocol.TProtocol iprot)
|
void |
setAltitude(double altitude)
|
void |
setAltitudeIsSet(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 |
setFieldValue(int fieldID,
java.lang.Object value)
|
void |
setFieldValue(ResourceAttributes._Fields field,
java.lang.Object 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 |
unsetAttachment()
|
void |
unsetCameraMake()
|
void |
unsetCameraModel()
|
void |
unsetClientWillIndex()
|
void |
unsetFileName()
|
void |
unsetLatitude()
|
void |
unsetLongitude()
|
void |
unsetRecoType()
|
void |
unsetSourceURL()
|
void |
unsetTimestamp()
|
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<ResourceAttributes._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail |
---|
public ResourceAttributes()
public ResourceAttributes(ResourceAttributes other)
Method Detail |
---|
public ResourceAttributes deepCopy()
deepCopy
in interface org.apache.thrift.TBase<ResourceAttributes._Fields>
@Deprecated public ResourceAttributes clone()
clone
in class java.lang.Object
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 void setFieldValue(ResourceAttributes._Fields field, java.lang.Object value)
setFieldValue
in interface org.apache.thrift.TBase<ResourceAttributes._Fields>
public void setFieldValue(int fieldID, java.lang.Object value)
setFieldValue
in interface org.apache.thrift.TBase<ResourceAttributes._Fields>
public java.lang.Object getFieldValue(ResourceAttributes._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<ResourceAttributes._Fields>
public java.lang.Object getFieldValue(int fieldId)
getFieldValue
in interface org.apache.thrift.TBase<ResourceAttributes._Fields>
public boolean isSet(ResourceAttributes._Fields field)
isSet
in interface org.apache.thrift.TBase<ResourceAttributes._Fields>
public boolean isSet(int fieldID)
isSet
in interface org.apache.thrift.TBase<ResourceAttributes._Fields>
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(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<ResourceAttributes._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<ResourceAttributes._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 |