Updated Condition All Rows on Replace By Expression

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-widget-common-event@113623 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2015-03-17 10:04:03 +00:00
parent 5a9a916212
commit ff09c1b28f
1 changed files with 31 additions and 5 deletions

View File

@ -17,9 +17,13 @@ public class C_ExpressionContainer implements Serializable {
C_Expression, Rule;
}
protected Contains id;
protected C_Expression exp;
protected String readableExpression;
private Contains id;
private boolean conditionAllRows;
private C_Expression exp;
private String readableExpression;
/**
*
@ -38,9 +42,20 @@ public class C_ExpressionContainer implements Serializable {
String readableExpression) {
super();
this.id = id;
this.conditionAllRows=false;
this.exp = exp;
this.readableExpression = readableExpression;
}
public C_ExpressionContainer(Contains id, boolean conditionAllRows, C_Expression exp,
String readableExpression) {
super();
this.id = id;
this.conditionAllRows=conditionAllRows;
this.exp = exp;
this.readableExpression = readableExpression;
}
public Contains getId() {
return id;
@ -50,6 +65,14 @@ public class C_ExpressionContainer implements Serializable {
this.id = id;
}
public boolean isConditionAllRows() {
return conditionAllRows;
}
public void setConditionAllRows(boolean conditionAllRows) {
this.conditionAllRows = conditionAllRows;
}
public C_Expression getExp() {
return exp;
}
@ -68,9 +91,12 @@ public class C_ExpressionContainer implements Serializable {
@Override
public String toString() {
return "C_ExpressionContainer [id=" + id + ", exp=" + exp
+ ", readableExpression=" + readableExpression + "]";
return "C_ExpressionContainer [id=" + id + ", conditionAllRows="
+ conditionAllRows + ", exp=" + exp + ", readableExpression="
+ readableExpression + "]";
}