public class BeanType extends Object
Java class for beanType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="beanType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="class" type="{http://jboss.org/xml/ns/javax/validation/mapping}classType" minOccurs="0"/> <element name="field" type="{http://jboss.org/xml/ns/javax/validation/mapping}fieldType" maxOccurs="unbounded" minOccurs="0"/> <element name="getter" type="{http://jboss.org/xml/ns/javax/validation/mapping}getterType" 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" /> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected ClassType |
classType |
protected String |
clazz |
protected List<FieldType> |
field |
protected List<GetterType> |
getter |
protected Boolean |
ignoreAnnotations |
Constructor and Description |
---|
BeanType() |
Modifier and Type | Method and Description |
---|---|
ClassType |
getClassType()
Gets the value of the classType property.
|
String |
getClazz()
Gets the value of the clazz property.
|
List<FieldType> |
getField()
Gets the value of the field property.
|
List<GetterType> |
getGetter()
Gets the value of the getter property.
|
Boolean |
getIgnoreAnnotations()
Gets the value of the ignoreAnnotations property.
|
void |
setClassType(ClassType value)
Sets the value of the classType property.
|
void |
setClazz(String value)
Sets the value of the clazz property.
|
void |
setIgnoreAnnotations(Boolean value)
Sets the value of the ignoreAnnotations property.
|
protected ClassType classType
protected List<GetterType> getter
protected String clazz
protected Boolean ignoreAnnotations
public ClassType getClassType()
ClassType
public void setClassType(ClassType value)
value
- allowed object is
ClassType
public List<FieldType> getField()
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 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
public List<GetterType> getGetter()
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 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
public String getClazz()
String
public void setClazz(String value)
value
- allowed object is
String
public Boolean getIgnoreAnnotations()
Boolean
Copyright © 2007-2014 Red Hat Middleware, LLC. All Rights Reserved