diff --git a/src/main/java/org/gcube/portlets/user/td/widgetcommonevent/shared/tr/column/ColumnMockUp.java b/src/main/java/org/gcube/portlets/user/td/widgetcommonevent/shared/tr/column/ColumnMockUp.java index e2ec03e..7054412 100644 --- a/src/main/java/org/gcube/portlets/user/td/widgetcommonevent/shared/tr/column/ColumnMockUp.java +++ b/src/main/java/org/gcube/portlets/user/td/widgetcommonevent/shared/tr/column/ColumnMockUp.java @@ -30,6 +30,31 @@ public class ColumnMockUp implements Serializable { } + /** + * Generic simple column with only ColumnDataType set + * + * + * @param id + * @param columnId + * @param columnDataType + * @param label + */ + public ColumnMockUp(String id, String columnId, + ColumnDataType columnDataType, String label) { + super(); + this.id = id; + this.columnId = columnId; + this.columnType = null; + this.columnDataType = columnDataType; + this.defaultValue = null; + this.label = label; + this.localeName = null; + this.hasExpression = false; + this.expression = null; + this.timeDimensionType = null; + this.codelistColumnReference = null; + } + /** * ColumnMockUp