Class ParameterType
- java.lang.Object
-
- org.apache.bval.jsr.xml.ParameterType
-
public class ParameterType extends Object
Classe Java pour parameterType complex type.
Le fragment de schéma suivant indique le contenu attendu figurant dans cette classe.
<complexType name="parameterType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="valid" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="convert-group" type="{http://xmlns.jcp.org/xml/ns/validation/mapping}groupConversionType" maxOccurs="unbounded" minOccurs="0"/> <element name="container-element-type" type="{http://xmlns.jcp.org/xml/ns/validation/mapping}containerElementTypeType" maxOccurs="unbounded" minOccurs="0"/> <element name="constraint" type="{http://xmlns.jcp.org/xml/ns/validation/mapping}constraintType" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="ignore-annotations" type="{http://www.w3.org/2001/XMLSchema}boolean" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected List<ConstraintType>constraintprotected List<ContainerElementTypeType>containerElementTypeprotected List<GroupConversionType>convertGroupprotected BooleanignoreAnnotationsprotected Stringtypeprotected Stringvalid
-
Constructor Summary
Constructors Constructor Description ParameterType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ConstraintType>getConstraint()Gets the value of the constraint property.List<ContainerElementTypeType>getContainerElementType()Gets the value of the containerElementType property.List<GroupConversionType>getConvertGroup()Gets the value of the convertGroup property.BooleangetIgnoreAnnotations()Obtient la valeur de la propriété ignoreAnnotations.StringgetType()Obtient la valeur de la propriété type.StringgetValid()Obtient la valeur de la propriété valid.voidsetIgnoreAnnotations(Boolean value)Définit la valeur de la propriété ignoreAnnotations.voidsetType(String value)Définit la valeur de la propriété type.voidsetValid(String value)Définit la valeur de la propriété valid.
-
-
-
Field Detail
-
valid
protected String valid
-
convertGroup
protected List<GroupConversionType> convertGroup
-
containerElementType
protected List<ContainerElementTypeType> containerElementType
-
constraint
protected List<ConstraintType> constraint
-
type
protected String type
-
ignoreAnnotations
protected Boolean ignoreAnnotations
-
-
Method Detail
-
getValid
public String getValid()
Obtient la valeur de la propriété valid.- Returns:
- possible object is
String
-
setValid
public void setValid(String value)
Définit la valeur de la propriété valid.- Parameters:
value- allowed object isString
-
getConvertGroup
public List<GroupConversionType> getConvertGroup()
Gets the value of the convertGroup 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 convertGroup property.For example, to add a new item, do as follows:
getConvertGroup().add(newItem);Objects of the following type(s) are allowed in the list
GroupConversionType
-
getContainerElementType
public List<ContainerElementTypeType> getContainerElementType()
Gets the value of the containerElementType 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 containerElementType property.For example, to add a new item, do as follows:
getContainerElementType().add(newItem);Objects of the following type(s) are allowed in the list
ContainerElementTypeType
-
getConstraint
public List<ConstraintType> getConstraint()
Gets the value of the constraint 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 constraint property.For example, to add a new item, do as follows:
getConstraint().add(newItem);Objects of the following type(s) are allowed in the list
ConstraintType
-
getType
public String getType()
Obtient la valeur de la propriété type.- Returns:
- possible object is
String
-
setType
public void setType(String value)
Définit la valeur de la propriété type.- Parameters:
value- allowed object isString
-
getIgnoreAnnotations
public Boolean getIgnoreAnnotations()
Obtient la valeur de la propriété ignoreAnnotations.- Returns:
- possible object is
Boolean
-
-