data-miner-manager-cl/src/main/java/org/gcube/data/analysis/dataminermanagercl/shared/parameters/ListParameter.java

80 lines
1.4 KiB
Java
Executable File

/**
*
*/
package org.gcube.data.analysis.dataminermanagercl.shared.parameters;
/**
*
* @author Giancarlo Panichi
*
*
*/
public class ListParameter extends Parameter {
private static final long serialVersionUID = 5405965026753332225L;
private String type;
private String separator;
private String defaultValue;
/**
*
*/
public ListParameter() {
super();
this.typology = ParameterType.LIST;
}
/**
*
* @param name name
* @param description description
* @param type type
* @param separator separator
*/
public ListParameter(String name, String description, String type, String separator, String defaultValue) {
super(name, ParameterType.LIST, description);
this.type = type;
this.separator = separator;
this.defaultValue = defaultValue;
}
/**
* @return the type
*/
public String getType() {
return type;
}
/**
* @param type the type to set
*/
public void setType(String type) {
this.type = type;
}
/**
* @return the separator
*/
public String getSeparator() {
return separator;
}
public void setSeparator(String separator) {
this.separator = separator;
}
public String getDefaultValue() {
return defaultValue;
}
public void setDefaultValue(String defaultValue) {
this.defaultValue = defaultValue;
}
@Override
public String toString() {
return "ListParameter [type=" + type + ", separator=" + separator + ", defaultValue=" + defaultValue + "]";
}
}