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, vIBM 2.2.3-11/28/2011 06:21 AM(foreman)- 
  // 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: 2013.03.12 at 05:49:49 PM EDT 
  //
  
  
  package com.ibm.jbatch.jsl.model;
 
 import java.util.List;

Java class for Listeners complex type.

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

 <complexType name="Listeners">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="listener" type="{http://xmlns.jcp.org/xml/ns/javaee}Listener" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="merge" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "Listeners", propOrder = {
     "listenerList"
 })
 @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-03-12T05:49:49-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
 public class Listeners {
 
     @XmlElement(name = "listener")
     @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-03-12T05:49:49-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
     protected List<ListenerlistenerList;
     @XmlAttribute(name = "merge")
     @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-03-12T05:49:49-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
     protected String merge;

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

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

    getListenerList().add(newItem);
 

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

 
     @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-03-12T05:49:49-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
     public List<ListenergetListenerList() {
         if ( == null) {
              = new ArrayList<Listener>();
         }
         return this.;
     }

    
Gets the value of the merge property.

Returns:
possible object is
 
     @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-03-12T05:49:49-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
     public String getMerge() {
         return ;
     }

    
Sets the value of the merge property.

Parameters:
value allowed object is
    @Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2013-03-12T05:49:49-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-")
    public void setMerge(String value) {
        this. = value;
    }
New to GrepCode? Check out our FAQ X