use of org.apache.camel.dataformat.bindy.model.simple.bool.BooleanExample in project camel by apache.
the class BindySimpleCsvBooleanFalseMarshallTest method generateModel.
public List<Map<String, Object>> generateModel() {
Map<String, Object> modelObjects = new HashMap<String, Object>();
BooleanExample example = new BooleanExample();
example.setName("andrew");
example.setExist(Boolean.FALSE);
modelObjects.put(example.getClass().getName(), example);
models.add(modelObjects);
return models;
}
use of org.apache.camel.dataformat.bindy.model.simple.bool.BooleanExample in project camel by apache.
the class BindySimpleCsvBooleanTrueMarshallTest method generateModel.
public List<Map<String, Object>> generateModel() {
Map<String, Object> modelObjects = new HashMap<String, Object>();
BooleanExample example = new BooleanExample();
example.setName("andrew");
example.setExist(Boolean.TRUE);
modelObjects.put(example.getClass().getName(), example);
models.add(modelObjects);
return models;
}
Aggregations