Completed
Pull Request — master (#98)
by Christopher
05:13
created

Category::setScheme()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 5
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 3
nc 1
nop 1
1
<?php
2
3
namespace AlgoWeb\ODataMetadata\Atom;
4
5
/**
6
 * Class representing Category
7
 */
8
class Category extends UndefinedContentType
9
{
10
11
    /**
12
     * @property string $base
13
     */
14
    private $base = null;
15
16
    /**
17
     * @property string $lang
18
     */
19
    private $lang = null;
20
21
    /**
22
     * @property mixed $term
23
     */
24
    private $term = null;
25
26
    /**
27
     * @property mixed $scheme
28
     */
29
    private $scheme = null;
30
31
    /**
32
     * @property mixed $label
33
     */
34
    private $label = null;
35
36
    /**
37
     * Gets as base
38
     *
39
     * @return string
40
     */
41
    public function getBase()
42
    {
43
        return $this->base;
44
    }
45
46
    /**
47
     * Sets a new base
48
     *
49
     * @param string $base
50
     * @return self
51
     */
52
    public function setBase($base)
53
    {
54
        $this->base = $base;
55
        return $this;
56
    }
57
58
    /**
59
     * Gets as lang
60
     *
61
     * @return string
62
     */
63
    public function getLang()
64
    {
65
        return $this->lang;
66
    }
67
68
    /**
69
     * Sets a new lang
70
     *
71
     * @param string $lang
72
     * @return self
73
     */
74
    public function setLang($lang)
75
    {
76
        $this->lang = $lang;
77
        return $this;
78
    }
79
80
    /**
81
     * Gets as term
82
     *
83
     * @return mixed
84
     */
85
    public function getTerm()
86
    {
87
        return $this->term;
88
    }
89
90
    /**
91
     * Sets a new term
92
     *
93
     * @param mixed $term
94
     * @return self
95
     */
96
    public function setTerm($term)
97
    {
98
        $this->term = $term;
99
        return $this;
100
    }
101
102
    /**
103
     * Gets as scheme
104
     *
105
     * @return mixed
106
     */
107
    public function getScheme()
108
    {
109
        return $this->scheme;
110
    }
111
112
    /**
113
     * Sets a new scheme
114
     *
115
     * @param mixed $scheme
116
     * @return self
117
     */
118
    public function setScheme($scheme)
119
    {
120
        $this->scheme = $scheme;
121
        return $this;
122
    }
123
124
    /**
125
     * Gets as label
126
     *
127
     * @return mixed
128
     */
129
    public function getLabel()
130
    {
131
        return $this->label;
132
    }
133
134
    /**
135
     * Sets a new label
136
     *
137
     * @param mixed $label
138
     * @return self
139
     */
140
    public function setLabel($label)
141
    {
142
        $this->label = $label;
143
        return $this;
144
    }
145
}
146