public class ConstraintMappingsType
extends java.lang.Object
Java class for constraint-mappingsType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="constraint-mappingsType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="default-package" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="bean" type="{http://jboss.org/xml/ns/javax/validation/mapping}beanType" maxOccurs="unbounded" minOccurs="0"/> <element name="constraint-definition" type="{http://jboss.org/xml/ns/javax/validation/mapping}constraint-definitionType" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="version" type="{http://jboss.org/xml/ns/javax/validation/mapping}versionType" fixed="1.1" /> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected java.util.List<BeanType> |
bean |
protected java.util.List<ConstraintDefinitionType> |
constraintDefinition |
protected java.lang.String |
defaultPackage |
protected java.lang.String |
version |
Constructor and Description |
---|
ConstraintMappingsType() |
Modifier and Type | Method and Description |
---|---|
java.util.List<BeanType> |
getBean()
Gets the value of the bean property.
|
java.util.List<ConstraintDefinitionType> |
getConstraintDefinition()
Gets the value of the constraintDefinition property.
|
java.lang.String |
getDefaultPackage()
Gets the value of the defaultPackage property.
|
java.lang.String |
getVersion()
Gets the value of the version property.
|
void |
setDefaultPackage(java.lang.String value)
Sets the value of the defaultPackage property.
|
void |
setVersion(java.lang.String value)
Sets the value of the version property.
|
protected java.lang.String defaultPackage
protected java.util.List<BeanType> bean
protected java.util.List<ConstraintDefinitionType> constraintDefinition
protected java.lang.String version
public java.lang.String getDefaultPackage()
String
public void setDefaultPackage(java.lang.String value)
value
- allowed object is
String
public java.util.List<BeanType> getBean()
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 bean property.
For example, to add a new item, do as follows:
getBean().add(newItem);
Objects of the following type(s) are allowed in the list
BeanType
public java.util.List<ConstraintDefinitionType> getConstraintDefinition()
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 constraintDefinition property.
For example, to add a new item, do as follows:
getConstraintDefinition().add(newItem);
Objects of the following type(s) are allowed in the list
ConstraintDefinitionType
public java.lang.String getVersion()
String
public void setVersion(java.lang.String value)
value
- allowed object is
String