ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
class.ilStudyProgrammeAdvancedMetadataRecord.php
Go to the documentation of this file.
1<?php declare(strict_types = 1);
2
10{
11
16 protected $id;
17
22 protected $type_id = 0;
23
28 protected $rec_id = 0;
29
30
31 public function __construct(int $id)
32 {
33 $this->id = $id;
34 }
35
39 public function getId() : int
40 {
41 return $this->id;
42 }
43
44
48 public function setId(int $id)
49 {
50 $this->id = $id;
51 }
52
53
57 public function getTypeId() : int
58 {
59 return $this->type_id;
60 }
61
62
66 public function setTypeId(int $type_id = null)
67 {
68 $this->type_id = $type_id;
69 }
70
71
75 public function getRecId() : int
76 {
77 return $this->rec_id;
78 }
79
80
84 public function setRecId(int $rec_id = null)
85 {
86 $this->rec_id = $rec_id;
87 }
88}
An exception for terminatinating execution or to throw for unit testing.