public class VirtualTableParameter extends Object implements Serializable
VirtualTable
parameter. Has a name, a default value, and a VirtualTableParameter.Validator
to protect
the parameters against sql injection attacks.
The class includes some default validators
Modifier and Type | Class and Description |
---|---|
static interface |
VirtualTableParameter.Validator
Interface to be implemented by parameter value validators
|
Constructor and Description |
---|
VirtualTableParameter(String name,
String defaultValue) |
VirtualTableParameter(String name,
String defaultValue,
VirtualTableParameter.Validator validator) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getDefaultValue() |
String |
getName() |
VirtualTableParameter.Validator |
getValidator() |
int |
hashCode() |
void |
setDefaultValue(String defaultValue) |
void |
setName(String name) |
void |
setValidator(VirtualTableParameter.Validator validator) |
public VirtualTableParameter(String name, String defaultValue, VirtualTableParameter.Validator validator)
public String getName()
public void setName(String name)
public String getDefaultValue()
public void setDefaultValue(String defaultValue)
public VirtualTableParameter.Validator getValidator()
public void setValidator(VirtualTableParameter.Validator validator)
Copyright © 1996–2019 Geotools. All rights reserved.