Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 //
 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4 
 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
 // Any modifications to this file will be lost upon recompilation of the source schema. 
 // Generated on: 2011.09.02 at 11:34:46 AM UTC 
 //
 
 
 package com.sun.jersey.samples.extendedwadl.model;

Java class for items complex type.

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

 <complexType name="items">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="item" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
@XmlType(name = "items", propOrder = {
    "item"
})
public class Items {
    protected List<Stringitem;

    
Gets the value of the item 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 item property.

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

    getItem().add(newItem);
 

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

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