argos/dmp-backend/src/main/java/models/properties/PropertiesModel.java

31 lines
591 B
Java
Raw Normal View History

2017-12-05 17:56:21 +01:00
package models.properties;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
public class PropertiesModel implements PropertiesGenerator{
private List<Section> sections;
public List<Section> getSections() {
return sections;
}
public void setSections(List<Section> sections) {
this.sections = sections;
}
@Override
2017-12-12 09:36:43 +01:00
public void toMap(Map<String, Object> fieldValues) {
2017-12-05 17:56:21 +01:00
this.sections.forEach(item->item.toMap(fieldValues));
}
2017-12-12 09:36:43 +01:00
@Override
public void toMap(Map<String, Object> fieldValues, int index) {
// TODO Auto-generated method stub
}
2017-12-05 17:56:21 +01:00
}