|
1
|
|
|
<?php |
|
2
|
|
|
|
|
3
|
|
|
namespace Ups\Entity; |
|
4
|
|
|
|
|
5
|
|
|
use DOMDocument; |
|
6
|
|
|
use Ups\NodeInterface; |
|
7
|
|
|
|
|
8
|
|
|
/** |
|
9
|
|
|
* Class Hazmat |
|
10
|
|
|
* @package Ups\Entity |
|
11
|
|
|
*/ |
|
12
|
|
|
class HazMat implements NodeInterface |
|
13
|
|
|
{ |
|
14
|
|
|
|
|
15
|
|
|
/** |
|
16
|
|
|
* @var string |
|
17
|
|
|
*/ |
|
18
|
|
|
private $packagingTypeQuantity; |
|
19
|
|
|
|
|
20
|
|
|
/** |
|
21
|
|
|
* @var string |
|
22
|
|
|
*/ |
|
23
|
|
|
private $subRiskClass; |
|
24
|
|
|
|
|
25
|
|
|
/** |
|
26
|
|
|
* @var string |
|
27
|
|
|
*/ |
|
28
|
|
|
private $adrItemNumber; |
|
29
|
|
|
|
|
30
|
|
|
/** |
|
31
|
|
|
* @var string |
|
32
|
|
|
*/ |
|
33
|
|
|
private $adrPackingGroupLetter; |
|
34
|
|
|
|
|
35
|
|
|
/** |
|
36
|
|
|
* @var string |
|
37
|
|
|
*/ |
|
38
|
|
|
private $technicalName; |
|
39
|
|
|
|
|
40
|
|
|
/** |
|
41
|
|
|
* @var string |
|
42
|
|
|
*/ |
|
43
|
|
|
private $hazardLabelRequired; |
|
44
|
|
|
|
|
45
|
|
|
/** |
|
46
|
|
|
* @var string |
|
47
|
|
|
*/ |
|
48
|
|
|
private $classDivisionNumber; |
|
49
|
|
|
|
|
50
|
|
|
/** |
|
51
|
|
|
* @var string |
|
52
|
|
|
*/ |
|
53
|
|
|
private $referenceNumber; |
|
54
|
|
|
|
|
55
|
|
|
/** |
|
56
|
|
|
* @var string |
|
57
|
|
|
*/ |
|
58
|
|
|
private $quantity; |
|
59
|
|
|
|
|
60
|
|
|
/** |
|
61
|
|
|
* @var string |
|
62
|
|
|
*/ |
|
63
|
|
|
private $uom; |
|
64
|
|
|
|
|
65
|
|
|
/** |
|
66
|
|
|
* @var string |
|
67
|
|
|
*/ |
|
68
|
|
|
private $packagingType; |
|
69
|
|
|
|
|
70
|
|
|
/** |
|
71
|
|
|
* @var string |
|
72
|
|
|
*/ |
|
73
|
|
|
private $idNumber; |
|
74
|
|
|
|
|
75
|
|
|
/** |
|
76
|
|
|
* @var string |
|
77
|
|
|
*/ |
|
78
|
|
|
private $properShippingName; |
|
79
|
|
|
|
|
80
|
|
|
/** |
|
81
|
|
|
* @var string |
|
82
|
|
|
*/ |
|
83
|
|
|
private $additionalDescription; |
|
84
|
|
|
|
|
85
|
|
|
/** |
|
86
|
|
|
* @var string |
|
87
|
|
|
*/ |
|
88
|
|
|
private $packagingGroupType; |
|
89
|
|
|
|
|
90
|
|
|
/** |
|
91
|
|
|
* @var string |
|
92
|
|
|
*/ |
|
93
|
|
|
private $packagingInstructionCode; |
|
94
|
|
|
|
|
95
|
|
|
/** |
|
96
|
|
|
* @var string |
|
97
|
|
|
*/ |
|
98
|
|
|
private $emergencyPhone; |
|
99
|
|
|
|
|
100
|
|
|
/** |
|
101
|
|
|
* @var string |
|
102
|
|
|
*/ |
|
103
|
|
|
private $emergencyContact; |
|
104
|
|
|
|
|
105
|
|
|
/** |
|
106
|
|
|
* @var string |
|
107
|
|
|
*/ |
|
108
|
|
|
private $reportableQuantity; |
|
109
|
|
|
|
|
110
|
|
|
/** |
|
111
|
|
|
* @var string |
|
112
|
|
|
*/ |
|
113
|
|
|
private $regulationSet; |
|
114
|
|
|
|
|
115
|
|
|
/** |
|
116
|
|
|
* @var string |
|
117
|
|
|
*/ |
|
118
|
|
|
private $transportationMode; |
|
119
|
|
|
|
|
120
|
|
|
/** |
|
121
|
|
|
* @var string |
|
122
|
|
|
*/ |
|
123
|
|
|
private $commodityRegulatedLevelCode; |
|
124
|
|
|
|
|
125
|
|
|
/** |
|
126
|
|
|
* @var string |
|
127
|
|
|
*/ |
|
128
|
|
|
private $transportCategory; |
|
129
|
|
|
|
|
130
|
|
|
/** |
|
131
|
|
|
* @var string |
|
132
|
|
|
*/ |
|
133
|
|
|
private $tunnelRestrictionCode; |
|
134
|
|
|
|
|
135
|
|
|
/** |
|
136
|
|
|
* @var string |
|
137
|
|
|
*/ |
|
138
|
|
|
private $chemicalRecordIdentifier; |
|
139
|
|
|
|
|
140
|
|
|
/** |
|
141
|
|
|
* @param DOMDocument|null $document |
|
142
|
|
|
* @return \DOMElement |
|
143
|
|
|
*/ |
|
144
|
|
|
public function toNode(DOMDocument $document = null) |
|
145
|
|
|
{ |
|
146
|
|
|
if (null === $document) { |
|
147
|
|
|
$document = new DOMDocument(); |
|
148
|
|
|
} |
|
149
|
|
|
|
|
150
|
|
|
$node = $document->createElement('HazMat'); |
|
151
|
|
|
|
|
152
|
|
|
|
|
153
|
|
|
if ($this->getPackagingTypeQuantity()) { |
|
154
|
|
|
$node->appendChild($document->createElement('PackagingTypeQuantity', $this->getPackagingTypeQuantity())); |
|
155
|
|
|
} |
|
156
|
|
|
if ($this->getSubRiskClass()) { |
|
157
|
|
|
$node->appendChild($document->createElement('SubRiskClass', $this->getSubRiskClass())); |
|
158
|
|
|
} |
|
159
|
|
|
if ($this->getAdrItemNumber()) { |
|
160
|
|
|
$node->appendChild($document->createElement('aDRItemNumber', $this->getAdrItemNumber())); |
|
161
|
|
|
} |
|
162
|
|
|
if ($this->getAdrPackingGroupLetter()) { |
|
163
|
|
|
$node->appendChild($document->createElement('aDRPackingGroupLetter', $this->getAdrPackingGroupLetter())); |
|
164
|
|
|
} |
|
165
|
|
|
if ($this->getTechnicalName()) { |
|
166
|
|
|
$node->appendChild($document->createElement('TechnicalName', $this->getTechnicalName())); |
|
167
|
|
|
} |
|
168
|
|
|
if ($this->getHazardLabelRequired()) { |
|
169
|
|
|
$node->appendChild($document->createElement('HazardLabelRequired', $this->getHazardLabelRequired())); |
|
170
|
|
|
} |
|
171
|
|
|
if ($this->getReferenceNumber()) { |
|
172
|
|
|
$node->appendChild($document->createElement('ReferenceNumber', $this->getReferenceNumber())); |
|
173
|
|
|
} |
|
174
|
|
|
if ($this->getQuantity()) { |
|
175
|
|
|
$node->appendChild($document->createElement('Quantity', $this->getQuantity())); |
|
176
|
|
|
} |
|
177
|
|
|
if ($this->getClassDivisionNumber()) { |
|
178
|
|
|
$node->appendChild($document->createElement('ClassDivisionNumber', $this->getClassDivisionNumber())); |
|
179
|
|
|
} |
|
180
|
|
|
if ($this->getUom()) { |
|
181
|
|
|
$node->appendChild($document->createElement('UOM', $this->getUom())); |
|
182
|
|
|
} |
|
183
|
|
|
if ($this->getPackagingType()) { |
|
184
|
|
|
$node->appendChild($document->createElement('PackagingType', $this->getPackagingType())); |
|
185
|
|
|
} |
|
186
|
|
|
if ($this->getIdNumber()) { |
|
187
|
|
|
$node->appendChild($document->createElement('IDNumber', $this->getIdNumber())); |
|
188
|
|
|
} |
|
189
|
|
|
if ($this->getProperShippingName()) { |
|
190
|
|
|
$node->appendChild($document->createElement('ProperShippingName', $this->getProperShippingName())); |
|
191
|
|
|
} |
|
192
|
|
|
if ($this->getAdditionalDescription()) { |
|
193
|
|
|
$node->appendChild($document->createElement('AdditionalDescription', $this->getAdditionalDescription())); |
|
194
|
|
|
} |
|
195
|
|
|
if ($this->getPackagingGroupType()) { |
|
196
|
|
|
$node->appendChild($document->createElement('PackagingGroupType', $this->getPackagingGroupType())); |
|
197
|
|
|
} |
|
198
|
|
|
if ($this->getPackagingInstructionCode()) { |
|
199
|
|
|
$node->appendChild($document->createElement('PackagingInstructionCode', $this->getPackagingInstructionCode())); |
|
200
|
|
|
} |
|
201
|
|
|
if ($this->getEmergencyPhone()) { |
|
202
|
|
|
$node->appendChild($document->createElement('EmergencyPhone', $this->getEmergencyPhone())); |
|
203
|
|
|
} |
|
204
|
|
|
if ($this->getEmergencyContact()) { |
|
205
|
|
|
$node->appendChild($document->createElement('EmergencyContact', $this->getEmergencyContact())); |
|
206
|
|
|
} |
|
207
|
|
|
if ($this->getReportableQuantity()) { |
|
208
|
|
|
$node->appendChild($document->createElement('ReportableQuantity', $this->getReportableQuantity())); |
|
209
|
|
|
} |
|
210
|
|
|
if ($this->getRegulationSet()) { |
|
211
|
|
|
$node->appendChild($document->createElement('RegulationSet', $this->getRegulationSet())); |
|
212
|
|
|
} |
|
213
|
|
|
if ($this->getTransportationMode()) { |
|
214
|
|
|
$node->appendChild($document->createElement('TransportationMode', $this->getTransportationMode())); |
|
215
|
|
|
} |
|
216
|
|
|
if ($this->getCommodityRegulatedLevelCode()) { |
|
217
|
|
|
$node->appendChild($document->createElement('CommodityRegulatedLevelCode', $this->getCommodityRegulatedLevelCode())); |
|
218
|
|
|
} |
|
219
|
|
|
if ($this->getTransportCategory()) { |
|
220
|
|
|
$node->appendChild($document->createElement('TransportCategory', $this->getTransportCategory())); |
|
221
|
|
|
} |
|
222
|
|
|
if ($this->getTunnelRestrictionCode()) { |
|
223
|
|
|
$node->appendChild($document->createElement('TunnelRestrictionCode', $this->getTunnelRestrictionCode())); |
|
224
|
|
|
} |
|
225
|
|
|
if ($this->getChemicalRecordIdentifier()) { |
|
226
|
|
|
$node->appendChild($document->createElement('ChemicalRecordIdentifier', $this->getChemicalRecordIdentifier())); |
|
227
|
|
|
} |
|
228
|
|
|
|
|
229
|
|
|
return $node; |
|
230
|
|
|
} |
|
231
|
|
|
|
|
232
|
|
|
/** |
|
233
|
|
|
* @return string |
|
234
|
|
|
*/ |
|
235
|
|
|
public function getPackagingTypeQuantity() |
|
236
|
|
|
{ |
|
237
|
|
|
return $this->packagingTypeQuantity; |
|
238
|
|
|
} |
|
239
|
|
|
|
|
240
|
|
|
/** |
|
241
|
|
|
* @param string $packagingTypeQuantity |
|
242
|
|
|
*/ |
|
243
|
|
|
public function setPackagingTypeQuantity($packagingTypeQuantity) |
|
244
|
|
|
{ |
|
245
|
|
|
$this->packagingTypeQuantity = $packagingTypeQuantity; |
|
246
|
|
|
} |
|
247
|
|
|
|
|
248
|
|
|
/** |
|
249
|
|
|
* @return string |
|
250
|
|
|
*/ |
|
251
|
|
|
public function getSubRiskClass() |
|
252
|
|
|
{ |
|
253
|
|
|
return $this->subRiskClass; |
|
254
|
|
|
} |
|
255
|
|
|
|
|
256
|
|
|
/** |
|
257
|
|
|
* @param string $subRiskClass |
|
258
|
|
|
*/ |
|
259
|
|
|
public function setSubRiskClass($subRiskClass) |
|
260
|
|
|
{ |
|
261
|
|
|
$this->subRiskClass = $subRiskClass; |
|
262
|
|
|
} |
|
263
|
|
|
|
|
264
|
|
|
/** |
|
265
|
|
|
* @return string |
|
266
|
|
|
*/ |
|
267
|
|
|
public function getAdrItemNumber() |
|
268
|
|
|
{ |
|
269
|
|
|
return $this->adrItemNumber; |
|
270
|
|
|
} |
|
271
|
|
|
|
|
272
|
|
|
/** |
|
273
|
|
|
* @param string $adrItemNumber |
|
274
|
|
|
*/ |
|
275
|
|
|
public function setAdrItemNumber($adrItemNumber) |
|
276
|
|
|
{ |
|
277
|
|
|
$this->adrItemNumber = $adrItemNumber; |
|
278
|
|
|
} |
|
279
|
|
|
|
|
280
|
|
|
/** |
|
281
|
|
|
* @return string |
|
282
|
|
|
*/ |
|
283
|
|
|
public function getAdrPackingGroupLetter() |
|
284
|
|
|
{ |
|
285
|
|
|
return $this->adrPackingGroupLetter; |
|
286
|
|
|
} |
|
287
|
|
|
|
|
288
|
|
|
/** |
|
289
|
|
|
* @param string $adrPackingGroupLetter |
|
290
|
|
|
*/ |
|
291
|
|
|
public function setAdrPackingGroupLetter($adrPackingGroupLetter) |
|
292
|
|
|
{ |
|
293
|
|
|
$this->adrPackingGroupLetter = $adrPackingGroupLetter; |
|
294
|
|
|
} |
|
295
|
|
|
|
|
296
|
|
|
/** |
|
297
|
|
|
* @return string |
|
298
|
|
|
*/ |
|
299
|
|
|
public function getTechnicalName() |
|
300
|
|
|
{ |
|
301
|
|
|
return $this->technicalName; |
|
302
|
|
|
} |
|
303
|
|
|
|
|
304
|
|
|
/** |
|
305
|
|
|
* @param string $technicalName |
|
306
|
|
|
*/ |
|
307
|
|
|
public function setTechnicalName($technicalName) |
|
308
|
|
|
{ |
|
309
|
|
|
$this->technicalName = $technicalName; |
|
310
|
|
|
} |
|
311
|
|
|
|
|
312
|
|
|
/** |
|
313
|
|
|
* @return string |
|
314
|
|
|
*/ |
|
315
|
|
|
public function getHazardLabelRequired() |
|
316
|
|
|
{ |
|
317
|
|
|
return $this->hazardLabelRequired; |
|
318
|
|
|
} |
|
319
|
|
|
|
|
320
|
|
|
/** |
|
321
|
|
|
* @param string $hazardLabelRequired |
|
322
|
|
|
*/ |
|
323
|
|
|
public function setHazardLabelRequired($hazardLabelRequired) |
|
324
|
|
|
{ |
|
325
|
|
|
$this->hazardLabelRequired = $hazardLabelRequired; |
|
326
|
|
|
} |
|
327
|
|
|
|
|
328
|
|
|
/** |
|
329
|
|
|
* @return string |
|
330
|
|
|
*/ |
|
331
|
|
|
public function getClassDivisionNumber() |
|
332
|
|
|
{ |
|
333
|
|
|
return $this->classDivisionNumber; |
|
334
|
|
|
} |
|
335
|
|
|
|
|
336
|
|
|
/** |
|
337
|
|
|
* @param string $classDivisionNumber |
|
338
|
|
|
*/ |
|
339
|
|
|
public function setClassDivisionNumber($classDivisionNumber) |
|
340
|
|
|
{ |
|
341
|
|
|
$this->classDivisionNumber = $classDivisionNumber; |
|
342
|
|
|
} |
|
343
|
|
|
|
|
344
|
|
|
/** |
|
345
|
|
|
* @return string |
|
346
|
|
|
*/ |
|
347
|
|
|
public function getReferenceNumber() |
|
348
|
|
|
{ |
|
349
|
|
|
return $this->referenceNumber; |
|
350
|
|
|
} |
|
351
|
|
|
|
|
352
|
|
|
/** |
|
353
|
|
|
* @param string $referenceNumber |
|
354
|
|
|
*/ |
|
355
|
|
|
public function setReferenceNumber($referenceNumber) |
|
356
|
|
|
{ |
|
357
|
|
|
$this->referenceNumber = $referenceNumber; |
|
358
|
|
|
} |
|
359
|
|
|
|
|
360
|
|
|
/** |
|
361
|
|
|
* @return string |
|
362
|
|
|
*/ |
|
363
|
|
|
public function getQuantity() |
|
364
|
|
|
{ |
|
365
|
|
|
return $this->quantity; |
|
366
|
|
|
} |
|
367
|
|
|
|
|
368
|
|
|
/** |
|
369
|
|
|
* @param string $quantity |
|
370
|
|
|
*/ |
|
371
|
|
|
public function setQuantity($quantity) |
|
372
|
|
|
{ |
|
373
|
|
|
$this->quantity = $quantity; |
|
374
|
|
|
} |
|
375
|
|
|
|
|
376
|
|
|
/** |
|
377
|
|
|
* @return string |
|
378
|
|
|
*/ |
|
379
|
|
|
public function getUom() |
|
380
|
|
|
{ |
|
381
|
|
|
return $this->uom; |
|
382
|
|
|
} |
|
383
|
|
|
|
|
384
|
|
|
/** |
|
385
|
|
|
* @param string $uom |
|
386
|
|
|
*/ |
|
387
|
|
|
public function setUom($uom) |
|
388
|
|
|
{ |
|
389
|
|
|
$this->uom = $uom; |
|
390
|
|
|
} |
|
391
|
|
|
|
|
392
|
|
|
/** |
|
393
|
|
|
* @return string |
|
394
|
|
|
*/ |
|
395
|
|
|
public function getPackagingType() |
|
396
|
|
|
{ |
|
397
|
|
|
return $this->packagingType; |
|
398
|
|
|
} |
|
399
|
|
|
|
|
400
|
|
|
/** |
|
401
|
|
|
* @param string $packagingType |
|
402
|
|
|
*/ |
|
403
|
|
|
public function setPackagingType($packagingType) |
|
404
|
|
|
{ |
|
405
|
|
|
$this->packagingType = $packagingType; |
|
406
|
|
|
} |
|
407
|
|
|
|
|
408
|
|
|
/** |
|
409
|
|
|
* @return string |
|
410
|
|
|
*/ |
|
411
|
|
|
public function getIdNumber() |
|
412
|
|
|
{ |
|
413
|
|
|
return $this->idNumber; |
|
414
|
|
|
} |
|
415
|
|
|
|
|
416
|
|
|
/** |
|
417
|
|
|
* @param string $idNumber |
|
418
|
|
|
*/ |
|
419
|
|
|
public function setIdNumber($idNumber) |
|
420
|
|
|
{ |
|
421
|
|
|
$this->idNumber = $idNumber; |
|
422
|
|
|
} |
|
423
|
|
|
|
|
424
|
|
|
/** |
|
425
|
|
|
* @return string |
|
426
|
|
|
*/ |
|
427
|
|
|
public function getProperShippingName() |
|
428
|
|
|
{ |
|
429
|
|
|
return $this->properShippingName; |
|
430
|
|
|
} |
|
431
|
|
|
|
|
432
|
|
|
/** |
|
433
|
|
|
* @param string $properShippingName |
|
434
|
|
|
*/ |
|
435
|
|
|
public function setProperShippingName($properShippingName) |
|
436
|
|
|
{ |
|
437
|
|
|
$this->properShippingName = $properShippingName; |
|
438
|
|
|
} |
|
439
|
|
|
|
|
440
|
|
|
/** |
|
441
|
|
|
* @return string |
|
442
|
|
|
*/ |
|
443
|
|
|
public function getAdditionalDescription() |
|
444
|
|
|
{ |
|
445
|
|
|
return $this->additionalDescription; |
|
446
|
|
|
} |
|
447
|
|
|
|
|
448
|
|
|
/** |
|
449
|
|
|
* @param string $additionalDescription |
|
450
|
|
|
*/ |
|
451
|
|
|
public function setAdditionalDescription($additionalDescription) |
|
452
|
|
|
{ |
|
453
|
|
|
$this->additionalDescription = $additionalDescription; |
|
454
|
|
|
} |
|
455
|
|
|
|
|
456
|
|
|
/** |
|
457
|
|
|
* @return string |
|
458
|
|
|
*/ |
|
459
|
|
|
public function getPackagingGroupType() |
|
460
|
|
|
{ |
|
461
|
|
|
return $this->packagingGroupType; |
|
462
|
|
|
} |
|
463
|
|
|
|
|
464
|
|
|
/** |
|
465
|
|
|
* @param string $packagingGroupType |
|
466
|
|
|
*/ |
|
467
|
|
|
public function setPackagingGroupType($packagingGroupType) |
|
468
|
|
|
{ |
|
469
|
|
|
$this->packagingGroupType = $packagingGroupType; |
|
470
|
|
|
} |
|
471
|
|
|
|
|
472
|
|
|
/** |
|
473
|
|
|
* @return string |
|
474
|
|
|
*/ |
|
475
|
|
|
public function getPackagingInstructionCode() |
|
476
|
|
|
{ |
|
477
|
|
|
return $this->packagingInstructionCode; |
|
478
|
|
|
} |
|
479
|
|
|
|
|
480
|
|
|
/** |
|
481
|
|
|
* @param string $packagingInstructionCode |
|
482
|
|
|
*/ |
|
483
|
|
|
public function setPackagingInstructionCode($packagingInstructionCode) |
|
484
|
|
|
{ |
|
485
|
|
|
$this->packagingInstructionCode = $packagingInstructionCode; |
|
486
|
|
|
} |
|
487
|
|
|
|
|
488
|
|
|
/** |
|
489
|
|
|
* @return string |
|
490
|
|
|
*/ |
|
491
|
|
|
public function getEmergencyPhone() |
|
492
|
|
|
{ |
|
493
|
|
|
return $this->emergencyPhone; |
|
494
|
|
|
} |
|
495
|
|
|
|
|
496
|
|
|
/** |
|
497
|
|
|
* @param string $emergencyPhone |
|
498
|
|
|
*/ |
|
499
|
|
|
public function setEmergencyPhone($emergencyPhone) |
|
500
|
|
|
{ |
|
501
|
|
|
$this->emergencyPhone = $emergencyPhone; |
|
502
|
|
|
} |
|
503
|
|
|
|
|
504
|
|
|
/** |
|
505
|
|
|
* @return string |
|
506
|
|
|
*/ |
|
507
|
|
|
public function getEmergencyContact() |
|
508
|
|
|
{ |
|
509
|
|
|
return $this->emergencyContact; |
|
510
|
|
|
} |
|
511
|
|
|
|
|
512
|
|
|
/** |
|
513
|
|
|
* @param string $emergencyContact |
|
514
|
|
|
*/ |
|
515
|
|
|
public function setEmergencyContact($emergencyContact) |
|
516
|
|
|
{ |
|
517
|
|
|
$this->emergencyContact = $emergencyContact; |
|
518
|
|
|
} |
|
519
|
|
|
|
|
520
|
|
|
/** |
|
521
|
|
|
* @return string |
|
522
|
|
|
*/ |
|
523
|
|
|
public function getReportableQuantity() |
|
524
|
|
|
{ |
|
525
|
|
|
return $this->reportableQuantity; |
|
526
|
|
|
} |
|
527
|
|
|
|
|
528
|
|
|
/** |
|
529
|
|
|
* @param string $reportableQuantity |
|
530
|
|
|
*/ |
|
531
|
|
|
public function setReportableQuantity($reportableQuantity) |
|
532
|
|
|
{ |
|
533
|
|
|
$this->reportableQuantity = $reportableQuantity; |
|
534
|
|
|
} |
|
535
|
|
|
|
|
536
|
|
|
/** |
|
537
|
|
|
* @return string |
|
538
|
|
|
*/ |
|
539
|
|
|
public function getRegulationSet() |
|
540
|
|
|
{ |
|
541
|
|
|
return $this->regulationSet; |
|
542
|
|
|
} |
|
543
|
|
|
|
|
544
|
|
|
/** |
|
545
|
|
|
* @param string $regulationSet |
|
546
|
|
|
*/ |
|
547
|
|
|
public function setRegulationSet($regulationSet) |
|
548
|
|
|
{ |
|
549
|
|
|
$this->regulationSet = $regulationSet; |
|
550
|
|
|
} |
|
551
|
|
|
|
|
552
|
|
|
/** |
|
553
|
|
|
* @return string |
|
554
|
|
|
*/ |
|
555
|
|
|
public function getTransportationMode() |
|
556
|
|
|
{ |
|
557
|
|
|
return $this->transportationMode; |
|
558
|
|
|
} |
|
559
|
|
|
|
|
560
|
|
|
/** |
|
561
|
|
|
* @param string $transportationMode |
|
562
|
|
|
*/ |
|
563
|
|
|
public function setTransportationMode($transportationMode) |
|
564
|
|
|
{ |
|
565
|
|
|
$this->transportationMode = $transportationMode; |
|
566
|
|
|
} |
|
567
|
|
|
|
|
568
|
|
|
/** |
|
569
|
|
|
* @return string |
|
570
|
|
|
*/ |
|
571
|
|
|
public function getCommodityRegulatedLevelCode() |
|
572
|
|
|
{ |
|
573
|
|
|
return $this->commodityRegulatedLevelCode; |
|
574
|
|
|
} |
|
575
|
|
|
|
|
576
|
|
|
/** |
|
577
|
|
|
* @param string $commodityRegulatedLevelCode |
|
578
|
|
|
*/ |
|
579
|
|
|
public function setCommodityRegulatedLevelCode($commodityRegulatedLevelCode) |
|
580
|
|
|
{ |
|
581
|
|
|
$this->commodityRegulatedLevelCode = $commodityRegulatedLevelCode; |
|
582
|
|
|
} |
|
583
|
|
|
|
|
584
|
|
|
/** |
|
585
|
|
|
* @return string |
|
586
|
|
|
*/ |
|
587
|
|
|
public function getTransportCategory() |
|
588
|
|
|
{ |
|
589
|
|
|
return $this->transportCategory; |
|
590
|
|
|
} |
|
591
|
|
|
|
|
592
|
|
|
/** |
|
593
|
|
|
* @param string $transportCategory |
|
594
|
|
|
*/ |
|
595
|
|
|
public function setTransportCategory($transportCategory) |
|
596
|
|
|
{ |
|
597
|
|
|
$this->transportCategory = $transportCategory; |
|
598
|
|
|
} |
|
599
|
|
|
|
|
600
|
|
|
/** |
|
601
|
|
|
* @return string |
|
602
|
|
|
*/ |
|
603
|
|
|
public function getTunnelRestrictionCode() |
|
604
|
|
|
{ |
|
605
|
|
|
return $this->tunnelRestrictionCode; |
|
606
|
|
|
} |
|
607
|
|
|
|
|
608
|
|
|
/** |
|
609
|
|
|
* @param string $tunnelRestrictionCode |
|
610
|
|
|
*/ |
|
611
|
|
|
public function setTunnelRestrictionCode($tunnelRestrictionCode) |
|
612
|
|
|
{ |
|
613
|
|
|
$this->tunnelRestrictionCode = $tunnelRestrictionCode; |
|
614
|
|
|
} |
|
615
|
|
|
|
|
616
|
|
|
/** |
|
617
|
|
|
* @return string |
|
618
|
|
|
*/ |
|
619
|
|
|
public function getChemicalRecordIdentifier() |
|
620
|
|
|
{ |
|
621
|
|
|
return $this->chemicalRecordIdentifier; |
|
622
|
|
|
} |
|
623
|
|
|
|
|
624
|
|
|
/** |
|
625
|
|
|
* @param string $chemicalRecordIdentifier |
|
626
|
|
|
*/ |
|
627
|
|
|
public function setChemicalRecordIdentifier($chemicalRecordIdentifier) |
|
628
|
|
|
{ |
|
629
|
|
|
$this->chemicalRecordIdentifier = $chemicalRecordIdentifier; |
|
630
|
|
|
} |
|
631
|
|
|
} |
|
632
|
|
|
|