JobPosting   B
last analyzed

Complexity

Total Complexity 36

Size/Duplication

Total Lines 513
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 36
c 0
b 0
f 0
lcom 0
cbo 1
dl 0
loc 513
ccs 90
cts 90
cp 1
rs 8.8

36 Methods

Rating   Name   Duplication   Size   Complexity  
A setBaseSalary() 0 6 1
A getBaseSalary() 0 4 1
A setJobBenefits() 0 6 1
A getJobBenefits() 0 4 1
A setDatePosted() 0 6 1
A getDatePosted() 0 4 1
A setEducationRequirements() 0 6 1
A getEducationRequirements() 0 4 1
A setEmploymentType() 0 6 1
A getEmploymentType() 0 4 1
A setExperienceRequirements() 0 6 1
A getExperienceRequirements() 0 4 1
A setHiringOrganization() 0 6 1
A getHiringOrganization() 0 4 1
A setIncentiveCompensation() 0 6 1
A getIncentiveCompensation() 0 4 1
A setIndustry() 0 6 1
A getIndustry() 0 4 1
A setJobLocation() 0 6 1
A getJobLocation() 0 4 1
A setOccupationalCategory() 0 6 1
A getOccupationalCategory() 0 4 1
A setQualifications() 0 6 1
A getQualifications() 0 4 1
A setResponsibilities() 0 6 1
A getResponsibilities() 0 4 1
A setSalaryCurrency() 0 6 1
A getSalaryCurrency() 0 4 1
A setSkills() 0 6 1
A getSkills() 0 4 1
A setSpecialCommitments() 0 6 1
A getSpecialCommitments() 0 4 1
A setTitle() 0 6 1
A getTitle() 0 4 1
A setWorkHours() 0 6 1
A getWorkHours() 0 4 1
1
<?php
2
3
/*
4
 * This class was automatically generated.
5
 */
6
7
namespace JobApis\Jobs\Client\Schema\Entity;
8
9
/**
10
 * A listing that describes a job opening in a certain organization.
11
 *
12
 * @see http://schema.org/JobPosting Documentation on Schema.org
13
 */
