ref 6078:TDM - Create a new widget to support operations's invocation on DataMiner
https://support.d4science.org/issues/6078 Updated to support DataMiner git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-analysis/data-miner-manager-cl@146464 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
d659d193ca
commit
48b63393a7
|
@ -3,11 +3,10 @@ package org.gcube.data.analysis.dataminermanagercl.shared.data;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author Giancarlo Panichi
|
* @author Giancarlo Panichi email: <a
|
||||||
* email: <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class TableItemSimple implements Serializable {
|
public class TableItemSimple implements Serializable {
|
||||||
|
@ -18,6 +17,7 @@ public class TableItemSimple implements Serializable {
|
||||||
private String description;
|
private String description;
|
||||||
private String type;
|
private String type;
|
||||||
private ArrayList<ColumnItem> columns;
|
private ArrayList<ColumnItem> columns;
|
||||||
|
private boolean tabularResource;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
@ -25,6 +25,7 @@ public class TableItemSimple implements Serializable {
|
||||||
public TableItemSimple() {
|
public TableItemSimple() {
|
||||||
super();
|
super();
|
||||||
columns = new ArrayList<ColumnItem>();
|
columns = new ArrayList<ColumnItem>();
|
||||||
|
tabularResource = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -40,6 +41,7 @@ public class TableItemSimple implements Serializable {
|
||||||
this.name = name;
|
this.name = name;
|
||||||
this.description = description;
|
this.description = description;
|
||||||
this.type = type;
|
this.type = type;
|
||||||
|
tabularResource = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -115,7 +117,6 @@ public class TableItemSimple implements Serializable {
|
||||||
this.id = id;
|
this.id = id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public ArrayList<ColumnItem> getColumns() {
|
public ArrayList<ColumnItem> getColumns() {
|
||||||
return columns;
|
return columns;
|
||||||
}
|
}
|
||||||
|
@ -124,13 +125,20 @@ public class TableItemSimple implements Serializable {
|
||||||
this.columns = columns;
|
this.columns = columns;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public boolean isTabularResource() {
|
||||||
|
return tabularResource;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setTabularResource(boolean tabularResource) {
|
||||||
|
this.tabularResource = tabularResource;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return "TableItemSimple [id=" + id + ", name=" + name
|
return "TableItemSimple [id=" + id + ", name=" + name
|
||||||
+ ", description=" + description + ", type=" + type
|
+ ", description=" + description + ", type=" + type
|
||||||
+ ", columns=" + columns + "]";
|
+ ", columns=" + columns + ", tabularResource="
|
||||||
|
+ tabularResource + "]";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -87,11 +87,11 @@ public class TabularListParameter extends Parameter {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return "TabularListParameter [value=" + value + ", separator="
|
return "TabularListParameter [separator=" + separator + ", templates="
|
||||||
+ separator + ", templates=" + templates + ", defaultMimeType="
|
+ templates + ", defaultMimeType=" + defaultMimeType
|
||||||
+ defaultMimeType + ", supportedMimeTypes="
|
+ ", supportedMimeTypes=" + supportedMimeTypes + ", name="
|
||||||
+ supportedMimeTypes + ", name=" + name + ", description="
|
+ name + ", description=" + description + ", typology="
|
||||||
+ description + ", typology=" + typology + "]";
|
+ typology + ", value=" + value + "]";
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -95,11 +95,11 @@ public class TabularParameter extends Parameter {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return "TabularParameter [tableName=" + value + ", templates="
|
return "TabularParameter [templates=" + templates
|
||||||
+ templates + ", defaultMimeType=" + defaultMimeType
|
+ ", defaultMimeType=" + defaultMimeType
|
||||||
+ ", supportedMimeTypes=" + supportedMimeTypes + ", name="
|
+ ", supportedMimeTypes=" + supportedMimeTypes + ", name="
|
||||||
+ name + ", description=" + description + ", typology="
|
+ name + ", description=" + description + ", typology="
|
||||||
+ typology + "]";
|
+ typology + ", value=" + value + "]";
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue