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.11.28 at 06:08:16 PM CET 
  //
  
  
  package org.hibernate.validator.internal.xml;
 
 import java.util.List;

Java class for fieldType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="fieldType">
   <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="constraint" type="{http://jboss.org/xml/ns/javax/validation/mapping}constraintType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="name" 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 = "fieldType", propOrder = {
     "valid",
     "constraint"
 })
 public class FieldType {
 
     protected String valid;
     protected List<ConstraintTypeconstraint;
     @XmlAttribute(required = true)
     protected String name;
     @XmlAttribute(name = "ignore-annotations")
     protected Boolean ignoreAnnotations;

    
Gets the value of the valid property.

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

    
Sets the value of the valid property.

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

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

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

    
Gets the value of the name property.

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

    
Sets the value of the name property.

Parameters:
value allowed object is
    public void setName(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