14
class JobPosting extends Thing
15
{
16
    /**
17
     * @var float The base salary of the job or of an employee in an EmployeeRole.
18
     */
19
    protected $baseSalary;
20
    /**
21
     * @var string Description of benefits associated with the job.
22
     */
23
    protected $jobBenefits;
24
    /**
25
     * @var \DateTime Publication date for the job posting.
26
     */
27
    protected $datePosted;
28
    /**
29
     * @var string Educational background needed for the position.
30
     */
31
    protected $educationRequirements;
32
    /**
33
     * @var string Type of employment (e.g. full-time, part-time, contract, temporary, seasonal, internship).
34
     */
35
    protected $employmentType;
36
    /**
37
     * @var string Description of skills and experience needed for the position.
38
     */
39
    protected $experienceRequirements;
40
    /**
41
     * @var Organization Organization offering the job position.
42
     */
43
    protected $hiringOrganization;
44
    /**
45
     * @var string Description of bonus and commission compensation aspects of the job.
46
     */
47
    protected $incentiveCompensation;
48
    /**
49
     * @var string The industry associated with the job position.
50
     */
51
    protected $industry;
52
    /**
53
     * @var Place A (typically single) geographic location associated with the job position.
54
     */
55
    protected $jobLocation;
56
    /**
57
     * @var string Category or categories describing the job.
58
     * Use BLS O*NET-SOC taxonomy: http://www.onetcenter.org/taxonomy.html.
59
     * Ideally includes textual label and formal code, with the property
60
     * repeated for each applicable value.
61
     */
62
    protected $occupationalCategory;
63
    /**
64
     * @var string Specific qualifications required for this role.
65
     */
66
    protected $qualifications;
67
    /**
68
     * @var string Responsibilities associated with this role.
69
     */
70
    protected $responsibilities;
71
    /**
72
     * @var string The currency (coded using ISO 4217,
73
     * http://en.wikipedia.org/wiki/ISO_4217 ) used for the main salary
74
     * information in this job posting or for this employee.
75
     */
76
    protected $salaryCurrency;
77
    /**
78
     * @var string Skills required to fulfill this role.
79
     */
80
    protected $skills;
81
    /**
82
     * @var string Any special commitments associated with this job
83
     * posting. Valid entries include VeteranCommit, MilitarySpouseCommit, etc.
84
     */
85
    protected $specialCommitments;
86
    /**
87
     * @var string The title of the job.
88
     */
89
    protected $title;
90
    /**
91
     * @var string The typical working hours for this job (e.g. 1st shift, night shift, 8am-5pm).
92
     */
93
    protected $workHours;
94
95
    /**
96
     * Sets baseSalary.
97
     *
98
     * @param float $baseSalary
99
     *
100
     * @return $this
101
     */
102 12
    public function setBaseSalary($baseSalary)
103
    {
104 12
        $this->baseSalary = $baseSalary;
105
106 12
        return $this;
107
    }
108
109
    /**
110
     * Gets baseSalary.
111
     *
112
     * @return float
113
     */
114 14
    public function getBaseSalary()
115
    {
116 14
        return $this->baseSalary;
117
    }
118
119
    /**
120
     * Sets jobBenefits.
121
     *
122
     * @param string $jobBenefits
123
     *
124
     * @return $this
125
     */
126 2
    public function setJobBenefits($jobBenefits)
127
    {
128 2
        $this->jobBenefits = $jobBenefits;
129
130 2
        return $this;
131
    }
132
133
    /**
134
     * Gets jobBenefits.
135
     *
136
     * @return string
137
     */
138 2
    public function getJobBenefits()
139
    {
140 2
        return $this->jobBenefits;
141
    }
142
143
    /**
144
     * Sets datePosted.
145
     *
146
     * @param \DateTime $datePosted
147
     *
148
     * @return $this
149
     */
150 8
    public function setDatePosted(\DateTime $datePosted = null)
151
    {
152 8
        $this->datePosted = $datePosted;
153
154 8
        return $this;
155
    }
156
157
    /**
158
     * Gets datePosted.
159
     *
160
     * @return \DateTime
161
     */
162 2
    public function getDatePosted()
163
    {
164 2
        return $this->datePosted;
165
    }
166
167
    /**
168
     * Sets educationRequirements.
169
     *
170
     * @param string $educationRequirements
171
     *
172
     * @return $this
173
     */
174 2
    public function setEducationRequirements($educationRequirements)
175
    {
176 2
        $this->educationRequirements = $educationRequirements;
177
178 2
        return $this;
179
    }
180
181
    /**
182
     * Gets educationRequirements.
183
     *
184
     * @return string
185
     */
186 2
    public function getEducationRequirements()
187
    {
188 2
        return $this->educationRequirements;
189
    }
190
191
    /**
192
     * Sets employmentType.
193
     *
194
     * @param string $employmentType
195
     *
196
     * @return $this
197
     */
198 2
    public function setEmploymentType($employmentType)
199
    {
200 2
        $this->employmentType = $employmentType;
201
202 2
        return $this;
203
    }
204
205
    /**
206
     * Gets employmentType.
207
     *
208
     * @return string
209
     */
210 2
    public function getEmploymentType()
211
    {
212 2
        return $this->employmentType;
213
    }
214
215
    /**
216
     * Sets experienceRequirements.
217
     *
218
     * @param string $experienceRequirements
219
     *
220
     * @return $this
221
     */
222 2
    public function setExperienceRequirements($experienceRequirements)
223
    {
224 2
        $this->experienceRequirements = $experienceRequirements;
225
226 2
        return $this;
227
    }
228
229
    /**
230
     * Gets experienceRequirements.
231
     *
232
     * @return string
233
     */
234 2
    public function getExperienceRequirements()
235
    {
236 2
        return $this->experienceRequirements;
237
    }
238
239
    /**
240
     * Sets hiringOrganization.
241
     *
242
     * @param Organization $hiringOrganization
243
     *
244
     * @return $this
245
     */
246 34
    public function setHiringOrganization(Organization $hiringOrganization = null)
247
    {
248 34
        $this->hiringOrganization = $hiringOrganization;
249
250 34
        return $this;
251
    }
252
253
    /**
254
     * Gets hiringOrganization.
255
     *
256
     * @return Organization
257
     */
258 34
    public function getHiringOrganization()
259
    {
260 34
        return $this->hiringOrganization;
261
    }
262
263
    /**
264
     * Sets incentiveCompensation.
265
     *
266
     * @param string $incentiveCompensation
267
     *
268
     * @return $this
269
     */
270 2
    public function setIncentiveCompensation($incentiveCompensation)
271
    {
272 2
        $this->incentiveCompensation = $incentiveCompensation;
273
274 2
        return $this;
275
    }
276
277
    /**
278
     * Gets incentiveCompensation.
279
     *
280
     * @return string
281
     */
282 2
    public function getIncentiveCompensation()
283
    {
284 2
        return $this->incentiveCompensation;
285
    }
286
287
    /**
288
     * Sets industry.
289
     *
290
     * @param string $industry
291
     *
292
     * @return $this
293
     */
294 2
    public function setIndustry($industry)
295
    {
296 2
        $this->industry = $industry;
297
298 2
        return $this;
299
    }
300
301
    /**
302
     * Gets industry.
303
     *
304
     * @return string
305
     */
306 2
    public function getIndustry()
307
    {
308 2
        return $this->industry;
309
    }
310
311
    /**
312
     * Sets jobLocation.
313
     *
314
     * @param Place $jobLocation
315
     *
316
     * @return $this
317
     */
318 20
    public function setJobLocation(Place $jobLocation = null)
319
    {
320 20
        $this->jobLocation = $jobLocation;
321
322 20
        return $this;
323
    }
324
325
    /**
326
     * Gets jobLocation.
327
     *
328
     * @return Place
329
     */
330 18
    public function getJobLocation()
331
    {
332 18
        return $this->jobLocation;
333
    }
334
335
    /**
336
     * Sets occupationalCategory.
337
     *
338
     * @param string $occupationalCategory
339
     *
340
     * @return $this
341
     */
342 4
    public function setOccupationalCategory($occupationalCategory)
343
    {
344 4
        $this->occupationalCategory = $occupationalCategory;
345
346 4
        return $this;
347
    }
348
349
    /**
350
     * Gets occupationalCategory.
351
     *
352
     * @return string
353
     */
354 4
    public function getOccupationalCategory()
355
    {
356 4
        return $this->occupationalCategory;
357
    }
358
359
    /**
360
     * Sets qualifications.
361
     *
362
     * @param string $qualifications
363
     *
364
     * @return $this
365
     */
366 2
    public function setQualifications($qualifications)
367
    {
368 2
        $this->qualifications = $qualifications;
369
370 2
        return $this;
371
    }
372
373
    /**
374
     * Gets qualifications.
375
     *
376
     * @return string
377
     */
378 2
    public function getQualifications()
379
    {
380 2
        return $this->qualifications;
381
    }
382
383
    /**
384
     * Sets responsibilities.
385
     *
386
     * @param string $responsibilities
387
     *
388
     * @return $this
389
     */
390 2
    public function setResponsibilities($responsibilities)
391
    {
392 2
        $this->responsibilities = $responsibilities;
393
394 2
        return $this;
395
    }
396
397
    /**
398
     * Gets responsibilities.
399
     *
400
     * @return string
401
     */
402 2
    public function getResponsibilities()
403
    {
404 2
        return $this->responsibilities;
405
    }
406
407
    /**
408
     * Sets salaryCurrency.
409
     *
410
     * @param string $salaryCurrency
411
     *
412
     * @return $this
413
     */
414 2
    public function setSalaryCurrency($salaryCurrency)
415
    {
416 2
        $this->salaryCurrency = $salaryCurrency;
417
418 2
        return $this;
419
    }
420
421
    /**
422
     * Gets salaryCurrency.
423
     *
424
     * @return string
425
     */
426 2
    public function getSalaryCurrency()
427
    {
428 2
        return $this->salaryCurrency;
429
    }
430
431
    /**
432
     * Sets skills.
433
     *
434
     * @param string $skills
435
     *
436
     * @return $this
437
     */
438 2
    public function setSkills($skills)
439
    {
440 2
        $this->skills = $skills;
441
442 2
        return $this;
443
    }
444
445
    /**
446
     * Gets skills.
447
     *
448
     * @return string
449
     */
450 2
    public function getSkills()
451
    {
452 2
        return $this->skills;
453
    }
454
455
    /**
456
     * Sets specialCommitments.
457
     *
458
     * @param string $specialCommitments
459
     *
460
     * @return $this
461
     */
462 2
    public function setSpecialCommitments($specialCommitments)
463
    {
464 2
        $this->specialCommitments = $specialCommitments;
465
466 2
        return $this;
467
    }
468
469
    /**
470
     * Gets specialCommitments.
471
     *
472
     * @return string
473
     */
474 2
    public function getSpecialCommitments()
475
    {
476 2
        return $this->specialCommitments;
477
    }
478
479
    /**
480
     * Sets title.
481
     *
482
     * @param string $title
483
     *
484
     * @return $this
485
     */
486 4
    public function setTitle($title)
487
    {
488 4
        $this->title = $title;
489
490 4
        return $this;
491
    }
492
493
    /**
494
     * Gets title.
495
     *
496
     * @return string
497
     */
498 6
    public function getTitle()
499
    {
500 6
        return $this->title;
501
    }
502
503
    /**
504
     * Sets workHours.
505
     *
506
     * @param string $workHours
507
     *
508
     * @return $this
509
     */
510 2
    public function setWorkHours($workHours)
511
    {
512 2
        $this->workHours = $workHours;
513
514 2
        return $this;
515
    }
516
517
    /**
518
     * Gets workHours.
519
     *
520
     * @return string
521
     */
522 2
    public function getWorkHours()
523
    {
524 2
        return $this->workHours;
525
    }
526
}
527