Passed
Push — master ( 583371...613693 )
by Alex
03:44
created

setComplexProperty()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 5
Ratio 100 %

Importance

Changes 0
Metric Value
dl 5
loc 5
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 3
nc 1
nop 1
1
<?php
2
3
namespace AlgoWeb\ODataMetadata\MetadataV3\mapping\cs;
4
5
/**
6
 * Class representing TEntityTypeModificationFunctionType
7
 *
8
 *
9
 * XSD Type: TEntityTypeModificationFunction
10
 */
11 View Code Duplication
class TEntityTypeModificationFunctionType
0 ignored issues
show
Duplication introduced by
This class seems to be duplicated in your project.

Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.

You can also find more detailed suggestions in the “Code” section of your repository.

Loading history...
12
{
13
14
    /**
15
     * @property string $functionName
16
     */
17
    private $functionName = null;
18
19
    /**
20
     * @property string $rowsAffectedParameter
21
     */
22
    private $rowsAffectedParameter = null;
23
24
    /**
25
     * @property \MetadataV3\mapping\cs\TModificationFunctionMappingScalarPropertyType
26
     * $scalarProperty
27
     */
28
    private $scalarProperty = null;
29
30
    /**
31
     * @property \MetadataV3\mapping\cs\TModificationFunctionMappingAssociationEndType
32
     * $associationEnd
33
     */
34
    private $associationEnd = null;
35
36
    /**
37
     * @property \MetadataV3\mapping\cs\TModificationFunctionMappingComplexPropertyType
38
     * $complexProperty
39
     */
40
    private $complexProperty = null;
41
42
    /**
43
     * Gets as functionName
44
     *
45
     * @return string
46
     */
47
    public function getFunctionName()
48
    {
49
        return $this->functionName;
50
    }
51
52
    /**
53
     * Sets a new functionName
54
     *
55
     * @param string $functionName
56
     * @return self
57
     */
58
    public function setFunctionName($functionName)
59
    {
60
        $this->functionName = $functionName;
61
        return $this;
62
    }
63
64
    /**
65
     * Gets as rowsAffectedParameter
66
     *
67
     * @return string
68
     */
69
    public function getRowsAffectedParameter()
70
    {
71
        return $this->rowsAffectedParameter;
72
    }
73
74
    /**
75
     * Sets a new rowsAffectedParameter
76
     *
77
     * @param string $rowsAffectedParameter
78
     * @return self
79
     */
80
    public function setRowsAffectedParameter($rowsAffectedParameter)
81
    {
82
        $this->rowsAffectedParameter = $rowsAffectedParameter;
83
        return $this;
84
    }
85
86
    /**
87
     * Gets as scalarProperty
88
     *
89
     * @return \MetadataV3\mapping\cs\TModificationFunctionMappingScalarPropertyType
90
     */
91
    public function getScalarProperty()
92
    {
93
        return $this->scalarProperty;
94
    }
95
96
    /**
97
     * Sets a new scalarProperty
98
     *
99
     * @param \MetadataV3\mapping\cs\TModificationFunctionMappingScalarPropertyType
100
     * $scalarProperty
101
     * @return self
102
     */
103
    public function setScalarProperty(\MetadataV3\mapping\cs\TModificationFunctionMappingScalarPropertyType $scalarProperty)
104
    {
105
        $this->scalarProperty = $scalarProperty;
106
        return $this;
107
    }
108
109
    /**
110
     * Gets as associationEnd
111
     *
112
     * @return \MetadataV3\mapping\cs\TModificationFunctionMappingAssociationEndType
113
     */
114
    public function getAssociationEnd()
115
    {
116
        return $this->associationEnd;
117
    }
118
119
    /**
120
     * Sets a new associationEnd
121
     *
122
     * @param \MetadataV3\mapping\cs\TModificationFunctionMappingAssociationEndType
123
     * $associationEnd
124
     * @return self
125
     */
126
    public function setAssociationEnd(\MetadataV3\mapping\cs\TModificationFunctionMappingAssociationEndType $associationEnd)
127
    {
128
        $this->associationEnd = $associationEnd;
129
        return $this;
130
    }
131
132
    /**
133
     * Gets as complexProperty
134
     *
135
     * @return \MetadataV3\mapping\cs\TModificationFunctionMappingComplexPropertyType
136
     */
137
    public function getComplexProperty()
138
    {
139
        return $this->complexProperty;
140
    }
141
142
    /**
143
     * Sets a new complexProperty
144
     *
145
     * @param \MetadataV3\mapping\cs\TModificationFunctionMappingComplexPropertyType
146
     * $complexProperty
147
     * @return self
148
     */
149
    public function setComplexProperty(\MetadataV3\mapping\cs\TModificationFunctionMappingComplexPropertyType $complexProperty)
150
    {
151
        $this->complexProperty = $complexProperty;
152
        return $this;
153
    }
154
}
155