1: <?php
2:
3: namespace Mapbender\CoreBundle\Entity;
4:
5: use Doctrine\ORM\Mapping as ORM;
6: use Doctrine\Common\Collections\ArrayCollection;
7:
8: /**
9: * Source entity
10: *
11: * @author Paul Schmidt
12: *
13: * @ORM\Entity
14: * @ORM\Table(name="mb_core_contact")
15: */
16: class Contact
17: {
18:
19: /**
20: * @var integer $id
21: * @ORM\Id
22: * @ORM\Column(type="integer")
23: * @ORM\GeneratedValue(strategy="AUTO")
24: */
25: protected $id;
26:
27: /**
28: * @ORM\Column(type="string",nullable=true)
29: */
30: protected $person;
31:
32: /**
33: * @ORM\Column(type="string",nullable=true)
34: */
35: protected $position;
36:
37: /**
38: * @ORM\Column(type="string",nullable=true)
39: */
40: protected $organization;
41:
42: /**
43: * @ORM\Column(type="string",nullable=true)
44: */
45: protected $voiceTelephone;
46:
47: /**
48: * @ORM\Column(type="string",nullable=true)
49: */
50: protected $facsimileTelephone;
51:
52: /**
53: * @ORM\Column(type="string",nullable=true)
54: */
55: protected $electronicMailAddress;
56:
57: /**
58: * @ORM\Column(type="string",nullable=true)
59: */
60: protected $address;
61:
62: /**
63: * @ORM\Column(type="string",nullable=true)
64: */
65: protected $addressType;
66:
67: /**
68: * @ORM\Column(type="string",nullable=true)
69: */
70: protected $addressCity;
71:
72: /**
73: * @ORM\Column(type="string",nullable=true)
74: */
75: protected $addressStateOrProvince;
76:
77: /**
78: * @ORM\Column(type="string",nullable=true)
79: */
80: protected $addressPostCode;
81:
82: /**
83: * @ORM\Column(type="string",nullable=true)
84: */
85: protected $addressCountry;
86:
87: /**
88: * Set person
89: *
90: * @param string $person
91: * @return Contact
92: */
93: public function setPerson($person)
94: {
95: $this->person = $person;
96: return $this;
97: }
98:
99: /**
100: * Get person
101: *
102: * @return string
103: */
104: public function getPerson()
105: {
106: return $this->person;
107: }
108:
109: /**
110: * Set position
111: *
112: * @param string $position
113: * @return Contact
114: */
115: public function setPosition($position)
116: {
117: $this->position = $position;
118: return $this;
119: }
120:
121: /**
122: * Get position
123: *
124: * @return string
125: */
126: public function getPosition()
127: {
128: return $this->position;
129: }
130:
131: /**
132: * Set organization
133: *
134: * @param string $organization
135: * @return Contact
136: */
137: public function setOrganization($organization)
138: {
139: $this->organization = $organization;
140: return $this;
141: }
142:
143: /**
144: * Get organization
145: *
146: * @return string
147: */
148: public function getOrganization()
149: {
150: return $this->organization;
151: }
152:
153: /**
154: * Set voiceTelephone
155: *
156: * @param string $voiceTelephone
157: * @return Contact
158: */
159: public function setVoiceTelephone($voiceTelephone)
160: {
161: $this->voiceTelephone = $voiceTelephone;
162: return $this;
163: }
164:
165: /**
166: * Get voiceTelephone
167: *
168: * @return string
169: */
170: public function getVoiceTelephone()
171: {
172: return $this->voiceTelephone;
173: }
174:
175: /**
176: * Set facsimileTelephone
177: *
178: * @param string $facsimileTelephone
179: * @return Contact
180: */
181: public function setFacsimileTelephone($facsimileTelephone)
182: {
183: $this->facsimileTelephone = $facsimileTelephone;
184: return $this;
185: }
186:
187: /**
188: * Get facsimileTelephone
189: *
190: * @return string
191: */
192: public function getFacsimileTelephone()
193: {
194: return $this->facsimileTelephone;
195: }
196:
197: /**
198: * Set electronicMailAddress
199: *
200: * @param string $electronicMailAddress
201: * @return Contact
202: */
203: public function setElectronicMailAddress($electronicMailAddress)
204: {
205: $this->electronicMailAddress = $electronicMailAddress;
206: return $this;
207: }
208:
209: /**
210: * Get electronicMailAddress
211: *
212: * @return string
213: */
214: public function getElectronicMailAddress()
215: {
216: return $this->electronicMailAddress;
217: }
218:
219: /**
220: * Set address
221: *
222: * @param string $address
223: * @return Contact
224: */
225: public function setAddress($address)
226: {
227: $this->address = $address;
228: return $this;
229: }
230:
231: /**
232: * Get address
233: *
234: * @return string
235: */
236: public function getAddress()
237: {
238: return $this->address;
239: }
240:
241: /**
242: * Set addressType
243: *
244: * @param string $addressType
245: * @return Contact
246: */
247: public function setAddressType($addressType)
248: {
249: $this->addressType = $addressType;
250: return $this;
251: }
252:
253: /**
254: * Get addressType
255: *
256: * @return string
257: */
258: public function getAddressType()
259: {
260: return $this->addressType;
261: }
262:
263: /**
264: * Set addressCity
265: *
266: * @param string $addressCity
267: * @return Contact
268: */
269: public function setAddressCity($addressCity)
270: {
271: $this->addressCity = $addressCity;
272: return $this;
273: }
274:
275: /**
276: * Get addressCity
277: *
278: * @return string
279: */
280: public function getAddressCity()
281: {
282: return $this->addressCity;
283: }
284:
285: /**
286: * Set addressStateOrProvince
287: *
288: * @param string $addressStateOrProvince
289: * @return Contact
290: */
291: public function setAddressStateOrProvince($addressStateOrProvince)
292: {
293: $this->addressStateOrProvince = $addressStateOrProvince;
294: return $this;
295: }
296:
297: /**
298: * Get addressStateOrProvince
299: *
300: * @return string
301: */
302: public function getAddressStateOrProvince()
303: {
304: return $this->addressStateOrProvince;
305: }
306:
307: /**
308: * Set addressPostCode
309: *
310: * @param string $addressPostCode
311: * @return Contact
312: */
313: public function setAddressPostCode($addressPostCode)
314: {
315: $this->addressPostCode = $addressPostCode;
316: return $this;
317: }
318:
319: /**
320: * Get addressPostCode
321: *
322: * @return string
323: */
324: public function getAddressPostCode()
325: {
326: return $this->addressPostCode;
327: }
328:
329: /**
330: * Set addressCountry
331: *
332: * @param string $addressCountry
333: * @return Contact
334: */
335: public function setAddressCountry($addressCountry)
336: {
337: $this->addressCountry = $addressCountry;
338: return $this;
339: }
340:
341: /**
342: * Get addressCountry
343: *
344: * @return string
345: */
346: public function getAddressCountry()
347: {
348: return $this->addressCountry;
349: }
350:
351: /**
352: * Get id
353: *
354: * @return integer
355: */
356: public function getId()
357: {
358: return $this->id;
359: }
360:
361: }