Lines 49-55
Link Here
|
49 |
/* Next define the attribute mappings. */ |
49 |
/* Next define the attribute mappings. */ |
50 |
descriptor.addDirectMapping("testName", "getTestName", "setTestName", "NAME"); |
50 |
descriptor.addDirectMapping("testName", "getTestName", "setTestName", "NAME"); |
51 |
descriptor.addDirectMapping("varString", "VAR"); |
51 |
descriptor.addDirectMapping("varString", "VAR"); |
52 |
descriptor.addDirectMapping("fixedString", "FIXED"); |
52 |
descriptor.addDirectMapping("fixedString", "FIXED_STRING"); |
53 |
return descriptor; |
53 |
return descriptor; |
54 |
} |
54 |
} |
55 |
|
55 |
|
Lines 64-70
Link Here
|
64 |
/* Next define the attribute mappings. */ |
64 |
/* Next define the attribute mappings. */ |
65 |
descriptor.addDirectMapping("testName", "getTestName", "setTestName", "NAME"); |
65 |
descriptor.addDirectMapping("testName", "getTestName", "setTestName", "NAME"); |
66 |
descriptor.addDirectMapping("varString", "getVarString", "setVarString", "VAR"); |
66 |
descriptor.addDirectMapping("varString", "getVarString", "setVarString", "VAR"); |
67 |
descriptor.addDirectMapping("fixedString", "getFixedString", "setFixedString", "FIXED"); |
67 |
descriptor.addDirectMapping("fixedString", "getFixedString", "setFixedString", "FIXED_STRING"); |
68 |
return descriptor; |
68 |
return descriptor; |
69 |
} |
69 |
} |
70 |
|
70 |
|
Lines 127-133
Link Here
|
127 |
definition.setName("STRINGS"); |
127 |
definition.setName("STRINGS"); |
128 |
|
128 |
|
129 |
definition.addField("VAR", String.class, StringTester.stringLength()); |
129 |
definition.addField("VAR", String.class, StringTester.stringLength()); |
130 |
definition.addField("FIXED", Character.class, StringTester.stringLength()); |
130 |
definition.addField("FIXED_STRING", Character.class, StringTester.stringLength()); |
131 |
return definition; |
131 |
return definition; |
132 |
} |
132 |
} |
133 |
|
133 |
|