Package org.geotools.api.parameter
Interface Parameter<T>
- Type Parameters:
T
-
- All Known Implementing Classes:
DataAccessFactory.Param
,Parameter
,WFSDataAccessFactory.WFSFactoryParam
public interface Parameter<T>
General parameter interface.
- Author:
- Justin Deoliveira, OpenGeo
-
Method Summary
Modifier and TypeMethodDescriptionA default value for the parameter.Description of the parameter.int
The maximum number of occurrences of the parameter.int
The minimum number of occurrences of the parameter.getName()
Name of the parameter.getTitle()
Title of the parameter.getType()
Type/class of the parameter.Flag indicating if the parameter is required or not.
-
Method Details
-
getName
String getName()Name of the parameter. -
getTitle
InternationalString getTitle()Title of the parameter. -
getDescription
InternationalString getDescription()Description of the parameter. -
getType
Type/class of the parameter. -
isRequired
Boolean isRequired()Flag indicating if the parameter is required or not. -
getMinOccurs
int getMinOccurs()The minimum number of occurrences of the parameter.- Returns:
- minimum number of occurrences, or -1 if no minimum needed
-
getMaxOccurs
int getMaxOccurs()The maximum number of occurrences of the parameter.- Returns:
- maximum number of occurences, or -1 for unbound
-
getDefaultValue
T getDefaultValue()A default value for the parameter.
-