|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.evernote.thrift.TUnion<T,F>
public abstract class TUnion<T extends TUnion,F extends TFieldIdEnum>
| Method Summary | |
|---|---|
void |
clear()
Return to the state of having just been initialized, as though you had just called the default constructor. |
Object |
getFieldValue()
|
Object |
getFieldValue(F fieldId)
Get a field's value by field variable. |
Object |
getFieldValue(int fieldId)
|
F |
getSetField()
|
boolean |
isSet()
|
boolean |
isSet(F fieldId)
Check if a field is currently set or unset. |
boolean |
isSet(int fieldId)
|
void |
read(TProtocol iprot)
Reads an instance of the object from the given protocol. |
void |
setFieldValue(F fieldId,
Object value)
Set a field's value by field variable. |
void |
setFieldValue(int fieldId,
Object value)
|
String |
toString()
|
void |
write(TProtocol oprot)
Writes the object to the given protocol. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.evernote.thrift.TReflectionBase |
|---|
fieldForId |
| Methods inherited from interface com.evernote.thrift.TBase |
|---|
deepCopy |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Method Detail |
|---|
public F getSetField()
public Object getFieldValue()
public Object getFieldValue(F fieldId)
TReflectionBase
getFieldValue in interface TReflectionBase<T extends TUnion,F extends TFieldIdEnum>public Object getFieldValue(int fieldId)
public boolean isSet()
public boolean isSet(F fieldId)
TReflectionBase
isSet in interface TReflectionBase<T extends TUnion,F extends TFieldIdEnum>public boolean isSet(int fieldId)
public void read(TProtocol iprot)
throws TException
TBase
read in interface TBase<T extends TUnion>iprot - Input protocol
TException
public void setFieldValue(F fieldId,
Object value)
TReflectionBase
setFieldValue in interface TReflectionBase<T extends TUnion,F extends TFieldIdEnum>
public void setFieldValue(int fieldId,
Object value)
public void write(TProtocol oprot)
throws TException
TBase
write in interface TBase<T extends TUnion>oprot - Output protocol
TExceptionpublic String toString()
toString in class Objectpublic final void clear()
TBase
clear in interface TBase<T extends TUnion>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||