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="constraint-mapping" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> <element name="property" type="{http://jboss.org/xml/ns/javax/validation/configuration}propertyType" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected List<String> |
constraintMapping |
protected String |
constraintValidatorFactory |
protected String |
defaultProvider |
protected String |
messageInterpolator |
protected List<PropertyType> |
property |
protected String |
traversableResolver |
Constructor and Description |
---|
ValidationConfigType() |
Modifier and Type | Method and Description |
---|---|
List<String> |
getConstraintMapping()
Gets the value of the constraintMapping property.
|
String |
getConstraintValidatorFactory()
Gets the value of the constraintValidatorFactory property.
|
String |
getDefaultProvider()
Gets the value of the defaultProvider property.
|
String |
getMessageInterpolator()
Gets the value of the messageInterpolator property.
|
List<PropertyType> |
getProperty()
Gets the value of the property property.
|
String |
getTraversableResolver()
Gets the value of the traversableResolver property.
|
void |
setConstraintValidatorFactory(String value)
Sets the value of the constraintValidatorFactory property.
|
void |
setDefaultProvider(String value)
Sets the value of the defaultProvider property.
|
void |
setMessageInterpolator(String value)
Sets the value of the messageInterpolator property.
|
void |
setTraversableResolver(String value)
Sets the value of the traversableResolver property.
|
protected String defaultProvider
protected String messageInterpolator
protected String traversableResolver
protected String constraintValidatorFactory
protected List<PropertyType> property
public String getDefaultProvider()
String
public void setDefaultProvider(String value)
value
- allowed object is
String
public String getMessageInterpolator()
String
public void setMessageInterpolator(String value)
value
- allowed object is
String
public String getTraversableResolver()
String
public void setTraversableResolver(String value)
value
- allowed object is
String
public String getConstraintValidatorFactory()
String
public void setConstraintValidatorFactory(String value)
value
- allowed object is
String
public List<String> getConstraintMapping()
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 set
method 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
public List<PropertyType> getProperty()
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 set
method 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
Copyright © 2018 JBoss by Red Hat. All rights reserved.