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