Code Duplication    Length = 388-388 lines in 4 locations

MetadataV2/src/edm/TCollectionTypeType.php 1 location

@@ 11-398 (lines=388) @@
8
 *
9
 * XSD Type: TCollectionType
10
 */
11
class TCollectionTypeType
12
{
13
14
    /**
15
     * @property string $elementType
16
     */
17
    private $elementType = null;
18
19
    /**
20
     * @property boolean $nullable
21
     */
22
    private $nullable = null;
23
24
    /**
25
     * @property string $defaultValue
26
     */
27
    private $defaultValue = null;
28
29
    /**
30
     * @property string $maxLength
31
     */
32
    private $maxLength = null;
33
34
    /**
35
     * @property boolean $fixedLength
36
     */
37
    private $fixedLength = null;
38
39
    /**
40
     * @property integer $precision
41
     */
42
    private $precision = null;
43
44
    /**
45
     * @property integer $scale
46
     */
47
    private $scale = null;
48
49
    /**
50
     * @property boolean $unicode
51
     */
52
    private $unicode = null;
53
54
    /**
55
     * @property string $collation
56
     */
57
    private $collation = null;
58
59
    /**
60
     * @property \MetadataV2\edm\TCollectionTypeType $collectionType
61
     */
62
    private $collectionType = null;
63
64
    /**
65
     * @property \MetadataV2\edm\TReferenceTypeType $referenceType
66
     */
67
    private $referenceType = null;
68
69
    /**
70
     * @property \MetadataV2\edm\TPropertyType[] $rowType
71
     */
72
    private $rowType = null;
73
74
    /**
75
     * @property \MetadataV2\edm\TTypeRefType $typeRef
76
     */
77
    private $typeRef = null;
78
79
    /**
80
     * Gets as elementType
81
     *
82
     * @return string
83
     */
84
    public function getElementType()
85
    {
86
        return $this->elementType;
87
    }
88
89
    /**
90
     * Sets a new elementType
91
     *
92
     * @param string $elementType
93
     * @return self
94
     */
95
    public function setElementType($elementType)
96
    {
97
        $this->elementType = $elementType;
98
        return $this;
99
    }
100
101
    /**
102
     * Gets as nullable
103
     *
104
     * @return boolean
105
     */
106
    public function getNullable()
107
    {
108
        return $this->nullable;
109
    }
110
111
    /**
112
     * Sets a new nullable
113
     *
114
     * @param boolean $nullable
115
     * @return self
116
     */
117
    public function setNullable($nullable)
118
    {
119
        $this->nullable = $nullable;
120
        return $this;
121
    }
122
123
    /**
124
     * Gets as defaultValue
125
     *
126
     * @return string
127
     */
128
    public function getDefaultValue()
129
    {
130
        return $this->defaultValue;
131
    }
132
133
    /**
134
     * Sets a new defaultValue
135
     *
136
     * @param string $defaultValue
137
     * @return self
138
     */
139
    public function setDefaultValue($defaultValue)
140
    {
141
        $this->defaultValue = $defaultValue;
142
        return $this;
143
    }
144
145
    /**
146
     * Gets as maxLength
147
     *
148
     * @return string
149
     */
150
    public function getMaxLength()
151
    {
152
        return $this->maxLength;
153
    }
154
155
    /**
156
     * Sets a new maxLength
157
     *
158
     * @param string $maxLength
159
     * @return self
160
     */
161
    public function setMaxLength($maxLength)
162
    {
163
        $this->maxLength = $maxLength;
164
        return $this;
165
    }
166
167
    /**
168
     * Gets as fixedLength
169
     *
170
     * @return boolean
171
     */
172
    public function getFixedLength()
173
    {
174
        return $this->fixedLength;
175
    }
176
177
    /**
178
     * Sets a new fixedLength
179
     *
180
     * @param boolean $fixedLength
181
     * @return self
182
     */
183
    public function setFixedLength($fixedLength)
184
    {
185
        $this->fixedLength = $fixedLength;
186
        return $this;
187
    }
188
189
    /**
190
     * Gets as precision
191
     *
192
     * @return integer
193
     */
194
    public function getPrecision()
195
    {
196
        return $this->precision;
197
    }
198
199
    /**
200
     * Sets a new precision
201
     *
202
     * @param integer $precision
203
     * @return self
204
     */
205
    public function setPrecision($precision)
206
    {
207
        $this->precision = $precision;
208
        return $this;
209
    }
210
211
    /**
212
     * Gets as scale
213
     *
214
     * @return integer
215
     */
216
    public function getScale()
217
    {
218
        return $this->scale;
219
    }
220
221
    /**
222
     * Sets a new scale
223
     *
224
     * @param integer $scale
225
     * @return self
226
     */
227
    public function setScale($scale)
228
    {
229
        $this->scale = $scale;
230
        return $this;
231
    }
232
233
    /**
234
     * Gets as unicode
235
     *
236
     * @return boolean
237
     */
238
    public function getUnicode()
239
    {
240
        return $this->unicode;
241
    }
242
243
    /**
244
     * Sets a new unicode
245
     *
246
     * @param boolean $unicode
247
     * @return self
248
     */
249
    public function setUnicode($unicode)
250
    {
251
        $this->unicode = $unicode;
252
        return $this;
253
    }
254
255
    /**
256
     * Gets as collation
257
     *
258
     * @return string
259
     */
260
    public function getCollation()
261
    {
262
        return $this->collation;
263
    }
264
265
    /**
266
     * Sets a new collation
267
     *
268
     * @param string $collation
269
     * @return self
270
     */
271
    public function setCollation($collation)
272
    {
273
        $this->collation = $collation;
274
        return $this;
275
    }
276
277
    /**
278
     * Gets as collectionType
279
     *
280
     * @return \MetadataV2\edm\TCollectionTypeType
281
     */
282
    public function getCollectionType()
283
    {
284
        return $this->collectionType;
285
    }
286
287
    /**
288
     * Sets a new collectionType
289
     *
290
     * @param \MetadataV2\edm\TCollectionTypeType $collectionType
291
     * @return self
292
     */
293
    public function setCollectionType(\MetadataV2\edm\TCollectionTypeType $collectionType)
294
    {
295
        $this->collectionType = $collectionType;
296
        return $this;
297
    }
298
299
    /**
300
     * Gets as referenceType
301
     *
302
     * @return \MetadataV2\edm\TReferenceTypeType
303
     */
304
    public function getReferenceType()
305
    {
306
        return $this->referenceType;
307
    }
308
309
    /**
310
     * Sets a new referenceType
311
     *
312
     * @param \MetadataV2\edm\TReferenceTypeType $referenceType
313
     * @return self
314
     */
315
    public function setReferenceType(\MetadataV2\edm\TReferenceTypeType $referenceType)
316
    {
317
        $this->referenceType = $referenceType;
318
        return $this;
319
    }
320
321
    /**
322
     * Adds as property
323
     *
324
     * @return self
325
     * @param \MetadataV2\edm\TPropertyType $property
326
     */
327
    public function addToRowType(\MetadataV2\edm\TPropertyType $property)
328
    {
329
        $this->rowType[] = $property;
330
        return $this;
331
    }
332
333
    /**
334
     * isset rowType
335
     *
336
     * @param scalar $index
337
     * @return boolean
338
     */
339
    public function issetRowType($index)
340
    {
341
        return isset($this->rowType[$index]);
342
    }
343
344
    /**
345
     * unset rowType
346
     *
347
     * @param scalar $index
348
     * @return void
349
     */
350
    public function unsetRowType($index)
351
    {
352
        unset($this->rowType[$index]);
353
    }
354
355
    /**
356
     * Gets as rowType
357
     *
358
     * @return \MetadataV2\edm\TPropertyType[]
359
     */
360
    public function getRowType()
361
    {
362
        return $this->rowType;
363
    }
364
365
    /**
366
     * Sets a new rowType
367
     *
368
     * @param \MetadataV2\edm\TPropertyType[] $rowType
369
     * @return self
370
     */
371
    public function setRowType(array $rowType)
372
    {
373
        $this->rowType = $rowType;
374
        return $this;
375
    }
376
377
    /**
378
     * Gets as typeRef
379
     *
380
     * @return \MetadataV2\edm\TTypeRefType
381
     */
382
    public function getTypeRef()
383
    {
384
        return $this->typeRef;
385
    }
386
387
    /**
388
     * Sets a new typeRef
389
     *
390
     * @param \MetadataV2\edm\TTypeRefType $typeRef
391
     * @return self
392
     */
393
    public function setTypeRef(\MetadataV2\edm\TTypeRefType $typeRef)
394
    {
395
        $this->typeRef = $typeRef;
396
        return $this;
397
    }
398
}
399

