60 lines
1.2 KiB
Java
60 lines
1.2 KiB
Java
/**
|
|
*
|
|
*/
|
|
package org.gcube.informationsystem.queries.templates.impl.properties;
|
|
|
|
import org.gcube.com.fasterxml.jackson.annotation.JsonTypeName;
|
|
import org.gcube.informationsystem.base.impl.properties.PropertyElementImpl;
|
|
import org.gcube.informationsystem.queries.templates.reference.properties.TemplateVariable;
|
|
|
|
/**
|
|
* @author Luca Frosini (ISTI - CNR)
|
|
*/
|
|
@JsonTypeName(value=TemplateVariable.NAME)
|
|
public class TemplateVariableImpl extends PropertyElementImpl implements TemplateVariable {
|
|
|
|
/**
|
|
* Generated Serial Version UID
|
|
*/
|
|
private static final long serialVersionUID = 2628113641100130640L;
|
|
|
|
protected String name;
|
|
protected String description;
|
|
protected String defaultValue;
|
|
|
|
public TemplateVariableImpl() {
|
|
super();
|
|
}
|
|
|
|
@Override
|
|
public String getName() {
|
|
return name;
|
|
}
|
|
|
|
@Override
|
|
public void setName(String name) {
|
|
this.name = name;
|
|
}
|
|
|
|
@Override
|
|
public String getDescription() {
|
|
return description;
|
|
}
|
|
|
|
@Override
|
|
public void setDescription(String description) {
|
|
this.description = description;
|
|
}
|
|
|
|
@Override
|
|
public String getDefaultValue() {
|
|
return defaultValue;
|
|
}
|
|
|
|
@Override
|
|
public void setDefaultValue(String defaultValue) {
|
|
this.defaultValue = defaultValue;
|
|
}
|
|
|
|
}
|