thrift/test/JavaBeansTest.thrift
David Reiss 25be92bf0d THRIFT-222. java: Better exposure if __isset in beans style
- Generate an isSet method for each field to test its set-ness.
- Generate a generic isSet method that checks by field id.


git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@731722 13f79535-47bb-0310-9956-ffa450edef68
2009-01-05 21:02:58 +00:00

16 lines
314 B
Thrift

namespace java thrift.test
struct OneOfEachBeans {
1: bool boolean_field,
2: byte a_bite,
3: i16 integer16,
4: i32 integer32,
5: i64 integer64,
6: double double_precision,
7: string some_characters,
8: binary base64,
9: list<byte> byte_list,
10: list<i16> i16_list,
11: list<i64> i64_list
}