}
private TabularData getComplexTabularData() throws OpenDataException {
CompositeTypeAndJson ctj = new CompositeTypeAndJson(
STRING,"name",null,
STRING,"firstname",null,
INTEGER,"age",null,
BOOLEAN,"male",null
);
TabularTypeAndJson taj = new TabularTypeAndJson(new String[] { "name", "firstname" },ctj);
TabularData data = new TabularDataSupport(taj.getType());
data.put(new CompositeDataSupport(ctj.getType(),
new String[] { "name", "firstname", "age", "male" },
new Object[] { "meyer", "xaver", 12, true }));
data.put(new CompositeDataSupport(ctj.getType(),
new String[] { "name", "firstname", "age", "male" },
new Object[] { "meyer", "zensi", 28, false }));
data.put(new CompositeDataSupport(ctj.getType(),
new String[] { "name", "firstname", "age", "male" },
new Object[] { "huber", "erna", 18, false }));
return data;
}