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.10-b140310.1920 
 // 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: 2014.09.23 at 10:37:39 PM CDT 
 //
 
 
 package org.nmdp.ngs.gtr.jaxb;

Java class for URL complex type.

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

 <complexType name="URL">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="URL" type="{http://www.w3.org/2001/XMLSchema}anyURI" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
@XmlType(name = "URL", propOrder = {
    "urls"
})
public class URL {
    @XmlElement(name = "URL")
    @XmlSchemaType(name = "anyURI")
    protected List<Stringurls;

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

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

    getURLS().add(newItem);
 

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

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