View Javadoc

1   //
2   // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.2-b01-fcs 
3   // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
4   // Any modifications to this file will be lost upon recompilation of the source schema. 
5   // Generated on: 2009.01.18 at 10:12:14 AM CET 
6   //
7   
8   
9   package net.sf.cobol2j;
10  
11  import java.util.ArrayList;
12  import java.util.List;
13  import javax.xml.bind.annotation.XmlAccessType;
14  import javax.xml.bind.annotation.XmlAccessorType;
15  import javax.xml.bind.annotation.XmlElement;
16  import javax.xml.bind.annotation.XmlElements;
17  import javax.xml.bind.annotation.XmlType;
18  
19  
20  /***
21   * <p>Java class for FieldsList complex type.
22   * 
23   * <p>The following schema fragment specifies the expected content contained within this class.
24   * 
25   * <pre>
26   * &lt;complexType name="FieldsList">
27   *   &lt;complexContent>
28   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
29   *       &lt;choice maxOccurs="unbounded">
30   *         &lt;element name="FieldFormat" type="{}FieldFormat" maxOccurs="unbounded" minOccurs="0"/>
31   *         &lt;element name="FieldsGroup" type="{}FieldsGroup" maxOccurs="unbounded" minOccurs="0"/>
32   *       &lt;/choice>
33   *     &lt;/restriction>
34   *   &lt;/complexContent>
35   * &lt;/complexType>
36   * </pre>
37   * 
38   * 
39   */
40  @XmlAccessorType(XmlAccessType.FIELD)
41  @XmlType(name = "FieldsList", propOrder = {
42      "fieldFormatOrFieldsGroup"
43  })
44  public class FieldsList {
45  
46      @XmlElements({
47          @XmlElement(name = "FieldsGroup", type = FieldsGroup.class),
48          @XmlElement(name = "FieldFormat", type = FieldFormat.class)
49      })
50      protected List<Object> fieldFormatOrFieldsGroup;
51  
52      /***
53       * Gets the value of the fieldFormatOrFieldsGroup property.
54       * 
55       * <p>
56       * This accessor method returns a reference to the live list,
57       * not a snapshot. Therefore any modification you make to the
58       * returned list will be present inside the JAXB object.
59       * This is why there is not a <CODE>set</CODE> method for the fieldFormatOrFieldsGroup property.
60       * 
61       * <p>
62       * For example, to add a new item, do as follows:
63       * <pre>
64       *    getFieldFormatOrFieldsGroup().add(newItem);
65       * </pre>
66       * 
67       * 
68       * <p>
69       * Objects of the following type(s) are allowed in the list
70       * {@link FieldsGroup }
71       * {@link FieldFormat }
72       * 
73       * 
74       */
75      public List<Object> getFieldFormatOrFieldsGroup() {
76          if (fieldFormatOrFieldsGroup == null) {
77              fieldFormatOrFieldsGroup = new ArrayList<Object>();
78          }
79          return this.fieldFormatOrFieldsGroup;
80      }
81  
82  }