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

25 lines
471 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
public void toMap(Map<String, String> fieldValues) {
this.sections.forEach(item->item.toMap(fieldValues));
}
}