Completed
Push — master ( fd0635...f2796c )
by Tom
06:08
created

Occupation   A

Complexity

Total Complexity 8

Size/Duplication

Total Lines 130
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 1

Importance

Changes 0
Metric Value
wmc 8
lcom 1
cbo 1
dl 0
loc 130
rs 10
c 0
b 0
f 0

8 Methods

Rating   Name   Duplication   Size   Complexity  
A educationRequirements() 0 4 1
A estimatedSalary() 0 4 1
A experienceRequirements() 0 4 1
A occupationLocation() 0 4 1
A occupationalCategory() 0 4 1
A qualifications() 0 4 1
A responsibilities() 0 4 1
A skills() 0 4 1
1
<?php
2
3
namespace Spatie\SchemaOrg;
4
5
/**
6
 * A profession, may involve prolonged training and/or a formal qualification.
7
 *
8
 * @see http://schema.org/Occupation
9
 *
10
 * @mixin \Spatie\SchemaOrg\Intangible
11
 */
12
class Occupation extends BaseType
13
{
14
    /**
15
     * Educational background needed for the position or Occupation.
16
     *
17
     * @param string|string[] $educationRequirements
18
     *
19
     * @return static
20
     *
21
     * @see http://schema.org/educationRequirements
22
     */
23
    public function educationRequirements($educationRequirements)
24
    {
25
        return $this->setProperty('educationRequirements', $educationRequirements);
26
    }
27
28
    /**
29
     * An estimated salary for a job posting or occupation, based on a variety
30
     * of variables including, but not limited to industry, job title, and
31
     * location. Estimated salaries  are often computed by outside organizations
32
     * rather than the hiring organization, who may not have committed to the
33
     * estimated value.
34
     *
35
     * @param MonetaryAmount|MonetaryAmountDistribution|MonetaryAmountDistribution[]|MonetaryAmount[]|float|float[]|int|int[] $estimatedSalary
36
     *
37
     * @return static
38
     *
39
     * @see http://schema.org/estimatedSalary
40
     */
41
    public function estimatedSalary($estimatedSalary)
42
    {
43
        return $this->setProperty('estimatedSalary', $estimatedSalary);
44
    }
45
46
    /**
47
     * Description of skills and experience needed for the position or
48
     * Occupation.
49
     *
50
     * @param string|string[] $experienceRequirements
51
     *
52
     * @return static
53
     *
54
     * @see http://schema.org/experienceRequirements
55
     */
56
    public function experienceRequirements($experienceRequirements)
57
    {
58
        return $this->setProperty('experienceRequirements', $experienceRequirements);
59
    }
60
61
    /**
62
     * The region/country for which this occupational description is
63
     * appropriate. Note that educational requirements and qualifications can
64
     * vary between jurisdictions.
65
     *
66
     * @param AdministrativeArea|AdministrativeArea[] $occupationLocation
67
     *
68
     * @return static
69
     *
70
     * @see http://schema.org/occupationLocation
71
     */
72
    public function occupationLocation($occupationLocation)
73
    {
74
        return $this->setProperty('occupationLocation', $occupationLocation);
75
    }
76
77
    /**
78
     * A category describing the job, preferably using a term from a taxonomy
79
     * such as [BLS O*NET-SOC](http://www.onetcenter.org/taxonomy.html),
80
     * [ISCO-08](https://www.ilo.org/public/english/bureau/stat/isco/isco08/) or
81
     * similar, with the property repeated for each applicable value. Ideally
82
     * the taxonomy should be identified, and both the textual label and formal
83
     * code for the category should be provided.
84
     * 
85
     * Note: for historical reasons, any textual label and formal code provided
86
     * as a literal may be assumed to be from O*NET-SOC.
87
     *
88
     * @param string|string[] $occupationalCategory
89
     *
90
     * @return static
91
     *
92
     * @see http://schema.org/occupationalCategory
93
     */
94
    public function occupationalCategory($occupationalCategory)
95
    {
96
        return $this->setProperty('occupationalCategory', $occupationalCategory);
97
    }
98
99
    /**
100
     * Specific qualifications required for this role or Occupation.
101
     *
102
     * @param string|string[] $qualifications
103
     *
104
     * @return static
105
     *
106
     * @see http://schema.org/qualifications
107
     */
108
    public function qualifications($qualifications)
109
    {
110
        return $this->setProperty('qualifications', $qualifications);
111
    }
112
113
    /**
114
     * Responsibilities associated with this role or Occupation.
115
     *
116
     * @param string|string[] $responsibilities
117
     *
118
     * @return static
119
     *
120
     * @see http://schema.org/responsibilities
121
     */
122
    public function responsibilities($responsibilities)
123
    {
124
        return $this->setProperty('responsibilities', $responsibilities);
125
    }
126
127
    /**
128
     * Skills required to fulfill this role or in this Occupation.
129
     *
130
     * @param string|string[] $skills
131
     *
132
     * @return static
133
     *
134
     * @see http://schema.org/skills
135
     */
136
    public function skills($skills)
137
    {
138
        return $this->setProperty('skills', $skills);
139
    }
140
141
}
142