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

AtomPersonConstructType::setEmail()   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 AtomPersonConstructType
7
 *
8
 *
9
 * XSD Type: atomPersonConstruct
10
 */
11
class AtomPersonConstructType
12
{
13
14
    /**
15
     * @property string $base
16
     */
17
    private $base = null;
18
19
    /**
20
     * @property string $lang
21
     */
22
    private $lang = null;
23
24
    /**
25
     * @property string $name
26
     */
27
    private $name = null;
28
29
    /**
30
     * @property string $uri
31
     */
32
    private $uri = null;
33
34
    /**
35
     * @property string $email
36
     */
37
    private $email = null;
38
39
    /**
40
     * Gets as base
41
     *
42
     * @return string
43
     */
44
    public function getBase()
45
    {
46
        return $this->base;
47
    }
48
49
    /**
50
     * Sets a new base
51
     *
52
     * @param string $base
53
     * @return self
54
     */
55
    public function setBase($base)
56
    {
57
        $this->base = $base;
58
        return $this;
59
    }
60
61
    /**
62
     * Gets as lang
63
     *
64
     * @return string
65
     */
66
    public function getLang()
67
    {
68
        return $this->lang;
69
    }
70
71
    /**
72
     * Sets a new lang
73
     *
74
     * @param string $lang
75
     * @return self
76
     */
77
    public function setLang($lang)
78
    {
79
        $this->lang = $lang;
80
        return $this;
81
    }
82
83
    /**
84
     * Gets as name
85
     *
86
     * @return string
87
     */
88
    public function getName()
89
    {
90
        return $this->name;
91
    }
92
93
    /**
94
     * Sets a new name
95
     *
96
     * @param string $name
97
     * @return self
98
     */
99
    public function setName($name)
100
    {
101
        $this->name = $name;
102
        return $this;
103
    }
104
105
    /**
106
     * Gets as uri
107
     *
108
     * @return string
109
     */
110
    public function getUri()
111
    {
112
        return $this->uri;
113
    }
114
115
    /**
116
     * Sets a new uri
117
     *
118
     * @param string $uri
119
     * @return self
120
     */
121
    public function setUri($uri)
122
    {
123
        $this->uri = $uri;
124
        return $this;
125
    }
126
127
    /**
128
     * Gets as email
129
     *
130
     * @return string
131
     */
132
    public function getEmail()
133
    {
134
        return $this->email;
135
    }
136
137
    /**
138
     * Sets a new email
139
     *
140
     * @param string $email
141
     * @return self
142
     */
143
    public function setEmail($email)
144
    {
145
        $this->email = $email;
146
        return $this;
147
    }
148
}
149