Completed
Push — master ( 07b37d...b10e41 )
by Torben
02:00
created

Location::getLink()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 4
ccs 2
cts 2
cp 1
rs 10
cc 1
eloc 2
nc 1
nop 0
crap 1
1
<?php
2
namespace DERHANSEN\SfEventMgt\Domain\Model;
3
4
/*
5
 * This file is part of the TYPO3 CMS project.
6
 *
7
 * It is free software; you can redistribute it and/or modify it under
8
 * the terms of the GNU General Public License, either version 2
9
 * of the License, or any later version.
10
 *
11
 * For the full copyright and license information, please read the
12
 * LICENSE.txt file that was distributed with this source code.
13
 *
14
 * The TYPO3 project - inspiring people to share!
15
 */
16
17
/**
18
 * Location
19
 *
20
 * @author Torben Hansen <[email protected]>
21
 */
22
class Location extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity
23
{
24
25
    /**
26
     * Title
27
     *
28
     * @var string
29
     */
30
    protected $title = '';
31
32
    /**
33
     * Address
34
     *
35
     * @var string
36
     */
37
    protected $address = '';
38
39
    /**
40
     * Zip
41
     *
42
     * @var string
43
     */
44
    protected $zip = '';
45
46
    /**
47
     * City
48
     *
49
     * @var string
50
     */
51
    protected $city = '';
52
53
    /**
54
     * Country
55
     *
56
     * @var string
57
     */
58
    protected $country = '';
59
60
    /**
61
     * Description
62
     *
63
     * @var string
64
     */
65
    protected $description = '';
66
67
    /**
68
     * Link
69
     *
70
     * @var string
71
     */
72
    protected $link = '';
73
74
    /**
75
     * Longitude
76
     *
77
     * @var float
78
     */
79
    protected $longitude = 0.0;
80
81
    /**
82
     * Latitude
83
     *
84
     * @var float
85
     */
86
    protected $latitude = 0.0;
87
88
    /**
89
     * Returns the title
90
     *
91
     * @return string $title
92
     */
93 1
    public function getTitle()
94
    {
95 1
        return $this->title;
96
    }
97
98
    /**
99
     * Sets the title
100
     *
101
     * @param string $title The title
102
     *
103
     * @return void
104
     */
105 1
    public function setTitle($title)
106
    {
107 1
        $this->title = $title;
108 1
    }
109
110
    /**
111
     * Returns the address
112
     *
113
     * @return string $address
114
     */
115 1
    public function getAddress()
116
    {
117 1
        return $this->address;
118
    }
119
120
    /**
121
     * Sets the address
122
     *
123
     * @param string $address Address
124
     *
125
     * @return void
126
     */
127 1
    public function setAddress($address)
128
    {
129 1
        $this->address = $address;
130 1
    }
131
132
    /**
133
     * Returns the zip
134
     *
135
     * @return string $zip
136
     */
137 1
    public function getZip()
138
    {
139 1
        return $this->zip;
140
    }
141
142
    /**
143
     * Sets the zip
144
     *
145
     * @param string $zip Zip
146
     *
147
     * @return void
148
     */
149 1
    public function setZip($zip)
150
    {
151 1
        $this->zip = $zip;
152 1
    }
153
154
    /**
155
     * Returns the city
156
     *
157
     * @return string $city
158
     */
159 1
    public function getCity()
160
    {
161 1
        return $this->city;
162
    }
163
164
    /**
165
     * Sets the city
166
     *
167
     * @param string $city City
168
     *
169
     * @return void
170
     */
171 1
    public function setCity($city)
172
    {
173 1
        $this->city = $city;
174 1
    }
175
176
    /**
177
     * Returns the country
178
     *
179
     * @return string $country
180
     */
181 1
    public function getCountry()
182
    {
183 1
        return $this->country;
184
    }
185
186
    /**
187
     * Sets the country
188
     *
189
     * @param string $country Country
190
     *
191
     * @return void
192
     */
193 1
    public function setCountry($country)
194
    {
195 1
        $this->country = $country;
196 1
    }
197
198
    /**
199
     * Returns the description
200
     *
201
     * @return string $description
202
     */
203 1
    public function getDescription()
204
    {
205 1
        return $this->description;
206
    }
207
208
    /**
209
     * Sets the description
210
     *
211
     * @param string $description The description
212
     *
213
     * @return void
214
     */
215 1
    public function setDescription($description)
216
    {
217 1
        $this->description = $description;
218 1
    }
219
220
    /**
221
     * Returns link
222
     *
223
     * @return string
224
     */
225 1
    public function getLink()
226
    {
227 1
        return $this->link;
228
    }
229
230
    /**
231
     * Sets link
232
     *
233
     * @param string $link
234
     * @return void
235
     */
236 1
    public function setLink($link)
237
    {
238 1
        $this->link = $link;
239 1
    }
240
241
    /**
242
     * Returns the longitude
243
     *
244
     * @return float
245
     */
246 2
    public function getLongitude()
247
    {
248 2
        return $this->longitude;
249
    }
250
251
    /**
252
     * Sets the the longitude
253
     *
254
     * @param float $longitude The longitude
255
     *
256
     * @return void
257
     */
258 1
    public function setLongitude($longitude)
259
    {
260 1
        $this->longitude = $longitude;
261 1
    }
262
263
    /**
264
     * Returns the latitude
265
     *
266
     * @return float
267
     */
268 2
    public function getlatitude()
269
    {
270 2
        return $this->latitude;
271
    }
272
273
    /**
274
     * Sets the latitude
275
     *
276
     * @param float $latitude The latitude
277
     *
278
     * @return void
279
     */
280 1
    public function setlatitude($latitude)
281
    {
282 1
        $this->latitude = $latitude;
283 1
    }
284
}
285