|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.evernote.edam.type.Resource
public class Resource
Every media file that is embedded or attached to a note is represented through a Resource entry.
Constructor Summary | |
---|---|
Resource()
|
|
Resource(Resource 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(Resource other)
|
Resource |
deepCopy()
Creates a deep copy of the object. |
boolean |
equals(java.lang.Object that)
|
boolean |
equals(Resource that)
|
Data |
getAlternateData()
|
ResourceAttributes |
getAttributes()
|
Data |
getData()
|
short |
getDuration()
|
java.lang.String |
getGuid()
|
short |
getHeight()
|
java.lang.String |
getMime()
|
java.lang.String |
getNoteGuid()
|
Data |
getRecognition()
|
int |
getUpdateSequenceNum()
|
short |
getWidth()
|
int |
hashCode()
|
boolean |
isActive()
|
boolean |
isSetActive()
Returns true if field active is set (has been asigned a value) and false otherwise |
boolean |
isSetAlternateData()
Returns true if field alternateData 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 |
isSetData()
Returns true if field data is set (has been asigned a value) and false otherwise |
boolean |
isSetDuration()
Returns true if field duration 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 |
isSetHeight()
Returns true if field height is set (has been asigned a value) and false otherwise |
boolean |
isSetMime()
Returns true if field mime is set (has been asigned a value) and false otherwise |
boolean |
isSetNoteGuid()
Returns true if field noteGuid is set (has been asigned a value) and false otherwise |
boolean |
isSetRecognition()
Returns true if field recognition 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 |
boolean |
isSetWidth()
Returns true if field width 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 |
setActive(boolean active)
|
void |
setActiveIsSet(boolean value)
|
void |
setAlternateData(Data alternateData)
|
void |
setAlternateDataIsSet(boolean value)
|
void |
setAttributes(ResourceAttributes attributes)
|
void |
setAttributesIsSet(boolean value)
|
void |
setData(Data data)
|
void |
setDataIsSet(boolean value)
|
void |
setDuration(short duration)
|
void |
setDurationIsSet(boolean value)
|
void |
setGuid(java.lang.String guid)
|
void |
setGuidIsSet(boolean value)
|
void |
setHeight(short height)
|
void |
setHeightIsSet(boolean value)
|
void |
setMime(java.lang.String mime)
|
void |
setMimeIsSet(boolean value)
|
void |
setNoteGuid(java.lang.String noteGuid)
|
void |
setNoteGuidIsSet(boolean value)
|
void |
setRecognition(Data recognition)
|
void |
setRecognitionIsSet(boolean value)
|
void |
setUpdateSequenceNum(int updateSequenceNum)
|
void |
setUpdateSequenceNumIsSet(boolean value)
|
void |
setWidth(short width)
|
void |
setWidthIsSet(boolean value)
|
java.lang.String |
toString()
|
void |
unsetActive()
|
void |
unsetAlternateData()
|
void |
unsetAttributes()
|
void |
unsetData()
|
void |
unsetDuration()
|
void |
unsetGuid()
|
void |
unsetHeight()
|
void |
unsetMime()
|
void |
unsetNoteGuid()
|
void |
unsetRecognition()
|
void |
unsetUpdateSequenceNum()
|
void |
unsetWidth()
|
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 Resource()
public Resource(Resource other)
Method Detail |
---|
public Resource deepCopy()
com.evernote.thrift.TBase
deepCopy
in interface com.evernote.thrift.TBase<Resource>
public void clear()
com.evernote.thrift.TBase
clear
in interface com.evernote.thrift.TBase<Resource>
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 getNoteGuid()
public void setNoteGuid(java.lang.String noteGuid)
public void unsetNoteGuid()
public boolean isSetNoteGuid()
public void setNoteGuidIsSet(boolean value)
public Data getData()
public void setData(Data data)
public void unsetData()
public boolean isSetData()
public void setDataIsSet(boolean value)
public java.lang.String getMime()
public void setMime(java.lang.String mime)
public void unsetMime()
public boolean isSetMime()
public void setMimeIsSet(boolean value)
public short getWidth()
public void setWidth(short width)
public void unsetWidth()
public boolean isSetWidth()
public void setWidthIsSet(boolean value)
public short getHeight()
public void setHeight(short height)
public void unsetHeight()
public boolean isSetHeight()
public void setHeightIsSet(boolean value)
public short getDuration()
public void setDuration(short duration)
public void unsetDuration()
public boolean isSetDuration()
public void setDurationIsSet(boolean value)
public boolean isActive()
public void setActive(boolean active)
public void unsetActive()
public boolean isSetActive()
public void setActiveIsSet(boolean value)
public Data getRecognition()
public void setRecognition(Data recognition)
public void unsetRecognition()
public boolean isSetRecognition()
public void setRecognitionIsSet(boolean value)
public ResourceAttributes getAttributes()
public void setAttributes(ResourceAttributes attributes)
public void unsetAttributes()
public boolean isSetAttributes()
public void setAttributesIsSet(boolean value)
public int getUpdateSequenceNum()
public void setUpdateSequenceNum(int updateSequenceNum)
public void unsetUpdateSequenceNum()
public boolean isSetUpdateSequenceNum()
public void setUpdateSequenceNumIsSet(boolean value)
public Data getAlternateData()
public void setAlternateData(Data alternateData)
public void unsetAlternateData()
public boolean isSetAlternateData()
public void setAlternateDataIsSet(boolean value)
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public boolean equals(Resource that)
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(Resource other)
compareTo
in interface java.lang.Comparable<Resource>
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<Resource>
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<Resource>
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 |