Code Duplication    Length = 142-144 lines in 3 locations

MetadataV1/src/mapping/cs/TEntityTypeModificationFunctionType.php 1 location

@@ 11-152 (lines=142) @@
8
 *
9
 * XSD Type: TEntityTypeModificationFunction
10
 */
11
class TEntityTypeModificationFunctionType
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 \MetadataV1\mapping\cs\TFunctionMappingScalarPropertyType
26
     * $scalarProperty
27
     */
28
    private $scalarProperty = null;
29
30
    /**
31
     * @property \MetadataV1\mapping\cs\TFunctionMappingAssociationEndType
32
     * $associationEnd
33
     */
34
    private $associationEnd = null;
35
36
    /**
37
     * @property \MetadataV1\mapping\cs\TFunctionMappingComplexPropertyType
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 \MetadataV1\mapping\cs\TFunctionMappingScalarPropertyType
90
     */
91
    public function getScalarProperty()
92
    {
93
        return $this->scalarProperty;
94
    }
95
96
    /**
97
     * Sets a new scalarProperty
98
     *
99
     * @param \MetadataV1\mapping\cs\TFunctionMappingScalarPropertyType $scalarProperty
100
     * @return self
101
     */
102
    public function setScalarProperty(\MetadataV1\mapping\cs\TFunctionMappingScalarPropertyType $scalarProperty)
103
    {
104
        $this->scalarProperty = $scalarProperty;
105
        return $this;
106
    }
107
108
    /**
109
     * Gets as associationEnd
110
     *
111
     * @return \MetadataV1\mapping\cs\TFunctionMappingAssociationEndType
112
     */
113
    public function getAssociationEnd()
114
    {
115
        return $this->associationEnd;
116
    }
117
118
    /**
119
     * Sets a new associationEnd
120
     *
121
     * @param \MetadataV1\mapping\cs\TFunctionMappingAssociationEndType $associationEnd
122
     * @return self
123
     */
124
    public function setAssociationEnd(\MetadataV1\mapping\cs\TFunctionMappingAssociationEndType $associationEnd)
125
    {
126
        $this->associationEnd = $associationEnd;
127
        return $this;
128
    }
129
130
    /**
131
     * Gets as complexProperty
132
     *
133
     * @return \MetadataV1\mapping\cs\TFunctionMappingComplexPropertyType
134
     */
135
    public function getComplexProperty()
136
    {
137
        return $this->complexProperty;
138
    }
139
140
    /**
141
     * Sets a new complexProperty
142
     *
143
     * @param \MetadataV1\mapping\cs\TFunctionMappingComplexPropertyType
144
     * $complexProperty
145
     * @return self
146
     */
147
    public function setComplexProperty(\MetadataV1\mapping\cs\TFunctionMappingComplexPropertyType $complexProperty)
148
    {
149
        $this->complexProperty = $complexProperty;
150
        return $this;
151
    }
152
}
153

MetadataV2/src/mapping/cs/TEntityTypeModificationFunctionType.php 1 location

@@ 11-152 (lines=142) @@
8
 *
9
 * XSD Type: TEntityTypeModificationFunction
10
 */
11
class TEntityTypeModificationFunctionType
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 \MetadataV2\mapping\cs\TFunctionMappingScalarPropertyType
26
     * $scalarProperty
27
     */
28
    private $scalarProperty = null;
29
30
    /**
31
     * @property \MetadataV2\mapping\cs\TFunctionMappingAssociationEndType
32
     * $associationEnd
33
     */
34
    private $associationEnd = null;
35
36
    /**
37
     * @property \MetadataV2\mapping\cs\TFunctionMappingComplexPropertyType
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 \MetadataV2\mapping\cs\TFunctionMappingScalarPropertyType
90
     */
91
    public function getScalarProperty()
92
    {
93
        return $this->scalarProperty;
94
    }
95
96
    /**
97
     * Sets a new scalarProperty
98
     *
99
     * @param \MetadataV2\mapping\cs\TFunctionMappingScalarPropertyType $scalarProperty
100
     * @return self
101
     */
102
    public function setScalarProperty(\MetadataV2\mapping\cs\TFunctionMappingScalarPropertyType $scalarProperty)
103
    {
104
        $this->scalarProperty = $scalarProperty;
105
        return $this;
106
    }
107
108
    /**
109
     * Gets as associationEnd
110
     *
111
     * @return \MetadataV2\mapping\cs\TFunctionMappingAssociationEndType
112
     */
113
    public function getAssociationEnd()
114
    {
115
        return $this->associationEnd;
116
    }
117
118
    /**
119
     * Sets a new associationEnd
120
     *
121
     * @param \MetadataV2\mapping\cs\TFunctionMappingAssociationEndType $associationEnd
122
     * @return self
123
     */
124
    public function setAssociationEnd(\MetadataV2\mapping\cs\TFunctionMappingAssociationEndType $associationEnd)
125
    {
126
        $this->associationEnd = $associationEnd;
127
        return $this;
128
    }
129
130
    /**
131
     * Gets as complexProperty
132
     *
133
     * @return \MetadataV2\mapping\cs\TFunctionMappingComplexPropertyType
134
     */
135
    public function getComplexProperty()
136
    {
137
        return $this->complexProperty;
138
    }
139
140
    /**
141
     * Sets a new complexProperty
142
     *
143
     * @param \MetadataV2\mapping\cs\TFunctionMappingComplexPropertyType
144
     * $complexProperty
145
     * @return self
146
     */
147
    public function setComplexProperty(\MetadataV2\mapping\cs\TFunctionMappingComplexPropertyType $complexProperty)
148
    {
149
        $this->complexProperty = $complexProperty;
150
        return $this;
151
    }
152
}
153

MetadataV3/src/mapping/cs/TEntityTypeModificationFunctionType.php 1 location

@@ 11-154 (lines=144) @@
8
 *
9
 * XSD Type: TEntityTypeModificationFunction
10
 */
11
class TEntityTypeModificationFunctionType
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