MetadataV2/src/edm/TFunctionParameterType.php 1 location

@@ 11-398 (lines=388) @@
8
 *
9
 * XSD Type: TFunctionParameter
10
 */
11
class TFunctionParameterType
12
{
13
14
    /**
15
     * @property string $name
16
     */
17
    private $name = null;
18
19
    /**
20
     * @property string $type
21
     */
22
    private $type = null;
23
24
    /**
25
     * @property boolean $nullable
26
     */
27
    private $nullable = null;
28
29
    /**
30
     * @property string $defaultValue
31
     */
32
    private $defaultValue = null;
33
34
    /**
35
     * @property string $maxLength
36
     */
37
    private $maxLength = null;
38
39
    /**
40
     * @property boolean $fixedLength
41
     */
42
    private $fixedLength = null;
43
44
    /**
45
     * @property integer $precision
46
     */
47
    private $precision = null;
48
49
    /**
50
     * @property integer $scale
51
     */
52
    private $scale = null;
53
54
    /**
55
     * @property boolean $unicode
56
     */
57
    private $unicode = null;
58
59
    /**
60
     * @property string $collation
61
     */
62
    private $collation = null;
63
64
    /**
65
     * @property \MetadataV2\edm\TCollectionTypeType $collectionType
66
     */
67
    private $collectionType = null;
68
69
    /**
70
     * @property \MetadataV2\edm\TReferenceTypeType $referenceType
71
     */
72
    private $referenceType = null;
73
74
    /**
75
     * @property \MetadataV2\edm\TPropertyType[] $rowType
76
     */
77
    private $rowType = null;
78
79
    /**
80
     * Gets as name
81
     *
82
     * @return string
83
     */
84
    public function getName()
85
    {
86
        return $this->name;
87
    }
88
89
    /**
90
     * Sets a new name
91
     *
92
     * @param string $name
93
     * @return self
94
     */
95
    public function setName($name)
96
    {
97
        $this->name = $name;
98
        return $this;
99
    }
100
101
    /**
102
     * Gets as type
103
     *
104
     * @return string
105
     */
106
    public function getType()
107
    {
108
        return $this->type;
109
    }
110
111
    /**
112
     * Sets a new type
113
     *
114
     * @param string $type
115
     * @return self
116
     */
117
    public function setType($type)
118
    {
119
        $this->type = $type;
120
        return $this;
121
    }
122
123
    /**
124
     * Gets as nullable
125
     *
126
     * @return boolean
127
     */
128
    public function getNullable()
129
    {
130
        return $this->nullable;
131
    }
132
133
    /**
134
     * Sets a new nullable
135
     *
136
     * @param boolean $nullable
137
     * @return self
138
     */
139
    public function setNullable($nullable)
140
    {
141
        $this->nullable = $nullable;
142
        return $this;
143
    }
144
145
    /**
146
     * Gets as defaultValue
147
     *
148
     * @return string
149
     */
150
    public function getDefaultValue()
151
    {
152
        return $this->defaultValue;
153
    }
154
155
    /**
156
     * Sets a new defaultValue
157
     *
158
     * @param string $defaultValue
159
     * @return self
160
     */
161
    public function setDefaultValue($defaultValue)
162
    {
163
        $this->defaultValue = $defaultValue;
164
        return $this;
165
    }
166
167
    /**
168
     * Gets as maxLength
169
     *
170
     * @return string
171
     */
172
    public function getMaxLength()
173
    {
174
        return $this->maxLength;
175
    }
176
177
    /**
178
     * Sets a new maxLength
179
     *
180
     * @param string $maxLength
181
     * @return self
182
     */
183
    public function setMaxLength($maxLength)
184
    {
185
        $this->maxLength = $maxLength;
186
        return $this;
187
    }
188
189
    /**
190
     * Gets as fixedLength
191
     *
192
     * @return boolean
193
     */
194
    public function getFixedLength()
195
    {
196
        return $this->fixedLength;
197
    }
198
199
    /**
200
     * Sets a new fixedLength
201
     *
202
     * @param boolean $fixedLength
203
     * @return self
204
     */
205
    public function setFixedLength($fixedLength)
206
    {
207
        $this->fixedLength = $fixedLength;
208
        return $this;
209
    }
210
211
    /**
212
     * Gets as precision
213
     *
214
     * @return integer
215
     */
216
    public function getPrecision()
217
    {
218
        return $this->precision;
219
    }
220
221
    /**
222
     * Sets a new precision
223
     *
224
     * @param integer $precision
225
     * @return self
226
     */
227
    public function setPrecision($precision)
228
    {
229
        $this->precision = $precision;
230
        return $this;
231
    }
232
233
    /**
234
     * Gets as scale
235
     *
236
     * @return integer
237
     */
238
    public function getScale()
239
    {
240
        return $this->scale;
241
    }
242
243
    /**
244
     * Sets a new scale
245
     *
246
     * @param integer $scale
247
     * @return self
248
     */
249
    public function setScale($scale)
250
    {
251
        $this->scale = $scale;
252
        return $this;
253
    }
254
255
    /**
256
     * Gets as unicode
257
     *
258
     * @return boolean
259
     */
260
    public function getUnicode()
261
    {
262
        return $this->unicode;
263
    }
264
265
    /**
266
     * Sets a new unicode
267
     *
268
     * @param boolean $unicode
269
     * @return self
270
     */
271
    public function setUnicode($unicode)
272
    {
273
        $this->unicode = $unicode;
274
        return $this;
275
    }
276
277
    /**
278
     * Gets as collation
279
     *
280
     * @return string
281
     */
282
    public function getCollation()
283
    {
284
        return $this->collation;
285
    }
286
287
    /**
288
     * Sets a new collation
289
     *
290
     * @param string $collation
291
     * @return self
292
     */
293
    public function setCollation($collation)
294
    {
295
        $this->collation = $collation;
296
        return $this;
297
    }
298
299
    /**
300
     * Gets as collectionType
301
     *
302
     * @return \MetadataV2\edm\TCollectionTypeType
303
     */
304
    public function getCollectionType()
305
    {
306
        return $this->collectionType;
307
    }
308
309
    /**
310
     * Sets a new collectionType
311
     *
312
     * @param \MetadataV2\edm\TCollectionTypeType $collectionType
313
     * @return self
314
     */
315
    public function setCollectionType(\MetadataV2\edm\TCollectionTypeType $collectionType)
316
    {
317
        $this->collectionType = $collectionType;
318
        return $this;
319
    }
320
321
    /**
322
     * Gets as referenceType
323
     *
324
     * @return \MetadataV2\edm\TReferenceTypeType
325
     */
326
    public function getReferenceType()
327
    {
328
        return $this->referenceType;
329
    }
330
331
    /**
332
     * Sets a new referenceType
333
     *
334
     * @param \MetadataV2\edm\TReferenceTypeType $referenceType
335
     * @return self
336
     */
337
    public function setReferenceType(\MetadataV2\edm\TReferenceTypeType $referenceType)
338
    {
339
        $this->referenceType = $referenceType;
340
        return $this;
341
    }
342
343
    /**
344
     * Adds as property
345
     *
346
     * @return self
347
     * @param \MetadataV2\edm\TPropertyType $property
348
     */
349
    public function addToRowType(\MetadataV2\edm\TPropertyType $property)
350
    {
351
        $this->rowType[] = $property;
352
        return $this;
353
    }
354
355
    /**
356
     * isset rowType
357
     *
358
     * @param scalar $index
359
     * @return boolean
360
     */
361
    public function issetRowType($index)
362
    {
363
        return isset($this->rowType[$index]);
364
    }
365
366
    /**
367
     * unset rowType
368
     *
369
     * @param scalar $index
370
     * @return void
371
     */
372
    public function unsetRowType($index)
373
    {
374
        unset($this->rowType[$index]);
375
    }
376
377
    /**
378
     * Gets as rowType
379
     *
380
     * @return \MetadataV2\edm\TPropertyType[]
381
     */
382
    public function getRowType()
383
    {
384
        return $this->rowType;
385
    }
386
387
    /**
388
     * Sets a new rowType
389
     *
390
     * @param \MetadataV2\edm\TPropertyType[] $rowType
391
     * @return self
392
     */
393
    public function setRowType(array $rowType)
394
    {
395
        $this->rowType = $rowType;
396
        return $this;
397
    }
398
}
399

