Skip to content
Snippets Groups Projects
Commit 17392c86 authored by Christoph Thelen's avatar Christoph Thelen
Browse files

Merge branch 'felix-schmidt-master'

parents f0209bd0 bcf1de26
No related merge requests found
......@@ -422,6 +422,8 @@ public class CouchDBDao implements IDatabaseDao {
q.put("gridLineColor", question.getGridLineColor());
q.put("numberOfDots", question.getNumberOfDots());
q.put("gridType", question.getGridType());
q.put("scaleFactor", question.getScaleFactor());
q.put("gridScaleFactor", question.getGridScaleFactor());
return q;
}
......@@ -459,6 +461,9 @@ public class CouchDBDao implements IDatabaseDao {
q.put("gridLineColor", question.getGridLineColor());
q.put("numberOfDots", question.getNumberOfDots());
q.put("gridType", question.getGridType());
q.put("scaleFactor", question.getScaleFactor());
q.put("gridScaleFactor", question.getGridScaleFactor());
database.saveDocument(q);
question.set_rev(q.getRev());
......
......@@ -63,6 +63,8 @@ public class Question {
private String gridLineColor;
private int numberOfDots;
private String gridType;
private String scaleFactor;
private String gridScaleFactor;
public final String getType() {
return type;
......@@ -383,6 +385,22 @@ public class Question {
public void setGridType(String gridType) {
this.gridType = gridType;
}
public void setScaleFactor(String scaleFactor) {
this.scaleFactor = scaleFactor;
}
public String getScaleFactor() {
return this.scaleFactor;
}
public void setGridScaleFactor(String scaleFactor) {
this.gridScaleFactor = scaleFactor;
}
public String getGridScaleFactor() {
return this.gridScaleFactor;
}
@Override
public final String toString() {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment