Passed
Push — master ( c03365...9d1091 )
by Alex
07:25
created

EndAnonymousType::getEntitySet()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace AlgoWeb\ODataMetadata\MetadataV1\edm\ssdl\EntityContainer\AssociationSetAnonymousType;
4
5
use AlgoWeb\ODataMetadata\MetadataV1\edm\ssdl\TDocumentationType;
6
7
/**
8
 * Class representing EndAnonymousType
9
 */
10
class EndAnonymousType
11
{
12
13
    /**
14
     * @property string $role
15
     */
16
    private $role = null;
17
18
    /**
19
     * @property string $entitySet
20
     */
21
    private $entitySet = null;
22
23
    /**
24
     * @property \AlgoWeb\ODataMetadata\MetadataV1\edm\ssdl\TDocumentationType $documentation
25
     */
26
    private $documentation = null;
27
28
    /**
29
     * Gets as role
30
     *
31
     * @return string
32
     */
33
    public function getRole()
34
    {
35
        return $this->role;
36
    }
37
38
    /**
39
     * Sets a new role
40
     *
41
     * @param string $role
42
     * @return self
43
     */
44
    public function setRole($role)
45
    {
46
        $this->role = $role;
47
        return $this;
48
    }
49
50
    /**
51
     * Gets as entitySet
52
     *
53
     * @return string
54
     */
55
    public function getEntitySet()
56
    {
57
        return $this->entitySet;
58
    }
59
60
    /**
61
     * Sets a new entitySet
62
     *
63
     * @param string $entitySet
64
     * @return self
65
     */
66
    public function setEntitySet($entitySet)
67
    {
68
        $this->entitySet = $entitySet;
69
        return $this;
70
    }
71
72
    /**
73
     * Gets as documentation
74
     *
75
     * @return \AlgoWeb\ODataMetadata\MetadataV1\edm\ssdl\TDocumentationType
76
     */
77
    public function getDocumentation()
78
    {
79
        return $this->documentation;
80
    }
81
82
    /**
83
     * Sets a new documentation
84
     *
85
     * @param \AlgoWeb\ODataMetadata\MetadataV1\edm\ssdl\TDocumentationType $documentation
86
     * @return self
87
     */
88
    public function setDocumentation(TDocumentationType $documentation)
89
    {
90
        $this->documentation = $documentation;
91
        return $this;
92
    }
93
}
94