org.hibernate.validator.xml
Class ValidatedByType

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

public class ValidatedByType
extends Object

Java class for validated-byType complex type.

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

 <complexType name="validated-byType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="value" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="include-existing-validators" type="{http://www.w3.org/2001/XMLSchema}boolean" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  Boolean includeExistingValidators
           
protected  List<String> value
           
 
Constructor Summary
ValidatedByType()
           
 
Method Summary
 List<String> getValue()
          Gets the value of the value property.
 Boolean isIncludeExistingValidators()
          Gets the value of the includeExistingValidators property.
 void setIncludeExistingValidators(Boolean value)
          Sets the value of the includeExistingValidators property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

protected List<String> value

includeExistingValidators

protected Boolean includeExistingValidators
Constructor Detail

ValidatedByType

public ValidatedByType()
Method Detail

getValue

public List<String> getValue()
Gets the value of the value 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 value property.

For example, to add a new item, do as follows:

    getValue().add(newItem);
 

Objects of the following type(s) are allowed in the list String


isIncludeExistingValidators

public Boolean isIncludeExistingValidators()
Gets the value of the includeExistingValidators property.

Returns:
possible object is Boolean

setIncludeExistingValidators

public void setIncludeExistingValidators(Boolean value)
Sets the value of the includeExistingValidators property.

Parameters:
value - allowed object is Boolean


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