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

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