return entries;
}
@Override
public List<OpenEngSBModelEntry> toOpenEngSBModelValues() {
List<OpenEngSBModelEntry> entries = Arrays.asList(new OpenEngSBModelEntry("id", id, String.class),
new OpenEngSBModelEntry("name", name, String.class),
new OpenEngSBModelEntry("date", date, Date.class),
new OpenEngSBModelEntry("test", enumeration, ENUM.class));
for (int i = 0; i < list.size(); i++) {
entries.add(new OpenEngSBModelEntry("list" + i, list.get(i), String.class));
}
if (sub != null) {
entries.add(new OpenEngSBModelEntry("sub.id", sub.getId(), String.class));
entries.add(new OpenEngSBModelEntry("sub.value", sub.getValue(), String.class));
}
return entries;
}