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=""></a> 
 // Any modifications to this file will be lost upon recompilation of the source schema. 
 // Generated on: 2014.12.01 at 09:14:46 AM PST 
 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">
     <restriction base="{}anyType">
         <element name="item" type="{}string" maxOccurs="unbounded" minOccurs="0"/>
@XmlType(name = "items", propOrder = {
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:


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