Updated ValueDataTypeFormat in Change Column Type
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-gwt-service@111757 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
01cd2e6137
commit
aa742e89e1
|
@ -70,6 +70,8 @@ public class OpExecution4ChangeColumnType extends OpExecutionBuilder {
|
||||||
|
|
||||||
map.put(Constants.PARAMETER_TARGET_DATA_TYPE, ColumnDataTypeMap
|
map.put(Constants.PARAMETER_TARGET_DATA_TYPE, ColumnDataTypeMap
|
||||||
.map(changeColumnTypeSession.getColumnDataTypeTarget()));
|
.map(changeColumnTypeSession.getColumnDataTypeTarget()));
|
||||||
|
map.put(Constants.PARAMETER_PERIOD_INPUT_FORMAT_ID, changeColumnTypeSession
|
||||||
|
.getValueDataFormat().getId());
|
||||||
invocation = new OperationExecution(changeColumnTypeSession
|
invocation = new OperationExecution(changeColumnTypeSession
|
||||||
.getColumnData().getColumnId(),
|
.getColumnData().getColumnId(),
|
||||||
operationDefinition.getOperationId(), map);
|
operationDefinition.getOperationId(), map);
|
||||||
|
@ -152,6 +154,9 @@ public class OpExecution4ChangeColumnType extends OpExecutionBuilder {
|
||||||
|
|
||||||
map.put(Constants.PARAMETER_TARGET_DATA_TYPE, ColumnDataTypeMap
|
map.put(Constants.PARAMETER_TARGET_DATA_TYPE, ColumnDataTypeMap
|
||||||
.map(changeColumnTypeSession.getColumnDataTypeTarget()));
|
.map(changeColumnTypeSession.getColumnDataTypeTarget()));
|
||||||
|
map.put(Constants.PARAMETER_PERIOD_INPUT_FORMAT_ID, changeColumnTypeSession
|
||||||
|
.getValueDataFormat().getId());
|
||||||
|
|
||||||
invocation = new OperationExecution(changeColumnTypeSession
|
invocation = new OperationExecution(changeColumnTypeSession
|
||||||
.getColumnData().getColumnId(),
|
.getColumnData().getColumnId(),
|
||||||
operationDefinition.getOperationId(), map);
|
operationDefinition.getOperationId(), map);
|
||||||
|
@ -163,7 +168,7 @@ public class OpExecution4ChangeColumnType extends OpExecutionBuilder {
|
||||||
map.put(Constants.PARAMETER_PERIOD_FORMAT, changeColumnTypeSession
|
map.put(Constants.PARAMETER_PERIOD_FORMAT, changeColumnTypeSession
|
||||||
.getPeriodDataType().getLabel());
|
.getPeriodDataType().getLabel());
|
||||||
map.put(Constants.PARAMETER_PERIOD_INPUT_FORMAT_ID, changeColumnTypeSession
|
map.put(Constants.PARAMETER_PERIOD_INPUT_FORMAT_ID, changeColumnTypeSession
|
||||||
.getTimeDataFormat().getId());
|
.getValueDataFormat().getId());
|
||||||
|
|
||||||
invocation = new OperationExecution(changeColumnTypeSession
|
invocation = new OperationExecution(changeColumnTypeSession
|
||||||
.getColumnData().getColumnId(),
|
.getColumnData().getColumnId(),
|
||||||
|
|
|
@ -22,7 +22,7 @@ public class ChangeColumnTypeSession implements Serializable {
|
||||||
private String locale;
|
private String locale;
|
||||||
|
|
||||||
private PeriodDataType timeDimensionType;
|
private PeriodDataType timeDimensionType;
|
||||||
private ValueDataFormat timeDataFormat;
|
private ValueDataFormat valueDataFormat;
|
||||||
private ColumnData codelistColumnReference;
|
private ColumnData codelistColumnReference;
|
||||||
|
|
||||||
private ColumnMappingList columnMappingList;
|
private ColumnMappingList columnMappingList;
|
||||||
|
@ -122,12 +122,12 @@ public class ChangeColumnTypeSession implements Serializable {
|
||||||
this.timeDimensionType = timeDimensionType;
|
this.timeDimensionType = timeDimensionType;
|
||||||
}
|
}
|
||||||
|
|
||||||
public ValueDataFormat getTimeDataFormat() {
|
public ValueDataFormat getValueDataFormat() {
|
||||||
return timeDataFormat;
|
return valueDataFormat;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setTimeDataFormat(ValueDataFormat timeDataFormat) {
|
public void setValueDataFormat(ValueDataFormat valueDataFormat) {
|
||||||
this.timeDataFormat = timeDataFormat;
|
this.valueDataFormat = valueDataFormat;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getLocale() {
|
public String getLocale() {
|
||||||
|
@ -154,7 +154,7 @@ public class ChangeColumnTypeSession implements Serializable {
|
||||||
+ columnTypeCodeTarget + ", columnDataTypeTarget="
|
+ columnTypeCodeTarget + ", columnDataTypeTarget="
|
||||||
+ columnDataTypeTarget + ", locale=" + locale
|
+ columnDataTypeTarget + ", locale=" + locale
|
||||||
+ ", timeDimensionType=" + timeDimensionType
|
+ ", timeDimensionType=" + timeDimensionType
|
||||||
+ ", timeDataFormat=" + timeDataFormat
|
+ ", timeDataFormat=" + valueDataFormat
|
||||||
+ ", codelistColumnReference=" + codelistColumnReference
|
+ ", codelistColumnReference=" + codelistColumnReference
|
||||||
+ ", columnMappingList=" + columnMappingList + "]";
|
+ ", columnMappingList=" + columnMappingList + "]";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue