Class ValidationConfigType
- java.lang.Object
-
- org.apache.bval.jsr.xml.ValidationConfigType
-
public class ValidationConfigType extends Object
Classe Java pour validation-configType complex type.
Le fragment de schéma suivant indique le contenu attendu figurant dans cette classe.
<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="{http://xmlns.jcp.org/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="{http://xmlns.jcp.org/xml/ns/validation/configuration}propertyType" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="version" type="{http://xmlns.jcp.org/xml/ns/validation/configuration}versionType" fixed="2.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()Obtient la valeur de la propriété clockProvider.List<String>getConstraintMapping()Gets the value of the constraintMapping property.StringgetConstraintValidatorFactory()Obtient la valeur de la propriété constraintValidatorFactory.StringgetDefaultProvider()Obtient la valeur de la propriété defaultProvider.ExecutableValidationTypegetExecutableValidation()Obtient la valeur de la propriété executableValidation.StringgetMessageInterpolator()Obtient la valeur de la propriété messageInterpolator.StringgetParameterNameProvider()Obtient la valeur de la propriété parameterNameProvider.List<PropertyType>getProperty()Gets the value of the property property.StringgetTraversableResolver()Obtient la valeur de la propriété traversableResolver.List<String>getValueExtractor()Gets the value of the valueExtractor property.StringgetVersion()Obtient la valeur de la propriété version.voidsetClockProvider(String value)Définit la valeur de la propriété clockProvider.voidsetConstraintValidatorFactory(String value)Définit la valeur de la propriété constraintValidatorFactory.voidsetDefaultProvider(String value)Définit la valeur de la propriété defaultProvider.voidsetExecutableValidation(ExecutableValidationType value)Définit la valeur de la propriété executableValidation.voidsetMessageInterpolator(String value)Définit la valeur de la propriété messageInterpolator.voidsetParameterNameProvider(String value)Définit la valeur de la propriété parameterNameProvider.voidsetTraversableResolver(String value)Définit la valeur de la propriété traversableResolver.voidsetVersion(String value)Définit la valeur de la propriété version.
-
-
-
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()
Obtient la valeur de la propriété defaultProvider.- Returns:
- possible object is
String
-
setDefaultProvider
public void setDefaultProvider(String value)
Définit la valeur de la propriété defaultProvider.- Parameters:
value- allowed object isString
-
getMessageInterpolator
public String getMessageInterpolator()
Obtient la valeur de la propriété messageInterpolator.- Returns:
- possible object is
String
-
setMessageInterpolator
public void setMessageInterpolator(String value)
Définit la valeur de la propriété messageInterpolator.- Parameters:
value- allowed object isString
-
getTraversableResolver
public String getTraversableResolver()
Obtient la valeur de la propriété traversableResolver.- Returns:
- possible object is
String
-
setTraversableResolver
public void setTraversableResolver(String value)
Définit la valeur de la propriété traversableResolver.- Parameters:
value- allowed object isString
-
getConstraintValidatorFactory
public String getConstraintValidatorFactory()
Obtient la valeur de la propriété constraintValidatorFactory.- Returns:
- possible object is
String
-
setConstraintValidatorFactory
public void setConstraintValidatorFactory(String value)
Définit la valeur de la propriété constraintValidatorFactory.- Parameters:
value- allowed object isString
-
getParameterNameProvider
public String getParameterNameProvider()
Obtient la valeur de la propriété parameterNameProvider.- Returns:
- possible object is
String
-
setParameterNameProvider
public void setParameterNameProvider(String value)
Définit la valeur de la propriété parameterNameProvider.- Parameters:
value- allowed object isString
-
getClockProvider
public String getClockProvider()
Obtient la valeur de la propriété clockProvider.- Returns:
- possible object is
String
-
setClockProvider
public void setClockProvider(String value)
Définit la valeur de la propriété clockProvider.- 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
-
getExecutableValidation
public ExecutableValidationType getExecutableValidation()
Obtient la valeur de la propriété executableValidation.- Returns:
- possible object is
ExecutableValidationType
-
setExecutableValidation
public void setExecutableValidation(ExecutableValidationType value)
Définit la valeur de la propriété executableValidation.- 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
-
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
-
getVersion
public String getVersion()
Obtient la valeur de la propriété version.- Returns:
- possible object is
String
-
-