org.hibernate.validator.xml
Class PayloadType

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

public class PayloadType
extends Object

Java class for payloadType complex type.

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

 <complexType name="payloadType">
   <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>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<String> value
           
 
Constructor Summary
PayloadType()
           
 
Method Summary
 List<String> getValue()
          Gets the value of the value 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
Constructor Detail

PayloadType

public PayloadType()
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



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