| @@ 294-303 (lines=10) @@ | ||
| 291 | return $this; |
|
| 292 | } |
|
| 293 | ||
| 294 | public function setPriorityId($id) |
|
| 295 | { |
|
| 296 | if (is_null($this->priority)) { |
|
| 297 | $this->priority = new Priority(); |
|
| 298 | } |
|
| 299 | ||
| 300 | $this->priority->id = (string) $id; |
|
| 301 | ||
| 302 | return $this; |
|
| 303 | } |
|
| 304 | ||
| 305 | public function setPriorityName($name) |
|
| 306 | { |
|
| @@ 305-314 (lines=10) @@ | ||
| 302 | return $this; |
|
| 303 | } |
|
| 304 | ||
| 305 | public function setPriorityName($name) |
|
| 306 | { |
|
| 307 | if (is_null($this->priority)) { |
|
| 308 | $this->priority = new Priority(); |
|
| 309 | } |
|
| 310 | ||
| 311 | $this->priority->name = (string) $name; |
|
| 312 | ||
| 313 | return $this; |
|
| 314 | } |
|
| 315 | ||
| 316 | public function addVersion($name) |
|
| 317 | { |
|