Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 
 package oasis.names.tc.ebxml_regrep.xsd.rim._3;
 
 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">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence maxOccurs="unbounded" minOccurs="0">
         <element ref="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}Value"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
@XmlType(name = "ValueListType", propOrder = {
    "value"
})
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:

    getValue().add(newItem);
 

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