Interface TemplateVariable
-
- All Superinterfaces:
Element,PropertyElement,Serializable
- All Known Implementing Classes:
TemplateVariableImpl
@TypeMetadata(name="TemplateVariable", description="This is the class used to define the a TemplateVariable", version="1.0.0") @Change(version="1.0.0", description="First Version") public interface TemplateVariable extends PropertyElement
- Author:
- Luca Frosini (ISTI - CNR)
-
-
Field Summary
Fields Modifier and Type Field Description static StringNAMEstatic StringVARIABLE_DEFAULT_VALUE_PROPERTYstatic StringVARIABLE_DESCRIPTION_PROPERTYstatic StringVARIABLE_NAME_PROPERTY-
Fields inherited from interface org.gcube.informationsystem.base.reference.Element
DATETIME_PATTERN, TYPE_PROPERTY
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetDefaultValue()StringgetDescription()StringgetName()voidsetDefaultValue(String defaultValue)voidsetDescription(String description)voidsetName(String name)-
Methods inherited from interface org.gcube.informationsystem.base.reference.Element
getTypeName
-
-
-
-
Field Detail
-
NAME
static final String NAME
- See Also:
- Constant Field Values
-
VARIABLE_NAME_PROPERTY
static final String VARIABLE_NAME_PROPERTY
- See Also:
- Constant Field Values
-
VARIABLE_DESCRIPTION_PROPERTY
static final String VARIABLE_DESCRIPTION_PROPERTY
- See Also:
- Constant Field Values
-
VARIABLE_DEFAULT_VALUE_PROPERTY
static final String VARIABLE_DEFAULT_VALUE_PROPERTY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getName
@ISProperty(name="name", description="The name of the Query Template Variable.", readonly=true, mandatory=true, nullable=false) String getName()
-
setName
void setName(String name)
-
getDescription
@ISProperty(name="description", description="The description of the Query Template Variable.", readonly=false, mandatory=true, nullable=false) String getDescription()
-
setDescription
void setDescription(String description)
-
getDefaultValue
@ISProperty(name="defaultValue", description="The default value of the Query Template Variable. The default value is used as is to the query. If the value needs quotation or escaping please include them to the default value", readonly=false, mandatory=true, nullable=false) String getDefaultValue()
-
setDefaultValue
void setDefaultValue(String defaultValue)
-
-