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

TMappingFragmentType::getCondition()   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\mapping\cs;
4
5
/**
6
 * Class representing TMappingFragmentType
7
 *
8
 *
9
 * XSD Type: TMappingFragment
10
 */
11
class TMappingFragmentType
12
{
13
14
    /**
15
     * @property string $storeEntitySet
16
     */
17
    private $storeEntitySet = null;
18
19
    /**
20
     * @property \AlgoWeb\ODataMetadata\MetadataV1\mapping\cs\TComplexPropertyType $complexProperty
21
     */
22
    private $complexProperty = null;
23
24
    /**
25
     * @property \AlgoWeb\ODataMetadata\MetadataV1\mapping\cs\TScalarPropertyType $scalarProperty
26
     */
27
    private $scalarProperty = null;
28
29
    /**
30
     * @property \AlgoWeb\ODataMetadata\MetadataV1\mapping\cs\TConditionType $condition
31
     */
32
    private $condition = null;
33
34
    /**
35
     * Gets as storeEntitySet
36
     *
37
     * @return string
38
     */
39
    public function getStoreEntitySet()
40
    {
41
        return $this->storeEntitySet;
42
    }
43
44
    /**
45
     * Sets a new storeEntitySet
46
     *
47
     * @param string $storeEntitySet
48
     * @return self
49
     */
50
    public function setStoreEntitySet($storeEntitySet)
51
    {
52
        $this->storeEntitySet = $storeEntitySet;
53
        return $this;
54
    }
55
56
    /**
57
     * Gets as complexProperty
58
     *
59
     * @return \AlgoWeb\ODataMetadata\MetadataV1\mapping\cs\TComplexPropertyType
60
     */
61
    public function getComplexProperty()
62
    {
63
        return $this->complexProperty;
64
    }
65
66
    /**
67
     * Sets a new complexProperty
68
     *
69
     * @param \AlgoWeb\ODataMetadata\MetadataV1\mapping\cs\TComplexPropertyType $complexProperty
70
     * @return self
71
     */
72
    public function setComplexProperty(TComplexPropertyType $complexProperty)
73
    {
74
        $this->complexProperty = $complexProperty;
75
        return $this;
76
    }
77
78
    /**
79
     * Gets as scalarProperty
80
     *
81
     * @return \AlgoWeb\ODataMetadata\MetadataV1\mapping\cs\TScalarPropertyType
82
     */
83
    public function getScalarProperty()
84
    {
85
        return $this->scalarProperty;
86
    }
87
88
    /**
89
     * Sets a new scalarProperty
90
     *
91
     * @param \AlgoWeb\ODataMetadata\MetadataV1\mapping\cs\TScalarPropertyType $scalarProperty
92
     * @return self
93
     */
94
    public function setScalarProperty(TScalarPropertyType $scalarProperty)
95
    {
96
        $this->scalarProperty = $scalarProperty;
97
        return $this;
98
    }
99
100
    /**
101
     * Gets as condition
102
     *
103
     * @return \AlgoWeb\ODataMetadata\MetadataV1\mapping\cs\TConditionType
104
     */
105
    public function getCondition()
106
    {
107
        return $this->condition;
108
    }
109
110
    /**
111
     * Sets a new condition
112
     *
113
     * @param \AlgoWeb\ODataMetadata\MetadataV1\mapping\cs\TConditionType $condition
114
     * @return self
115
     */
116
    public function setCondition(TConditionType $condition)
117
    {
118
        $this->condition = $condition;
119
        return $this;
120
    }
121
}
122