25 lines
471 B
Java
25 lines
471 B
Java
|
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));
|
||
|
|
||
|
}
|
||
|
|
||
|
}
|