1: <?php
2:
3: namespace Mapbender\WmsBundle\Component;
4:
5: /**
6: * Identifier class.
7: *
8: * @author Paul Schmidt
9: */
10: class Dimension
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=false)
21: */
22: //@TODO Doctrine bug: "protected" replaced with "public"
23: public $units;
24:
25: /**
26: * ORM\Column(type="string", nullable=true)
27: */
28: //@TODO Doctrine bug: "protected" replaced with "public"
29: public $unitSymbol;
30:
31: /**
32: * ORM\Column(type="string", nullable=true)
33: */
34: //@TODO Doctrine bug: "protected" replaced with "public"
35: public $default;
36:
37: /**
38: * ORM\Column(type="boolean", nullable=true)
39: */
40: //@TODO Doctrine bug: "protected" replaced with "public"
41: public $multipleValues;
42:
43: /**
44: * ORM\Column(type="boolean", nullable=true)
45: */
46: //@TODO Doctrine bug: "protected" replaced with "public"
47: public $nearestValue;
48:
49: /**
50: * ORM\Column(type="boolean", nullable=true)
51: */
52: //@TODO Doctrine bug: "protected" replaced with "public"
53: public $current;
54:
55: /**
56: * ORM\Column(type="string", nullable=true)
57: */
58: //@TODO Doctrine bug: "protected" replaced with "public"
59: public $extentValue;
60:
61: /**
62: * Set name
63: *
64: * @param string $value
65: * @return Dimension
66: */
67: public function setName($value)
68: {
69: $this->name = $value;
70: }
71:
72: /**
73: * Get name
74: *
75: * @return string
76: */
77: public function getName()
78: {
79: return $this->name;
80: }
81:
82: /**
83: * Set units
84: *
85: * @param string $value
86: * @return Dimension
87: */
88: public function setUnits($value)
89: {
90: $this->units = $value;
91: }
92:
93: /**
94: * Get units
95: *
96: * @return string
97: */
98: public function getUnits()
99: {
100: return $this->units;
101: }
102:
103: /**
104: * Set unitSymbol
105: *
106: * @param string $value
107: * @return Dimension
108: */
109: public function setUnitSymbol($value)
110: {
111: $this->unitSymbol = $value;
112: }
113:
114: /**
115: * Get unitSymbol
116: *
117: * @return string
118: */
119: public function getUnitSymbol()
120: {
121: return $this->unitSymbol;
122: }
123:
124: /**
125: * Set default
126: *
127: * @param string $value
128: * @return Dimension
129: */
130: public function setDefault($value)
131: {
132: $this->default = $value;
133: }
134:
135: /**
136: * Get default
137: *
138: * @return string
139: */
140: public function getDefault()
141: {
142: return $this->default;
143: }
144:
145: /**
146: * Set multipleValues
147: *
148: * @param boolean $value
149: * @return Dimension
150: */
151: public function setMultipleValues($value)
152: {
153: $this->multipleValues = $value;
154: }
155:
156: /**
157: * Get multipleValues
158: *
159: * @return boolean
160: */
161: public function getMultipleValues()
162: {
163: return $this->multipleValues;
164: }
165:
166: /**
167: * Set nearestValue
168: *
169: * @param boolean $value
170: * @return Dimension
171: */
172: public function setNearestValue($value)
173: {
174: $this->nearestValue = $value;
175: }
176:
177: /**
178: * Get nearestValue
179: *
180: * @return boolean
181: */
182: public function getNearestValue()
183: {
184: return $this->nearestValue;
185: }
186:
187: /**
188: * Set current
189: *
190: * @param boolean $value
191: * @return Dimension
192: */
193: public function setCurrent($value)
194: {
195: $this->current = $value;
196: }
197:
198: /**
199: * Get current
200: *
201: * @return boolean
202: */
203: public function getCurrent()
204: {
205: return $this->current;
206: }
207:
208: /**
209: * Set extentValue
210: *
211: * @param string $value
212: * @return Dimension
213: */
214: public function setExtentValue($value)
215: {
216: $this->extentValue = $value;
217: }
218:
219: /**
220: * Get extentValue
221: *
222: * @return string
223: */
224: public function getExtentValue()
225: {
226: return $this->extentValue;
227: }
228:
229: }
230:
231: ?>
232: