|
|||||||||
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 | |
---|---|
TBase<T,F> |
deepCopy()
|
java.lang.Object |
getFieldValue(F field)
Get a field's value by field variable. |
java.lang.Object |
getFieldValue(int fieldId)
Deprecated. |
boolean |
isSet(F field)
Check if a field is currently set or unset. |
boolean |
isSet(int fieldId)
Deprecated. |
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 |
setFieldValue(int fieldId,
java.lang.Object value)
Deprecated. |
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
@Deprecated boolean isSet(int fieldId)
fieldId
- The field's id tag as found in the IDL.boolean isSet(F field)
field
- @Deprecated java.lang.Object getFieldValue(int fieldId)
fieldId
- The field's id tag as found in the IDL.java.lang.Object getFieldValue(F field)
field
- @Deprecated void setFieldValue(int fieldId, java.lang.Object value)
fieldId
- The field's id tag as found in the IDL.void setFieldValue(F field, java.lang.Object value)
field
- TBase<T,F> deepCopy()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |