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