61 lines
1.1 KiB
Java
Executable File
61 lines
1.1 KiB
Java
Executable File
/**
|
|
*
|
|
*/
|
|
package org.gcube.data.analysis.dataminermanagercl.shared.parameters;
|
|
|
|
/**
|
|
*
|
|
* @author Giancarlo Panichi
|
|
*
|
|
*
|
|
*/
|
|
public class TimeParameter extends Parameter {
|
|
|
|
private static final long serialVersionUID = 1673874854501249519L;
|
|
private String defaultValue;
|
|
|
|
/**
|
|
*
|
|
*/
|
|
public TimeParameter() {
|
|
super();
|
|
this.typology = ParameterType.TIME;
|
|
}
|
|
|
|
/**
|
|
*
|
|
* @param name
|
|
* name
|
|
* @param description
|
|
* description
|
|
* @param defaultValue
|
|
* default value
|
|
*/
|
|
public TimeParameter(String name, String description, String defaultValue) {
|
|
super(name, ParameterType.TIME, description);
|
|
this.defaultValue = defaultValue;
|
|
}
|
|
|
|
/**
|
|
* @return the defaultValue
|
|
*/
|
|
public String getDefaultValue() {
|
|
return defaultValue;
|
|
}
|
|
|
|
/**
|
|
* @param defaultValue
|
|
* the defaultValue to set
|
|
*/
|
|
public void setDefaultValue(String defaultValue) {
|
|
this.defaultValue = defaultValue;
|
|
}
|
|
|
|
@Override
|
|
public String toString() {
|
|
return "TimeParameter [defaultValue=" + defaultValue + ", value=" + value + ", name=" + name + ", description="
|
|
+ description + ", typology=" + typology + "]";
|
|
}
|
|
|
|
}
|