MetadataV2/src/edm/TPropertyType.php 1 location

@@ 11-398 (lines=388) @@
8
 *
9
 * XSD Type: TProperty
10
 */
11
class TPropertyType
12
{
13
14
    /**
15
     * @property string $name
16
     */
17
    private $name = null;
18
19
    /**
20
     * @property string $type
21
     */
22
    private $type = null;
23
24
    /**
25
     * @property boolean $nullable
26
     */
27
    private $nullable = null;
28
29
    /**
30
     * @property string $defaultValue
31
     */
32
    private $defaultValue = null;
33
34
    /**
35
     * @property string $maxLength
36
     */
37
    private $maxLength = null;
38
39
    /**
40
     * @property boolean $fixedLength
41
     */
42
    private $fixedLength = null;
43
44
    /**
45
     * @property integer $precision
46
     */
47
    private $precision = null;
48
49
    /**
50
     * @property integer $scale
51
     */
52
    private $scale = null;
53
54
    /**
55
     * @property boolean $unicode
56
     */
57
    private $unicode = null;
58
59
    /**
60
     * @property string $collation
61
     */
62
    private $collation = null;
63
64
    /**
65
     * @property \MetadataV2\edm\TCollectionTypeType $collectionType
66
     */
67
    private $collectionType = null;
68
69
    /**
70
     * @property \MetadataV2\edm\TReferenceTypeType $referenceType
71
     */
72
    private $referenceType = null;
73
74
    /**
75
     * @property \MetadataV2\edm\TPropertyType[] $rowType
76
     */
77
    private $rowType = null;
78
79
    /**
80
     * Gets as name
81
     *
82
     * @return string
83
     */
84
    public function getName()
85
    {
86
        return $this->name;
87
    }
88
89
    /**
90
     * Sets a new name
91
     *
92
     * @param string $name
93
     * @return self
94
     */
95
    public function setName($name)
96
    {
97
        $this->name = $name;
98
        return $this;
99
    }
100
101
    /**
102
     * Gets as type
103
     *
104
     * @return string
105
     */
106
    public function getType()
107
    {
108
        return $this->type;
109
    }
110
111
    /**
112
     * Sets a new type
113
     *
114
     * @param string $type
115
     * @return self
116
     */
117
    public function setType($type)
118
    {
119
        $this->type = $type;
120
        return $this;
121
    }
122
123
    /**
124
     * Gets as nullable
125
     *
126
     * @return boolean
127
     */
128
    public function getNullable()
129
    {
130
        return $this->nullable;
131
    }
132
133
    /**
134
     * Sets a new nullable
135
     *
136
     * @param boolean $nullable
137
     * @return self
138
     */
139
    public function setNullable($nullable)
140
    {
141
        $this->nullable = $nullable;
142
        return $this;
143
    }
144
145
    /**
146
     * Gets as defaultValue
147
     *
148
     * @return string
149
     */
150
    public function getDefaultValue()
151
    {
152
        return $this->defaultValue;
153
    }
154
155
    /**
156
     * Sets a new defaultValue
157
     *
158
     * @param string $defaultValue
159
     * @return self
160
     */
161
    public function setDefaultValue($defaultValue)
162
    {
163
        $this->defaultValue = $defaultValue;
164
        return $this;
165
    }
166
167
    /**
168
     * Gets as maxLength
169
     *
170
     * @return string
171
     */
172
    public function getMaxLength()
173
    {
174
        return $this->maxLength;
175
    }
176
177
    /**
178
     * Sets a new maxLength
179
     *
180
     * @param string $maxLength
181
     * @return self
182
     */
183
    public function setMaxLength($maxLength)
184
    {
185
        $this->maxLength = $maxLength;
186
        return $this;
187
    }
188
189
    /**
190
     * Gets as fixedLength
191
     *
192
     * @return boolean
193
     */
194
    public function getFixedLength()
195
    {
196
        return $this->fixedLength;
197
    }
198
199
    /**
200
     * Sets a new fixedLength
201
     *
202
     * @param boolean $fixedLength
203
     * @return self
204
     */
205
    public function setFixedLength($fixedLength)
206
    {
207
        $this->fixedLength = $fixedLength;
208
        return $this;
209
    }
210
211
    /**
212
     * Gets as precision
213
     *
214
     * @return integer
215
     */
216
    public function getPrecision()
217
    {
218
        return $this->precision;
219
    }
220
221
    /**
222
     * Sets a new precision
223
     *
224
     * @param integer $precision
225
     * @return self
226
     */
227
    public function setPrecision($precision)
228
    {
229
        $this->precision = $precision;
230
        return $this;
231
    }
232
233
    /**
234
     * Gets as scale
235
     *
236
     * @return integer
237
     */
238
    public function getScale()
239
    {
240
        return $this->scale;
241
    }
242
243
    /**
244
     * Sets a new scale
245
     *
246
     * @param integer $scale
247
     * @return self
248
     */
249
    public function setScale($scale)
250
    {
251
        $this->scale = $scale;
252
        return $this;
253
    }
254
255
    /**
256
     * Gets as unicode
257
     *
258
     * @return boolean
259
     */
260
    public function getUnicode()
261
    {
262
        return $this->unicode;
263
    }
264
265
    /**
266
     * Sets a new unicode
267
     *
268
     * @param boolean $unicode
269
     * @return self
270
     */
271
    public function setUnicode($unicode)
272
    {
273
        $this->unicode = $unicode;
274
        return $this;
275
    }
276
277
    /**
278
     * Gets as collation
279
     *
280
     * @return string
281
     */
282
    public function getCollation()
283
    {
284
        return $this->collation;
285
    }
286
287
    /**
288
     * Sets a new collation
289
     *
290
     * @param string $collation
291
     * @return self
292
     */
293
    public function setCollation($collation)
294
    {
295
        $this->collation = $collation;
296
        return $this;
297
    }
298
299
    /**
300
     * Gets as collectionType
301
     *
302
     * @return \MetadataV2\edm\TCollectionTypeType
303
     */
304
    public function getCollectionType()
305
    {
306
        return $this->collectionType;
307
    }
308
309
    /**
310
     * Sets a new collectionType
311
     *
312
     * @param \MetadataV2\edm\TCollectionTypeType $collectionType
313
     * @return self
314
     */
315
    public function setCollectionType(\MetadataV2\edm\TCollectionTypeType $collectionType)
316
    {
317
        $this->collectionType = $collectionType;
318
        return $this;
319
    }
320
321
    /**
322
     * Gets as referenceType
323
     *
324
     * @return \MetadataV2\edm\TReferenceTypeType
325
     */
326
    public function getReferenceType()
327
    {
328
        return $this->referenceType;
329
    }
330
331
    /**
332
     * Sets a new referenceType
333
     *
334
     * @param \MetadataV2\edm\TReferenceTypeType $referenceType
335
     * @return self
336
     */
337
    public function setReferenceType(\MetadataV2\edm\TReferenceTypeType $referenceType)
338
    {
339
        $this->referenceType = $referenceType;
340
        return $this;
341
    }
342
343
    /**
344
     * Adds as property
345
     *
346
     * @return self
347
     * @param \MetadataV2\edm\TPropertyType $property
348
     */
349
    public function addToRowType(\MetadataV2\edm\TPropertyType $property)
350
    {
351
        $this->rowType[] = $property;
352
        return $this;
353
    }
354
355
    /**
356
     * isset rowType
357
     *
358
     * @param scalar $index
359
     * @return boolean
360
     */
361
    public function issetRowType($index)
362
    {
363
        return isset($this->rowType[$index]);
364
    }
365
366
    /**
367
     * unset rowType
368
     *
369
     * @param scalar $index
370
     * @return void
371
     */
372
    public function unsetRowType($index)
373
    {
374
        unset($this->rowType[$index]);
375
    }
376
377
    /**
378
     * Gets as rowType
379
     *
380
     * @return \MetadataV2\edm\TPropertyType[]
381
     */
382
    public function getRowType()
383
    {
384
        return $this->rowType;
385
    }
386
387
    /**
388
     * Sets a new rowType
389
     *
390
     * @param \MetadataV2\edm\TPropertyType[] $rowType
391
     * @return self
392
     */
393
    public function setRowType(array $rowType)
394
    {
395
        $this->rowType = $rowType;
396
        return $this;
397
    }
398
}
399

