Add column reference to ChangeColumnTypeSession

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-gwt-service@92463 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2014-02-28 09:30:52 +00:00
parent a2ede48586
commit 7b6f257f6b
1 changed files with 27 additions and 11 deletions

View File

@ -3,7 +3,6 @@ package org.gcube.portlets.user.td.gwtservice.shared.tr.column.type;
import java.io.Serializable; import java.io.Serializable;
import org.gcube.portlets.user.td.gwtservice.shared.tr.ColumnData; import org.gcube.portlets.user.td.gwtservice.shared.tr.ColumnData;
import org.gcube.portlets.user.td.widgetcommonevent.shared.TRId;
import org.gcube.portlets.user.td.widgetcommonevent.shared.tr.column.ColumnDataType; import org.gcube.portlets.user.td.widgetcommonevent.shared.tr.column.ColumnDataType;
import org.gcube.portlets.user.td.widgetcommonevent.shared.tr.column.ColumnTypeCode; import org.gcube.portlets.user.td.widgetcommonevent.shared.tr.column.ColumnTypeCode;
@ -17,50 +16,67 @@ public class ChangeColumnTypeSession implements Serializable {
protected ColumnTypeCode columnTypeCodeTarget; protected ColumnTypeCode columnTypeCodeTarget;
protected ColumnDataType columnDataTypeTarget; protected ColumnDataType columnDataTypeTarget;
protected ColumnData codelistColumnReference;
public ColumnTypeCode getColumnTypeCode() { public ColumnTypeCode getColumnTypeCode() {
return columnTypeCode; return columnTypeCode;
} }
public void setColumnTypeCode(ColumnTypeCode columnTypeCode) { public void setColumnTypeCode(ColumnTypeCode columnTypeCode) {
this.columnTypeCode = columnTypeCode; this.columnTypeCode = columnTypeCode;
} }
public ColumnDataType getColumnDataType() { public ColumnDataType getColumnDataType() {
return columnDataType; return columnDataType;
} }
public void setColumnDataType(ColumnDataType columnDataType) { public void setColumnDataType(ColumnDataType columnDataType) {
this.columnDataType = columnDataType; this.columnDataType = columnDataType;
} }
public ColumnTypeCode getColumnTypeCodeTarget() { public ColumnTypeCode getColumnTypeCodeTarget() {
return columnTypeCodeTarget; return columnTypeCodeTarget;
} }
public void setColumnTypeCodeTarget(ColumnTypeCode columnTypeCodeTarget) { public void setColumnTypeCodeTarget(ColumnTypeCode columnTypeCodeTarget) {
this.columnTypeCodeTarget = columnTypeCodeTarget; this.columnTypeCodeTarget = columnTypeCodeTarget;
} }
public ColumnDataType getColumnDataTypeTarget() { public ColumnDataType getColumnDataTypeTarget() {
return columnDataTypeTarget; return columnDataTypeTarget;
} }
public void setColumnDataTypeTarget(ColumnDataType columnDataTypeTarget) { public void setColumnDataTypeTarget(ColumnDataType columnDataTypeTarget) {
this.columnDataTypeTarget = columnDataTypeTarget; this.columnDataTypeTarget = columnDataTypeTarget;
} }
public ColumnData getColumnData() { public ColumnData getColumnData() {
return columnData; return columnData;
} }
public void setColumnData(ColumnData columnData) { public void setColumnData(ColumnData columnData) {
this.columnData = columnData; this.columnData = columnData;
} }
public ColumnData getCodelistColumnReference() {
return codelistColumnReference;
}
public void setCodelistColumnReference(ColumnData codelistColumnReference) {
this.codelistColumnReference = codelistColumnReference;
}
@Override @Override
public String toString() { public String toString() {
return "ChangeColumnTypeSession [columnData=" + columnData return "ChangeColumnTypeSession [columnData=" + columnData
+ ", columnTypeCode=" + columnTypeCode + ", columnDataType=" + ", columnTypeCode=" + columnTypeCode + ", columnDataType="
+ columnDataType + ", columnTypeCodeTarget=" + columnDataType + ", columnTypeCodeTarget="
+ columnTypeCodeTarget + ", columnDataTypeTarget=" + columnTypeCodeTarget + ", columnDataTypeTarget="
+ columnDataTypeTarget + "]"; + columnDataTypeTarget + ", codelistColumnReference="
+ codelistColumnReference + "]";
} }
} }