package edacc.model;

public class Parameter extends BaseModel implements IntegerPKModel {
    private int id;
    private String name;
    private String prefix;
    private String value;
    private int order;
    private boolean hasValue;

    public Parameter() {
        super();
        name = prefix = value = "";
    }

    public int getId() {
        return id;
    }

    protected void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
        if (this.isSaved()) {
            this.setModified();
        }
    }

    public int getOrder() {
        return order;
    }

    public void setOrder(int order) {
        this.order = order;
        if (this.isSaved()) {
            this.setModified();
        }
    }

    public String getPrefix() {
        return prefix;
    }

    public void setPrefix(String prefix) {
        this.prefix = prefix;
        if (this.isSaved()) {
            this.setModified();
        }
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
        if (this.isSaved()) {
            this.setModified();
        }
    }

    public boolean getHasValue() {
        return hasValue;
    }

    public void setHasValue(boolean hasValue) {
        this.hasValue = hasValue;
    }
}

@@ -314,16 +314,39 @@
 e = %22%22;%0A
+        hasValue=true;%0A
     %7D%0A%0A 

parameters are per default not boolean