MetadataV3/src/edm/TFunctionReturnTypeType.php 1 location

@@ 11-398 (lines=388) @@
8
 *
9
 * XSD Type: TFunctionReturnType
10
 */
11
class TFunctionReturnTypeType
12
{
13
14
    /**
15
     * @property string $type
16
     */
17
    private $type = null;
18
19
    /**
20
     * @property boolean $nullable
21
     */
22
    private $nullable = null;
23
24
    /**
25
     * @property string $defaultValue
26
     */
27
    private $defaultValue = null;
28
29
    /**
30
     * @property string $maxLength
31
     */
32
    private $maxLength = null;
33
34
    /**
35
     * @property boolean $fixedLength
36
     */
37
    private $fixedLength = null;
38
39
    /**
40
     * @property integer $precision
41
     */
42
    private $precision = null;
43
44
    /**
45
     * @property integer $scale
46
     */
47
    private $scale = null;
48
49
    /**
50
     * @property boolean $unicode
51
     */
52
    private $unicode = null;
53
54
    /**
55
     * @property string $collation
56
     */
57
    private $collation = null;
58
59
    /**
60
     * @property string $sRID
61
     */
62
    private $sRID = null;
63
64
    /**
65
     * @property \MetadataV3\edm\TCollectionTypeType $collectionType
66
     */
67
    private $collectionType = null;
68
69
    /**
70
     * @property \MetadataV3\edm\TReferenceTypeType $referenceType
71
     */
72
    private $referenceType = null;
73
74
    /**
75
     * @property \MetadataV3\edm\TPropertyType[] $rowType
76
     */
77
    private $rowType = null;
78
79
    /**
80
     * Gets as type
81
     *
82
     * @return string
83
     */
84
    public function getType()
85
    {
86
        return $this->type;
87
    }
88
89
    /**
90
     * Sets a new type
91
     *
92
     * @param string $type
93
     * @return self
94
     */
95
    public function setType($type)
96
    {
97
        $this->type = $type;
98
        return $this;
99
    }
100
101
    /**
102
     * Gets as nullable
103
     *
104
     * @return boolean
105
     */
106
    public function getNullable()
107
    {
108
        return $this->nullable;
109
    }
110
111
    /**
112
     * Sets a new nullable
113
     *
114
     * @param boolean $nullable
115
     * @return self
116
     */
117
    public function setNullable($nullable)
118
    {
119
        $this->nullable = $nullable;
120
        return $this;
121
    }
122
123
    /**
124
     * Gets as defaultValue
125
     *
126
     * @return string
127
     */
128
    public function getDefaultValue()
129
    {
130
        return $this->defaultValue;
131
    }
132
133
    /**
134
     * Sets a new defaultValue
135
     *
136
     * @param string $defaultValue
137
     * @return self
138
     */
139
    public function setDefaultValue($defaultValue)
140
    {
141
        $this->defaultValue = $defaultValue;
142
        return $this;
143
    }
144
145
    /**
146
     * Gets as maxLength
147
     *
148
     * @return string
149
     */
150
    public function getMaxLength()
151
    {
152
        return $this->maxLength;
153
    }
154
155
    /**
156
     * Sets a new maxLength
157
     *
158
     * @param string $maxLength
159
     * @return self
160
     */
161
    public function setMaxLength($maxLength)
162
    {
163
        $this->maxLength = $maxLength;
164
        return $this;
165
    }
166
167
    /**
168
     * Gets as fixedLength
169
     *
170
     * @return boolean
171
     */
172
    public function getFixedLength()
173
    {
174
        return $this->fixedLength;
175
    }
176
177
    /**
178
     * Sets a new fixedLength
179
     *
180
     * @param boolean $fixedLength
181
     * @return self
182
     */
183
    public function setFixedLength($fixedLength)
184
    {
185
        $this->fixedLength = $fixedLength;
186
        return $this;
187
    }
188
189
    /**
190
     * Gets as precision
191
     *
192
     * @return integer
193
     */
194
    public function getPrecision()
195
    {
196
        return $this->precision;
197
    }
198
199
    /**
200
     * Sets a new precision
201
     *
202
     * @param integer $precision
203
     * @return self
204
     */
205
    public function setPrecision($precision)
206
    {
207
        $this->precision = $precision;
208
        return $this;
209
    }
210
211
    /**
212
     * Gets as scale
213
     *
214
     * @return integer
215
     */
216
    public function getScale()
217
    {
218
        return $this->scale;
219
    }
220
221
    /**
222
     * Sets a new scale
223
     *
224
     * @param integer $scale
225
     * @return self
226
     */
227
    public function setScale($scale)
228
    {
229
        $this->scale = $scale;
230
        return $this;
231
    }
232
233
    /**
234
     * Gets as unicode
235
     *
236
     * @return boolean
237
     */
238
    public function getUnicode()
239
    {
240
        return $this->unicode;
241
    }
242
243
    /**
244
     * Sets a new unicode
245
     *
246
     * @param boolean $unicode
247
     * @return self
248
     */
249
    public function setUnicode($unicode)
250
    {
251
        $this->unicode = $unicode;
252
        return $this;
253
    }
254
255
    /**
256
     * Gets as collation
257
     *
258
     * @return string
259
     */
260
    public function getCollation()
261
    {
262
        return $this->collation;
263
    }
264
265
    /**
266
     * Sets a new collation
267
     *
268
     * @param string $collation
269
     * @return self
270
     */
271
    public function setCollation($collation)
272
    {
273
        $this->collation = $collation;
274
        return $this;
275
    }
276
277
    /**
278
     * Gets as sRID
279
     *
280
     * @return string
281
     */
282
    public function getSRID()
283
    {
284
        return $this->sRID;
285
    }
286
287
    /**
288
     * Sets a new sRID
289
     *
290
     * @param string $sRID
291
     * @return self
292
     */
293
    public function setSRID($sRID)
294
    {
295
        $this->sRID = $sRID;
296
        return $this;
297
    }
298
299
    /**
300
     * Gets as collectionType
301
     *
302
     * @return \MetadataV3\edm\TCollectionTypeType
303
     */
304
    public function getCollectionType()
305
    {
306
        return $this->collectionType;
307
    }
308
309
    /**
310
     * Sets a new collectionType
311
     *
312
     * @param \MetadataV3\edm\TCollectionTypeType $collectionType
313
     * @return self
314
     */
315
    public function setCollectionType(\MetadataV3\edm\TCollectionTypeType $collectionType)
316
    {
317
        $this->collectionType = $collectionType;
318
        return $this;
319
    }
320
321
    /**
322
     * Gets as referenceType
323
     *
324
     * @return \MetadataV3\edm\TReferenceTypeType
325
     */
326
    public function getReferenceType()
327
    {
328
        return $this->referenceType;
329
    }
330
331
    /**
332
     * Sets a new referenceType
333
     *
334
     * @param \MetadataV3\edm\TReferenceTypeType $referenceType
335
     * @return self
336
     */
337
    public function setReferenceType(\MetadataV3\edm\TReferenceTypeType $referenceType)
338
    {
339
        $this->referenceType = $referenceType;
340
        return $this;
341
    }
342
343
    /**
344
     * Adds as property
345
     *
346
     * @return self
347
     * @param \MetadataV3\edm\TPropertyType $property
348
     */
349
    public function addToRowType(\MetadataV3\edm\TPropertyType $property)
350
    {
351
        $this->rowType[] = $property;
352
        return $this;
353
    }
354
355
    /**
356
     * isset rowType
357
     *
358
     * @param scalar $index
359
     * @return boolean
360
     */
361
    public function issetRowType($index)
362
    {
363
        return isset($this->rowType[$index]);
364
    }
365
366
    /**
367
     * unset rowType
368
     *
369
     * @param scalar $index
370
     * @return void
371
     */
372
    public function unsetRowType($index)
373
    {
374
        unset($this->rowType[$index]);
375
    }
376
377
    /**
378
     * Gets as rowType
379
     *
380
     * @return \MetadataV3\edm\TPropertyType[]
381
     */
382
    public function getRowType()
383
    {
384
        return $this->rowType;
385
    }
386
387
    /**
388
     * Sets a new rowType
389
     *
390
     * @param \MetadataV3\edm\TPropertyType[] $rowType
391
     * @return self
392
     */
393
    public function setRowType(array $rowType)
394
    {
395
        $this->rowType = $rowType;
396
        return $this;
397
    }
398
}
399