Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 import java.util.List;

Java class for ValueListType complex type.

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

 <complexType name="ValueListType">
     <restriction base="{}anyType">
       <sequence maxOccurs="unbounded" minOccurs="0">
         <element ref="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}Value"/>
@XmlType(name = "ValueListType", propOrder = {
public class ValueListType {
    @XmlElement(name = "Value")
    protected List<Stringvalue;

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:


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

    public List<StringgetValue() {
        if ( == null) {
             = new ArrayList<String>();
        return this.;
New to GrepCode? Check out our FAQ X