Skip to content
Snippets Groups Projects
Commit 68f463e2 authored by Mirco Nasuti's avatar Mirco Nasuti
Browse files

fixed Variable model

parent b994096b
No related branches found
No related tags found
No related merge requests found
......@@ -31,6 +31,7 @@ public class Variable {
private Integer length = null;
private Boolean isVariable = null;
private Boolean isGrouping = null;
private Boolean isCovariable = null;
private Boolean isFilter = null;
@ManyToMany(fetch = FetchType.EAGER)
private List<Value> values = new LinkedList<Value>();
......@@ -142,6 +143,19 @@ public class Variable {
this.isGrouping = isGrouping;
}
/**
* Is it a co-variable ?
**/
@ApiModelProperty(value = "Is it a co-variable ?")
@JsonProperty("isCovariable")
public Boolean getIsCovariable() {
return isCovariable;
}
public void setIsCovariable(Boolean isCovariable) {
this.isCovariable = isCovariable;
}
/**
* Is it a filter ?
**/
......@@ -180,6 +194,7 @@ public class Variable {
sb.append(" length: ").append(length).append("\n");
sb.append(" isVariable: ").append(isVariable).append("\n");
sb.append(" isGrouping: ").append(isGrouping).append("\n");
sb.append(" isGrouping: ").append(isCovariable).append("\n");
sb.append(" isFilter: ").append(isFilter).append("\n");
sb.append(" values: ").append(values).append("\n");
sb.append("}\n");
......
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