org.hibernate.validator.xml
Class GetterType

java.lang.Object
  extended by org.hibernate.validator.xml.GetterType

public class GetterType
extends Object

Java class for getterType complex type.

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

 <complexType name="getterType">
   <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>
 


Field Summary
protected  List<ConstraintType> constraint
           
protected  Boolean ignoreAnnotations
           
protected  String name
           
protected  String valid
           
 
Constructor Summary
GetterType()
           
 
Method Summary
 List<ConstraintType> getConstraint()
          Gets the value of the constraint property.
 String getName()
          Gets the value of the name property.
 String getValid()
          Gets the value of the valid property.
 Boolean isIgnoreAnnotations()
          Gets the value of the ignoreAnnotations property.
 void setIgnoreAnnotations(Boolean value)
          Sets the value of the ignoreAnnotations property.
 void setName(String value)
          Sets the value of the name property.
 void setValid(String value)
          Sets the value of the valid property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

valid

protected String valid

constraint

protected List<ConstraintType> constraint

name

protected String name

ignoreAnnotations

protected Boolean ignoreAnnotations
Constructor Detail

GetterType

public GetterType()
Method Detail

getValid

public String getValid()
Gets the value of the valid property.

Returns:
possible object is String

setValid

public void setValid(String value)
Sets the value of the valid property.

Parameters:
value - allowed object is String

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


getName

public String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

isIgnoreAnnotations

public Boolean isIgnoreAnnotations()
Gets the value of the ignoreAnnotations property.

Returns:
possible object is Boolean

setIgnoreAnnotations

public void setIgnoreAnnotations(Boolean value)
Sets the value of the ignoreAnnotations property.

Parameters:
value - allowed object is Boolean


Copyright © 2007-2011 Red Hat Middleware, LLC. All Rights Reserved