Class ValidationConfigType
- java.lang.Object
-
- org.apache.bval.jsr.xml.ValidationConfigType
-
public class ValidationConfigType extends Object
Java class for validation-configType complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="validation-configType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="default-provider" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="message-interpolator" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="traversable-resolver" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="constraint-validator-factory" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="parameter-name-provider" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="clock-provider" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="value-extractor" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> <element name="executable-validation" type="{https://jakarta.ee/xml/ns/validation/configuration}executable-validationType" minOccurs="0"/> <element name="constraint-mapping" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> <element name="property" type="{https://jakarta.ee/xml/ns/validation/configuration}propertyType" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="version" use="required" type="{https://jakarta.ee/xml/ns/validation/configuration}versionType" fixed="3.0" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected StringclockProviderprotected List<String>constraintMappingprotected StringconstraintValidatorFactoryprotected StringdefaultProviderprotected ExecutableValidationTypeexecutableValidationprotected StringmessageInterpolatorprotected StringparameterNameProviderprotected List<PropertyType>propertyprotected StringtraversableResolverprotected List<String>valueExtractorprotected Stringversion
-
Constructor Summary
Constructors Constructor Description ValidationConfigType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetClockProvider()Gets the value of the clockProvider property.List<String>getConstraintMapping()Gets the value of the constraintMapping property.StringgetConstraintValidatorFactory()Gets the value of the constraintValidatorFactory property.StringgetDefaultProvider()Gets the value of the defaultProvider property.ExecutableValidationTypegetExecutableValidation()Gets the value of the executableValidation property.StringgetMessageInterpolator()Gets the value of the messageInterpolator property.StringgetParameterNameProvider()Gets the value of the parameterNameProvider property.List<PropertyType>getProperty()Gets the value of the property property.StringgetTraversableResolver()Gets the value of the traversableResolver property.List<String>getValueExtractor()Gets the value of the valueExtractor property.StringgetVersion()Gets the value of the version property.voidsetClockProvider(String value)Sets the value of the clockProvider property.voidsetConstraintValidatorFactory(String value)Sets the value of the constraintValidatorFactory property.voidsetDefaultProvider(String value)Sets the value of the defaultProvider property.voidsetExecutableValidation(ExecutableValidationType value)Sets the value of the executableValidation property.voidsetMessageInterpolator(String value)Sets the value of the messageInterpolator property.voidsetParameterNameProvider(String value)Sets the value of the parameterNameProvider property.voidsetTraversableResolver(String value)Sets the value of the traversableResolver property.voidsetVersion(String value)Sets the value of the version property.
-
-
-
Field Detail
-
defaultProvider
protected String defaultProvider
-
messageInterpolator
protected String messageInterpolator
-
traversableResolver
protected String traversableResolver
-
constraintValidatorFactory
protected String constraintValidatorFactory
-
parameterNameProvider
protected String parameterNameProvider
-
clockProvider
protected String clockProvider
-
executableValidation
protected ExecutableValidationType executableValidation
-
property
protected List<PropertyType> property
-
version
protected String version
-
-
Method Detail
-
getDefaultProvider
public String getDefaultProvider()
Gets the value of the defaultProvider property.- Returns:
- possible object is
String
-
setDefaultProvider
public void setDefaultProvider(String value)
Sets the value of the defaultProvider property.- Parameters:
value- allowed object isString
-
getMessageInterpolator
public String getMessageInterpolator()
Gets the value of the messageInterpolator property.- Returns:
- possible object is
String
-
setMessageInterpolator
public void setMessageInterpolator(String value)
Sets the value of the messageInterpolator property.- Parameters:
value- allowed object isString
-
getTraversableResolver
public String getTraversableResolver()
Gets the value of the traversableResolver property.- Returns:
- possible object is
String
-
setTraversableResolver
public void setTraversableResolver(String value)
Sets the value of the traversableResolver property.- Parameters:
value- allowed object isString
-
getConstraintValidatorFactory
public String getConstraintValidatorFactory()
Gets the value of the constraintValidatorFactory property.- Returns:
- possible object is
String
-
setConstraintValidatorFactory
public void setConstraintValidatorFactory(String value)
Sets the value of the constraintValidatorFactory property.- Parameters:
value- allowed object isString
-
getParameterNameProvider
public String getParameterNameProvider()
Gets the value of the parameterNameProvider property.- Returns:
- possible object is
String
-
setParameterNameProvider
public void setParameterNameProvider(String value)
Sets the value of the parameterNameProvider property.- Parameters:
value- allowed object isString
-
getClockProvider
public String getClockProvider()
Gets the value of the clockProvider property.- Returns:
- possible object is
String
-
setClockProvider
public void setClockProvider(String value)
Sets the value of the clockProvider property.- Parameters:
value- allowed object isString
-
getValueExtractor
public List<String> getValueExtractor()
Gets the value of the valueExtractor property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the valueExtractor property.For example, to add a new item, do as follows:
getValueExtractor().add(newItem);
Objects of the following type(s) are allowed in the list
String- Returns:
- The value of the valueExtractor property.
-
getExecutableValidation
public ExecutableValidationType getExecutableValidation()
Gets the value of the executableValidation property.- Returns:
- possible object is
ExecutableValidationType
-
setExecutableValidation
public void setExecutableValidation(ExecutableValidationType value)
Sets the value of the executableValidation property.- Parameters:
value- allowed object isExecutableValidationType
-
getConstraintMapping
public List<String> getConstraintMapping()
Gets the value of the constraintMapping property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the constraintMapping property.For example, to add a new item, do as follows:
getConstraintMapping().add(newItem);
Objects of the following type(s) are allowed in the list
String- Returns:
- The value of the constraintMapping property.
-
getProperty
public List<PropertyType> getProperty()
Gets the value of the property property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the property property.For example, to add a new item, do as follows:
getProperty().add(newItem);
Objects of the following type(s) are allowed in the list
PropertyType- Returns:
- The value of the property property.
-
getVersion
public String getVersion()
Gets the value of the version property.- Returns:
- possible object is
String
-
-