Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  //
  // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833 
  // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
  // Any modifications to this file will be lost upon recompilation of the source schema. 
  // Generated on: 2012.05.09 at 12:45:17 PM CEST 
  //
  
  
  package org.hibernate.validator.internal.xml;
 
 import java.util.List;

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>
 
 
 @XmlType(name = "beanType", propOrder = {
     "classType",
     "field",
     "getter"
 })
 public class BeanType {
 
     @XmlElement(name = "class")
     protected ClassType classType;
     protected List<FieldTypefield;
     protected List<GetterTypegetter;
     @XmlAttribute(name = "class", required = true)
     protected String clazz;
     @XmlAttribute(name = "ignore-annotations")
     protected Boolean ignoreAnnotations;

    
Gets the value of the classType property.

Returns:
possible object is
 
     public ClassType getClassType() {
         return ;
     }

    
Sets the value of the classType property.

Parameters:
value allowed object is
 
     public void setClassType(ClassType value) {
         this. = value;
     }

    
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 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

    public List<FieldTypegetField() {
        if ( == null) {
             = new ArrayList<FieldType>();
        }
        return this.;
    }

    
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 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

    public List<GetterTypegetGetter() {
        if ( == null) {
             = new ArrayList<GetterType>();
        }
        return this.;
    }

    
Gets the value of the clazz property.

Returns:
possible object is
    public String getClazz() {
        return ;
    }

    
Sets the value of the clazz property.

Parameters:
value allowed object is
    public void setClazz(String value) {
        this. = value;
    }

    
Gets the value of the ignoreAnnotations property.

Returns:
possible object is
    public Boolean getIgnoreAnnotations() {
        return ;
    }

    
Sets the value of the ignoreAnnotations property.

Parameters:
value allowed object is
    public void setIgnoreAnnotations(Boolean value) {
        this. = value;
    }
New to GrepCode? Check out our FAQ X