|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TBase<T extends TBase<?,?>,F extends TFieldIdEnum>
Generic base interface for generated Thrift objects.
Method Summary | |
---|---|
void |
clear()
Return to the state of having just been initialized, as though you had just called the default constructor. |
TBase<T,F> |
deepCopy()
|
F |
fieldForId(int fieldId)
Get the F instance that corresponds to fieldId. |
java.lang.Object |
getFieldValue(F field)
Get a field's value by field variable. |
boolean |
isSet(F field)
Check if a field is currently set or unset. |
void |
read(TProtocol iprot)
Reads the TObject from the given input protocol. |
void |
setFieldValue(F field,
java.lang.Object value)
Set a field's value by field variable. |
void |
write(TProtocol oprot)
Writes the objects out to the protocol |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Method Detail |
---|
void read(TProtocol iprot) throws TException
iprot
- Input protocol
TException
void write(TProtocol oprot) throws TException
oprot
- Output protocol
TException
F fieldForId(int fieldId)
boolean isSet(F field)
field
- java.lang.Object getFieldValue(F field)
field
- void setFieldValue(F field, java.lang.Object value)
field
- TBase<T,F> deepCopy()
void clear()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |