Package org.apache.bval.jsr.xml
Class ValidatedByType
- java.lang.Object
-
- org.apache.bval.jsr.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
Fields Modifier and Type Field Description protected BooleanincludeExistingValidatorsprotected List<String>value
-
Constructor Summary
Constructors Constructor Description ValidatedByType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleangetIncludeExistingValidators()Gets the value of the includeExistingValidators property.List<String>getValue()Gets the value of the value property.voidsetIncludeExistingValidators(Boolean value)Sets the value of the includeExistingValidators property.
-
-
-
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
setmethod 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- Returns:
- The value of the value property.
-
getIncludeExistingValidators
public Boolean getIncludeExistingValidators()
Gets the value of the includeExistingValidators property.- Returns:
- possible object is
Boolean
-
-