Minor Update

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-gwt-service@96731 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2014-06-05 10:03:02 +00:00
parent 7b4e8d6aca
commit f0ab53d823
1 changed files with 31 additions and 42 deletions

View File

@ -1,82 +1,71 @@
package org.gcube.portlets.user.td.gwtservice.shared.tr.column;
import java.io.Serializable;
import java.util.ArrayList;
import org.gcube.data.analysis.tabulardata.expression.Expression;
import org.gcube.portlets.user.td.gwtservice.shared.tr.ColumnData;
/**
*
* @author "Giancarlo Panichi"
* <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
*
* @author "Giancarlo Panichi" <a
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
*
*/
public class SplitColumnSession implements Serializable {
private static final long serialVersionUID = -1896235499708614266L;
protected ColumnData columnData;
protected String value;
protected Expression expression;
public SplitColumnSession(){
protected String label;
protected ArrayList<Expression> expressions;
public SplitColumnSession() {
}
/**
*
* @param columnData
* @param value
* @param expression
* @param label
* @param expressions
*/
public SplitColumnSession(ColumnData columnData, String value, Expression expression){
this.columnData=columnData;
this.value=value;
this.expression=expression;
}
public SplitColumnSession(ColumnData columnData, String label,
ArrayList<Expression> expressions) {
this.columnData = columnData;
this.label = label;
this.expressions = expressions;
}
public ColumnData getColumnData() {
return columnData;
}
public void setColumnData(ColumnData columnData) {
this.columnData = columnData;
}
public String getValue() {
return value;
public String getLabel() {
return label;
}
public void setValue(String value) {
this.value = value;
public void setLabel(String label) {
this.label = label;
}
public Expression getExpression() {
return expression;
public ArrayList<Expression> getExpressions() {
return expressions;
}
public void setExpression(Expression expression) {
this.expression = expression;
public void setExpressions(ArrayList<Expression> expressions) {
this.expressions = expressions;
}
@Override
public String toString() {
return "SplitColumnSession [columnData=" + columnData + ", value="
+ value + ", expression=" + expression + "]";
return "SplitColumnSession [columnData=" + columnData + ", label="
+ label + ", expressions=" + expressions + "]";
}
}