74 lines
1.6 KiB
Java
74 lines
1.6 KiB
Java
/**
|
|
*
|
|
*/
|
|
package org.gcube.data.analysis.dataminermanagercl.shared.parameters;
|
|
|
|
import java.util.ArrayList;
|
|
|
|
/**
|
|
*
|
|
* @author Giancarlo Panichi email: <a
|
|
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
|
*
|
|
*/
|
|
public class TabularResourceParameter extends Parameter {
|
|
|
|
private static final long serialVersionUID = 8038591467145151553L;
|
|
private String tabularResourceId;
|
|
private ArrayList<String> columns;
|
|
|
|
/**
|
|
*
|
|
*/
|
|
public TabularResourceParameter() {
|
|
super();
|
|
this.typology = ParameterType.TABULAR_RESOURCE;
|
|
}
|
|
|
|
/**
|
|
*
|
|
* @param name
|
|
* @param description
|
|
* @param tableName
|
|
*/
|
|
public TabularResourceParameter(String name, String description,
|
|
String tabularResourceId, ArrayList<String> columns) {
|
|
super(name, ParameterType.TABULAR_RESOURCE, description);
|
|
this.tabularResourceId = tabularResourceId;
|
|
this.columns = columns;
|
|
}
|
|
|
|
public String getTabularResourceId() {
|
|
return tabularResourceId;
|
|
}
|
|
|
|
public void setTabularResourceId(String tabularResourceId) {
|
|
this.tabularResourceId = tabularResourceId;
|
|
}
|
|
|
|
public ArrayList<String> getColumns() {
|
|
return columns;
|
|
}
|
|
|
|
public void setColumns(ArrayList<String> columns) {
|
|
this.columns = columns;
|
|
}
|
|
|
|
public String getPublicLink() {
|
|
return value;
|
|
}
|
|
|
|
public void setPublicLink(String publicLink) {
|
|
this.value = publicLink;
|
|
}
|
|
|
|
@Override
|
|
public String toString() {
|
|
return "TabularResourceParameter [tabularResourceId="
|
|
+ tabularResourceId + ", columns=" + columns + ", name=" + name
|
|
+ ", description=" + description + ", typology=" + typology
|
|
+ ", value=" + value + "]";
|
|
}
|
|
|
|
}
|