1: <?php
2:
3: namespace Mapbender\WmsBundle\Component;
4:
5: /**
6: * Identifier class.
7: *
8: * @author Paul Schmidt
9: */
10: class Extent
11: {
12:
13: /**
14: * ORM\Column(type="string", nullable=false)
15: */
16: //@TODO Doctrine bug: "protected" replaced with "public"
17: public $name;
18:
19: /**
20: * ORM\Column(type="string", nullable=true)
21: */
22: //@TODO Doctrine bug: "protected" replaced with "public"
23: public $default;
24:
25: /**
26: * ORM\Column(type="boolean", nullable=true)
27: */
28: //@TODO Doctrine bug: "protected" replaced with "public"
29: public $multipleValues;
30:
31: /**
32: * ORM\Column(type="boolean", nullable=true)
33: */
34: //@TODO Doctrine bug: "protected" replaced with "public"
35: public $nearestValue;
36:
37: /**
38: * ORM\Column(type="boolean", nullable=true)
39: */
40: //@TODO Doctrine bug: "protected" replaced with "public"
41: public $current;
42:
43: /**
44: * ORM\Column(type="string", nullable=true)
45: */
46: //@TODO Doctrine bug: "protected" replaced with "public"
47: public $extentValue;
48:
49: /**
50: * Set name
51: *
52: * @param string $value
53: * @return Dimension
54: */
55: public function setName($value)
56: {
57: $this->name = $value;
58: }
59:
60: /**
61: * Get name
62: *
63: * @return string
64: */
65: public function getName()
66: {
67: return $this->name;
68: }
69:
70: /**
71: * Set default
72: *
73: * @param string $value
74: * @return Dimension
75: */
76: public function setDefault($value)
77: {
78: $this->default = $value;
79: }
80:
81: /**
82: * Get default
83: *
84: * @return string
85: */
86: public function getDefault()
87: {
88: return $this->default;
89: }
90:
91: /**
92: * Set multipleValues
93: *
94: * @param boolean $value
95: * @return Dimension
96: */
97: public function setMultipleValues($value)
98: {
99: $this->multipleValues = $value;
100: }
101:
102: /**
103: * Get multipleValues
104: *
105: * @return boolean
106: */
107: public function getMultipleValues()
108: {
109: return $this->multipleValues;
110: }
111:
112: /**
113: * Set nearestValue
114: *
115: * @param boolean $value
116: * @return Dimension
117: */
118: public function setNearestValue($value)
119: {
120: $this->nearestValue = $value;
121: }
122:
123: /**
124: * Get nearestValue
125: *
126: * @return boolean
127: */
128: public function getNearestValue()
129: {
130: return $this->nearestValue;
131: }
132:
133: /**
134: * Set current
135: *
136: * @param boolean $value
137: * @return Dimension
138: */
139: public function setCurrent($value)
140: {
141: $this->current = $value;
142: }
143:
144: /**
145: * Get current
146: *
147: * @return boolean
148: */
149: public function getCurrent()
150: {
151: return $this->current;
152: }
153:
154: /**
155: * Set extentValue
156: *
157: * @param string $value
158: * @return Dimension
159: */
160: public function setExtentValue($value)
161: {
162: $this->extentValue = $value;
163: }
164:
165: /**
166: * Get extentValue
167: *
168: * @return string
169: */
170: public function getExtentValue()
171: {
172: return $this->extentValue;
173: }
174:
175: }
176:
177: ?>
178: