Passed
Push — 1.11.x ( 106594...56cdc0 )
by Angel Fernando Quiroz
08:52
created

ActivityProfile::setProfileId()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 2
nc 1
nop 1
dl 0
loc 5
rs 10
c 1
b 0
f 0
1
<?php
2
3
/* For licensing terms, see /license.txt */
4
5
namespace Chamilo\PluginBundle\Entity\XApi;
6
7
use Doctrine\ORM\Mapping as ORM;
8
9
/**
10
 * Class ActivityProfile.
11
 *
12
 * @package Chamilo\PluginBundle\Entity\XApi
13
 *
14
 * @ORM\Table(name="xapi_activity_profile")
15
 * @ORM\Entity()
16
 */
17
class ActivityProfile
18
{
19
    /**
20
     * @var int
21
     *
22
     * @ORM\Column(type="integer", name="id")
23
     * @ORM\Id()
24
     * @ORM\GeneratedValue()
25
     */
26
    private $id;
27
    /**
28
     * @var string
29
     *
30
     * @ORM\Column(name="profile_id", type="string")
31
     */
32
    private $profileId;
33
    /**
34
     * @var string
35
     *
36
     * @ORM\Column(name="activity_id", type="string")
37
     */
38
    private $activityId;
39
    /**
40
     * @var array
41
     *
42
     * @ORM\Column(name="document_data", type="json")
43
     */
44
    private $documentData;
45
46
    public function getId(): int
47
    {
48
        return $this->id;
49
    }
50
51
    public function setId(int $id): ActivityProfile
52
    {
53
        $this->id = $id;
54
55
        return $this;
56
    }
57
58
    public function getProfileId(): string
59
    {
60
        return $this->profileId;
61
    }
62
63
    public function setProfileId(string $profileId): ActivityProfile
64
    {
65
        $this->profileId = $profileId;
66
67
        return $this;
68
    }
69
70
    public function getActivityId(): string
71
    {
72
        return $this->activityId;
73
    }
74
75
    public function setActivityId(string $activityId): ActivityProfile
76
    {
77
        $this->activityId = $activityId;
78
79
        return $this;
80
    }
81
82
    public function getDocumentData(): array
83
    {
84
        return $this->documentData;
85
    }
86
87
    public function setDocumentData(array $documentData): ActivityProfile
88
    {
89
        $this->documentData = $documentData;
90
91
        return $this;
92
    }
93
}
94