1: <?php
2:
3: namespace Mapbender\WmsBundle\Component;
4:
5: /**
6: * Identifier class.
7: *
8: * @author Paul Schmidt
9: */
10: class Identifier
11: {
12:
13: /**
14: * ORM\Column(type="string", nullable=true)
15: */
16: //@TODO Doctrine bug: "protected" replaced with "public"
17: public $authority;
18:
19: /**
20: * ORM\Column(type="string", nullable=true)
21: */
22: //@TODO Doctrine bug: "protected" replaced with "public"
23: public $value;
24:
25: /**
26: * Get authority
27: *
28: * @return string
29: */
30: public function getAuthority()
31: {
32: return $this->authority;
33: }
34:
35: /**
36: * Set authority
37: * @param string $value
38: * @return Identifier
39: */
40: public function setAuthority($value)
41: {
42: $this->authority = $value;
43: return $this;
44: }
45:
46: /**
47: * Get value
48: *
49: * @return string
50: */
51: public function getValue()
52: {
53: return $this->value;
54: }
55:
56: /**
57: * Set value
58: * @param string $value
59: * @return Identifier
60: */
61: public function setValue($value)
62: {
63: $this->value = $value;
64: return $this;
65: }
66: }