1
2
3
4
5
6
7
8
9 package net.sf.cobol2j;
10
11 import java.math.BigInteger;
12 import java.util.ArrayList;
13 import java.util.List;
14 import javax.xml.bind.annotation.XmlAccessType;
15 import javax.xml.bind.annotation.XmlAccessorType;
16 import javax.xml.bind.annotation.XmlAttribute;
17 import javax.xml.bind.annotation.XmlElement;
18 import javax.xml.bind.annotation.XmlRootElement;
19 import javax.xml.bind.annotation.XmlType;
20
21
22 /***
23 * <p>Java class for anonymous complex type.
24 *
25 * <p>The following schema fragment specifies the expected content contained within this class.
26 *
27 * <pre>
28 * <complexType>
29 * <complexContent>
30 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
31 * <sequence>
32 * <element name="RecordFormat" type="{}RecordFormat" maxOccurs="unbounded"/>
33 * </sequence>
34 * <attribute name="ConversionTable" type="{http://www.w3.org/2001/XMLSchema}string" />
35 * <attribute name="dataFileImplementation" type="{http://www.w3.org/2001/XMLSchema}string" />
36 * <attribute name="distinguishFieldSize" type="{http://www.w3.org/2001/XMLSchema}integer" />
37 * <attribute name="newLineSize" type="{http://www.w3.org/2001/XMLSchema}integer" />
38 * </restriction>
39 * </complexContent>
40 * </complexType>
41 * </pre>
42 *
43 *
44 */
45 @XmlAccessorType(XmlAccessType.FIELD)
46 @XmlType(name = "", propOrder = {
47 "recordFormat"
48 })
49 @XmlRootElement(name = "FileFormat")
50 public class FileFormat {
51
52 @XmlElement(name = "RecordFormat", required = true)
53 protected List<RecordFormat> recordFormat;
54 @XmlAttribute(name = "ConversionTable")
55 protected String conversionTable;
56 @XmlAttribute
57 protected String dataFileImplementation;
58 @XmlAttribute
59 protected BigInteger distinguishFieldSize;
60 @XmlAttribute
61 protected BigInteger newLineSize;
62
63 /***
64 * Gets the value of the recordFormat property.
65 *
66 * <p>
67 * This accessor method returns a reference to the live list,
68 * not a snapshot. Therefore any modification you make to the
69 * returned list will be present inside the JAXB object.
70 * This is why there is not a <CODE>set</CODE> method for the recordFormat property.
71 *
72 * <p>
73 * For example, to add a new item, do as follows:
74 * <pre>
75 * getRecordFormat().add(newItem);
76 * </pre>
77 *
78 *
79 * <p>
80 * Objects of the following type(s) are allowed in the list
81 * {@link RecordFormat }
82 *
83 *
84 */
85 public List<RecordFormat> getRecordFormat() {
86 if (recordFormat == null) {
87 recordFormat = new ArrayList<RecordFormat>();
88 }
89 return this.recordFormat;
90 }
91
92 /***
93 * Gets the value of the conversionTable property.
94 *
95 * @return
96 * possible object is
97 * {@link String }
98 *
99 */
100 public String getConversionTable() {
101 return conversionTable;
102 }
103
104 /***
105 * Sets the value of the conversionTable property.
106 *
107 * @param value
108 * allowed object is
109 * {@link String }
110 *
111 */
112 public void setConversionTable(String value) {
113 this.conversionTable = value;
114 }
115
116 /***
117 * Gets the value of the dataFileImplementation property.
118 *
119 * @return
120 * possible object is
121 * {@link String }
122 *
123 */
124 public String getDataFileImplementation() {
125 return dataFileImplementation;
126 }
127
128 /***
129 * Sets the value of the dataFileImplementation property.
130 *
131 * @param value
132 * allowed object is
133 * {@link String }
134 *
135 */
136 public void setDataFileImplementation(String value) {
137 this.dataFileImplementation = value;
138 }
139
140 /***
141 * Gets the value of the distinguishFieldSize property.
142 *
143 * @return
144 * possible object is
145 * {@link BigInteger }
146 *
147 */
148 public BigInteger getDistinguishFieldSize() {
149 return distinguishFieldSize;
150 }
151
152 /***
153 * Sets the value of the distinguishFieldSize property.
154 *
155 * @param value
156 * allowed object is
157 * {@link BigInteger }
158 *
159 */
160 public void setDistinguishFieldSize(BigInteger value) {
161 this.distinguishFieldSize = value;
162 }
163
164 /***
165 * Gets the value of the newLineSize property.
166 *
167 * @return
168 * possible object is
169 * {@link BigInteger }
170 *
171 */
172 public BigInteger getNewLineSize() {
173 return newLineSize;
174 }
175
176 /***
177 * Sets the value of the newLineSize property.
178 *
179 * @param value
180 * allowed object is
181 * {@link BigInteger }
182 *
183 */
184 public void setNewLineSize(BigInteger value) {
185 this.newLineSize = value;
186 }
187
188 }