Class TemplateVariableImpl
- java.lang.Object
-
- org.gcube.informationsystem.base.impl.ElementImpl
-
- org.gcube.informationsystem.base.impl.properties.PropertyElementImpl
-
- org.gcube.informationsystem.queries.templates.impl.properties.TemplateVariableImpl
-
- All Implemented Interfaces:
Serializable,Attribute,Element,PropertyElement,SchemaMixedElement,ModelElement,Property,TemplateVariable
public class TemplateVariableImpl extends PropertyElementImpl implements TemplateVariable
- Author:
- Luca Frosini (ISTI - CNR)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected ObjectdefaultValueprotected Stringdescriptionprotected Stringname-
Fields inherited from class org.gcube.informationsystem.base.impl.properties.PropertyElementImpl
additionalProperties, allowedAdditionalKeys, expectedtype, supertypes
-
Fields inherited from interface org.gcube.informationsystem.base.reference.Attribute
DEFAULT_VALUE_PROPERTY, DESCRIPTION_PROPERTY, MAX_PROPERTY, MIN_PROPERTY, NAME_PROPERTY, PROPERTY_TYPE_PROPERTY, REGEX_PROPERTY
-
Fields inherited from interface org.gcube.informationsystem.base.reference.Element
DATETIME_PATTERN, NAME, TYPE_PROPERTY
-
Fields inherited from interface org.gcube.informationsystem.model.reference.ModelElement
EXPECTED_TYPE_PROPERTY, SUPERTYPES_PROPERTY
-
Fields inherited from interface org.gcube.informationsystem.model.reference.properties.Property
NAME
-
Fields inherited from interface org.gcube.informationsystem.queries.templates.reference.properties.TemplateVariable
NAME, VERSION
-
-
Constructor Summary
Constructors Constructor Description TemplateVariableImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetDefaultValue()StringgetDescription()IntegergetMax()IntegergetMin()StringgetName()StringgetPropertyType()PropertyTypeNamegetPropertyTypeName()StringgetRegexp()voidsetDefaultValue(Object defaultValue)voidsetDescription(String description)voidsetMax(Integer max)voidsetMin(Integer min)voidsetName(String name)voidsetPropertyType(String type)voidsetRegexp(String regexp)StringtoString()-
Methods inherited from class org.gcube.informationsystem.base.impl.properties.PropertyElementImpl
addAllowedAdditionalKey, getAdditionalProperties, getAdditionalProperty, getExpectedtype, getSupertypes, setAdditionalProperties, setAdditionalProperty
-
Methods inherited from class org.gcube.informationsystem.base.impl.ElementImpl
getTypeName
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.gcube.informationsystem.base.reference.Element
getTypeName
-
-
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getNamein interfaceAttribute- Specified by:
getNamein interfaceTemplateVariable
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceAttribute- Specified by:
getDescriptionin interfaceTemplateVariable
-
setDescription
public void setDescription(String description)
- Specified by:
setDescriptionin interfaceAttribute
-
getMax
public Integer getMax()
- Specified by:
getMaxin interfaceAttribute- Specified by:
getMaxin interfaceTemplateVariable
-
getMin
public Integer getMin()
- Specified by:
getMinin interfaceAttribute- Specified by:
getMinin interfaceTemplateVariable
-
getRegexp
public String getRegexp()
- Specified by:
getRegexpin interfaceAttribute- Specified by:
getRegexpin interfaceTemplateVariable
-
getPropertyType
public String getPropertyType()
- Specified by:
getPropertyTypein interfaceAttribute- Specified by:
getPropertyTypein interfaceTemplateVariable
-
setPropertyType
public void setPropertyType(String type)
- Specified by:
setPropertyTypein interfaceAttribute
-
getPropertyTypeName
public PropertyTypeName getPropertyTypeName()
- Specified by:
getPropertyTypeNamein interfaceAttribute
-
getDefaultValue
public Object getDefaultValue()
- Specified by:
getDefaultValuein interfaceAttribute- Specified by:
getDefaultValuein interfaceTemplateVariable
-
setDefaultValue
public void setDefaultValue(Object defaultValue)
- Specified by:
setDefaultValuein interfaceAttribute
-
toString
public String toString()
- Overrides:
toStringin classElementImpl
-
-