Added CellData
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-widget-common-event@93571 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
0dfeb72996
commit
1b419add09
|
@ -0,0 +1,77 @@
|
|||
package org.gcube.portlets.user.td.widgetcommonevent.shared;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class CellData implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -8622096647178437477L;
|
||||
protected String value;
|
||||
protected String columnName;
|
||||
protected String columnId;
|
||||
protected String columnLabel;
|
||||
protected String rowId;
|
||||
|
||||
public CellData() {
|
||||
|
||||
}
|
||||
|
||||
public CellData(String value, String columnName, String columnId,
|
||||
String columnLabel, String rowId) {
|
||||
this.value = value;
|
||||
this.columnName = columnName;
|
||||
this.columnId = columnId;
|
||||
this.columnLabel = columnLabel;
|
||||
this.rowId = rowId;
|
||||
}
|
||||
|
||||
public String getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
public void setValue(String value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public String getColumnName() {
|
||||
return columnName;
|
||||
}
|
||||
|
||||
public void setColumnName(String columnName) {
|
||||
this.columnName = columnName;
|
||||
}
|
||||
|
||||
public String getColumnId() {
|
||||
return columnId;
|
||||
}
|
||||
|
||||
public void setColumnId(String columnId) {
|
||||
this.columnId = columnId;
|
||||
}
|
||||
|
||||
public String getColumnLabel() {
|
||||
return columnLabel;
|
||||
}
|
||||
|
||||
public void setColumnLabel(String columnLabel) {
|
||||
this.columnLabel = columnLabel;
|
||||
}
|
||||
|
||||
public String getRowId() {
|
||||
return rowId;
|
||||
}
|
||||
|
||||
public void setRowId(String rowId) {
|
||||
this.rowId = rowId;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "CellData [value=" + value + ", columnName=" + columnName
|
||||
+ ", columnId=" + columnId + ", columnLabel=" + columnLabel
|
||||
+ ", rowId=" + rowId + "]";
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
|
@ -3,7 +3,8 @@ package org.gcube.portlets.user.td.widgetcommonevent.shared;
|
|||
public enum GridOperationId {
|
||||
ROWADD("1"),
|
||||
ROWEDIT("2"),
|
||||
ROWDELETE("3");
|
||||
ROWDELETE("3"),
|
||||
REPLACE("4");
|
||||
|
||||
/**
|
||||
* @param text
|
||||
|
|
Loading…
Reference in New Issue