Class BeanType
- java.lang.Object
-
- org.apache.bval.jsr.xml.BeanType
-
public class BeanType extends Object
Classe Java pour beanType complex type.
Le fragment de schéma suivant indique le contenu attendu figurant dans cette classe.
<complexType name="beanType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="class" type="{http://xmlns.jcp.org/xml/ns/validation/mapping}classType" minOccurs="0"/> <element name="field" type="{http://xmlns.jcp.org/xml/ns/validation/mapping}fieldType" maxOccurs="unbounded" minOccurs="0"/> <element name="getter" type="{http://xmlns.jcp.org/xml/ns/validation/mapping}getterType" maxOccurs="unbounded" minOccurs="0"/> <element name="constructor" type="{http://xmlns.jcp.org/xml/ns/validation/mapping}constructorType" maxOccurs="unbounded" minOccurs="0"/> <element name="method" type="{http://xmlns.jcp.org/xml/ns/validation/mapping}methodType" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="class" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="ignore-annotations" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected ClassTypeclassTypeprotected Stringclazzprotected List<ConstructorType>constructorprotected List<FieldType>fieldprotected List<GetterType>getterprotected BooleanignoreAnnotationsprotected List<MethodType>method
-
Constructor Summary
Constructors Constructor Description BeanType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClassTypegetClassType()Obtient la valeur de la propriété classType.StringgetClazz()Obtient la valeur de la propriété clazz.List<ConstructorType>getConstructor()Gets the value of the constructor property.List<FieldType>getField()Gets the value of the field property.List<GetterType>getGetter()Gets the value of the getter property.BooleangetIgnoreAnnotations()Obtient la valeur de la propriété ignoreAnnotations.List<MethodType>getMethod()Gets the value of the method property.voidsetClassType(ClassType value)Définit la valeur de la propriété classType.voidsetClazz(String value)Définit la valeur de la propriété clazz.voidsetIgnoreAnnotations(Boolean value)Définit la valeur de la propriété ignoreAnnotations.
-
-
-
Field Detail
-
classType
protected ClassType classType
-
getter
protected List<GetterType> getter
-
constructor
protected List<ConstructorType> constructor
-
method
protected List<MethodType> method
-
clazz
protected String clazz
-
ignoreAnnotations
protected Boolean ignoreAnnotations
-
-
Method Detail
-
getClassType
public ClassType getClassType()
Obtient la valeur de la propriété classType.- Returns:
- possible object is
ClassType
-
setClassType
public void setClassType(ClassType value)
Définit la valeur de la propriété classType.- Parameters:
value- allowed object isClassType
-
getField
public List<FieldType> getField()
Gets the value of the field 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 field property.For example, to add a new item, do as follows:
getField().add(newItem);Objects of the following type(s) are allowed in the list
FieldType
-
getGetter
public List<GetterType> getGetter()
Gets the value of the getter 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 getter property.For example, to add a new item, do as follows:
getGetter().add(newItem);Objects of the following type(s) are allowed in the list
GetterType
-
getConstructor
public List<ConstructorType> getConstructor()
Gets the value of the constructor 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 constructor property.For example, to add a new item, do as follows:
getConstructor().add(newItem);Objects of the following type(s) are allowed in the list
ConstructorType
-
getMethod
public List<MethodType> getMethod()
Gets the value of the method 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 method property.For example, to add a new item, do as follows:
getMethod().add(newItem);Objects of the following type(s) are allowed in the list
MethodType
-
getClazz
public String getClazz()
Obtient la valeur de la propriété clazz.- Returns:
- possible object is
String
-
setClazz
public void setClazz(String value)
Définit la valeur de la propriété clazz.- Parameters:
value- allowed object isString
-
getIgnoreAnnotations
public Boolean getIgnoreAnnotations()
Obtient la valeur de la propriété ignoreAnnotations.- Returns:
- possible object is
Boolean
-
-