1
2
3
4
5
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 * <complexType name="FieldsList">
27 * <complexContent>
28 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
29 * <choice maxOccurs="unbounded">
30 * <element name="FieldFormat" type="{}FieldFormat" maxOccurs="unbounded" minOccurs="0"/>
31 * <element name="FieldsGroup" type="{}FieldsGroup" maxOccurs="unbounded" minOccurs="0"/>
32 * </choice>
33 * </restriction>
34 * </complexContent>
35 * </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 }