Code Duplication    Length = 255-255 lines in 2 locations

MetadataV4/src/edm/TActionFunctionParameterType.php 1 location

@@ 11-265 (lines=255) @@
8
 *
9
 * XSD Type: TActionFunctionParameter
10
 */
11
class TActionFunctionParameterType
12
{
13
14
    /**
15
     * @property string $name
16
     */
17
    private $name = null;
18
19
    /**
20
     * @property string $type
21
     */
22
    private $type = null;
23
24
    /**
25
     * @property boolean $nullable
26
     */
27
    private $nullable = null;
28
29
    /**
30
     * @property string $maxLength
31
     */
32
    private $maxLength = null;
33
34
    /**
35
     * @property integer $precision
36
     */
37
    private $precision = null;
38
39
    /**
40
     * @property string $scale
41
     */
42
    private $scale = null;
43
44
    /**
45
     * @property string $sRID
46
     */
47
    private $sRID = null;
48
49
    /**
50
     * @property \MetadataV4\edm\Annotation[] $annotation
51
     */
52
    private $annotation = array(
53
        
54
    );
55
56
    /**
57
     * Gets as name
58
     *
59
     * @return string
60
     */
61
    public function getName()
62
    {
63
        return $this->name;
64
    }
65
66
    /**
67
     * Sets a new name
68
     *
69
     * @param string $name
70
     * @return self
71
     */
72
    public function setName($name)
73
    {
74
        $this->name = $name;
75
        return $this;
76
    }
77
78
    /**
79
     * Gets as type
80
     *
81
     * @return string
82
     */
83
    public function getType()
84
    {
85
        return $this->type;
86
    }
87
88
    /**
89
     * Sets a new type
90
     *
91
     * @param string $type
92
     * @return self
93
     */
94
    public function setType($type)
95
    {
96
        $this->type = $type;
97
        return $this;
98
    }
99
100
    /**
101
     * Gets as nullable
102
     *
103
     * @return boolean
104
     */
105
    public function getNullable()
106
    {
107
        return $this->nullable;
108
    }
109
110
    /**
111
     * Sets a new nullable
112
     *
113
     * @param boolean $nullable
114
     * @return self
115
     */
116
    public function setNullable($nullable)
117
    {
118
        $this->nullable = $nullable;
119
        return $this;
120
    }
121
122
    /**
123
     * Gets as maxLength
124
     *
125
     * @return string
126
     */
127
    public function getMaxLength()
128
    {
129
        return $this->maxLength;
130
    }
131
132
    /**
133
     * Sets a new maxLength
134
     *
135
     * @param string $maxLength
136
     * @return self
137
     */
138
    public function setMaxLength($maxLength)
139
    {
140
        $this->maxLength = $maxLength;
141
        return $this;
142
    }
143
144
    /**
145
     * Gets as precision
146
     *
147
     * @return integer
148
     */
149
    public function getPrecision()
150
    {
151
        return $this->precision;
152
    }
153
154
    /**
155
     * Sets a new precision
156
     *
157
     * @param integer $precision
158
     * @return self
159
     */
160
    public function setPrecision($precision)
161
    {
162
        $this->precision = $precision;
163
        return $this;
164
    }
165
166
    /**
167
     * Gets as scale
168
     *
169
     * @return string
170
     */
171
    public function getScale()
172
    {
173
        return $this->scale;
174
    }
175
176
    /**
177
     * Sets a new scale
178
     *
179
     * @param string $scale
180
     * @return self
181
     */
182
    public function setScale($scale)
183
    {
184
        $this->scale = $scale;
185
        return $this;
186
    }
187
188
    /**
189
     * Gets as sRID
190
     *
191
     * @return string
192
     */
193
    public function getSRID()
194
    {
195
        return $this->sRID;
196
    }
197
198
    /**
199
     * Sets a new sRID
200
     *
201
     * @param string $sRID
202
     * @return self
203
     */
204
    public function setSRID($sRID)
205
    {
206
        $this->sRID = $sRID;
207
        return $this;
208
    }
209
210
    /**
211
     * Adds as annotation
212
     *
213
     * @return self
214
     * @param \MetadataV4\edm\Annotation $annotation
215
     */
216
    public function addToAnnotation(\MetadataV4\edm\Annotation $annotation)
217
    {
218
        $this->annotation[] = $annotation;
219
        return $this;
220
    }
221
222
    /**
223
     * isset annotation
224
     *
225
     * @param scalar $index
226
     * @return boolean
227
     */
228
    public function issetAnnotation($index)
229
    {
230
        return isset($this->annotation[$index]);
231
    }
232
233
    /**
234
     * unset annotation
235
     *
236
     * @param scalar $index
237
     * @return void
238
     */
239
    public function unsetAnnotation($index)
240
    {
241
        unset($this->annotation[$index]);
242
    }
243
244
    /**
245
     * Gets as annotation
246
     *
247
     * @return \MetadataV4\edm\Annotation[]
248
     */
249
    public function getAnnotation()
250
    {
251
        return $this->annotation;
252
    }
253
254
    /**
255
     * Sets a new annotation
256
     *
257
     * @param \MetadataV4\edm\Annotation[] $annotation
258
     * @return self
259
     */
260
    public function setAnnotation(array $annotation)
261
    {
262
        $this->annotation = $annotation;
263
        return $this;
264
    }
265
}
266

MetadataV4/src/edm/TTypeDefinitionType.php 1 location

@@ 11-265 (lines=255) @@
8
 *
9
 * XSD Type: TTypeDefinition
10
 */
11
class TTypeDefinitionType
12
{
13
14
    /**
15
     * @property string $name
16
     */
17
    private $name = null;
18
19
    /**
20
     * @property string $underlyingType
21
     */
22
    private $underlyingType = null;
23
24
    /**
25
     * @property string $maxLength
26
     */
27
    private $maxLength = null;
28
29
    /**
30
     * @property integer $precision
31
     */
32
    private $precision = null;
33
34
    /**
35
     * @property string $scale
36
     */
37
    private $scale = null;
38
39
    /**
40
     * @property string $sRID
41
     */
42
    private $sRID = null;
43
44
    /**
45
     * @property boolean $unicode
46
     */
47
    private $unicode = null;
48
49
    /**
50
     * @property \MetadataV4\edm\Annotation[] $annotation
51
     */
52
    private $annotation = array(
53
        
54
    );
55
56
    /**
57
     * Gets as name
58
     *
59
     * @return string
60
     */
61
    public function getName()
62
    {
63
        return $this->name;
64
    }
65
66
    /**
67
     * Sets a new name
68
     *
69
     * @param string $name
70
     * @return self
71
     */
72
    public function setName($name)
73
    {
74
        $this->name = $name;
75
        return $this;
76
    }
77
78
    /**
79
     * Gets as underlyingType
80
     *
81
     * @return string
82
     */
83
    public function getUnderlyingType()
84
    {
85
        return $this->underlyingType;
86
    }
87
88
    /**
89
     * Sets a new underlyingType
90
     *
91
     * @param string $underlyingType
92
     * @return self
93
     */
94
    public function setUnderlyingType($underlyingType)
95
    {
96
        $this->underlyingType = $underlyingType;
97
        return $this;
98
    }
99
100
    /**
101
     * Gets as maxLength
102
     *
103
     * @return string
104
     */
105
    public function getMaxLength()
106
    {
107
        return $this->maxLength;
108
    }
109
110
    /**
111
     * Sets a new maxLength
112
     *
113
     * @param string $maxLength
114
     * @return self
115
     */
116
    public function setMaxLength($maxLength)
117
    {
118
        $this->maxLength = $maxLength;
119
        return $this;
120
    }
121
122
    /**
123
     * Gets as precision
124
     *
125
     * @return integer
126
     */
127
    public function getPrecision()
128
    {
129
        return $this->precision;
130
    }
131
132
    /**
133
     * Sets a new precision
134
     *
135
     * @param integer $precision
136
     * @return self
137
     */
138
    public function setPrecision($precision)
139
    {
140
        $this->precision = $precision;
141
        return $this;
142
    }
143
144
    /**
145
     * Gets as scale
146
     *
147
     * @return string
148
     */
149
    public function getScale()
150
    {
151
        return $this->scale;
152
    }
153
154
    /**
155
     * Sets a new scale
156
     *
157
     * @param string $scale
158
     * @return self
159
     */
160
    public function setScale($scale)
161
    {
162
        $this->scale = $scale;
163
        return $this;
164
    }
165
166
    /**
167
     * Gets as sRID
168
     *
169
     * @return string
170
     */
171
    public function getSRID()
172
    {
173
        return $this->sRID;
174
    }
175
176
    /**
177
     * Sets a new sRID
178
     *
179
     * @param string $sRID
180
     * @return self
181
     */
182
    public function setSRID($sRID)
183
    {
184
        $this->sRID = $sRID;
185
        return $this;
186
    }
187
188
    /**
189
     * Gets as unicode
190
     *
191
     * @return boolean
192
     */
193
    public function getUnicode()
194
    {
195
        return $this->unicode;
196
    }
197
198
    /**
199
     * Sets a new unicode
200
     *
201
     * @param boolean $unicode
202
     * @return self
203
     */
204
    public function setUnicode($unicode)
205
    {
206
        $this->unicode = $unicode;
207
        return $this;
208
    }
209
210
    /**
211
     * Adds as annotation
212
     *
213
     * @return self
214
     * @param \MetadataV4\edm\Annotation $annotation
215
     */
216
    public function addToAnnotation(\MetadataV4\edm\Annotation $annotation)
217
    {
218
        $this->annotation[] = $annotation;
219
        return $this;
220
    }
221
222
    /**
223
     * isset annotation
224
     *
225
     * @param scalar $index
226
     * @return boolean
227
     */
228
    public function issetAnnotation($index)
229
    {
230
        return isset($this->annotation[$index]);
231
    }
232
233
    /**
234
     * unset annotation
235
     *
236
     * @param scalar $index
237
     * @return void
238
     */
239
    public function unsetAnnotation($index)
240
    {
241
        unset($this->annotation[$index]);
242
    }
243
244
    /**
245
     * Gets as annotation
246
     *
247
     * @return \MetadataV4\edm\Annotation[]
248
     */
249
    public function getAnnotation()
250
    {
251
        return $this->annotation;
252
    }
253
254
    /**
255
     * Sets a new annotation
256
     *
257
     * @param \MetadataV4\edm\Annotation[] $annotation
258
     * @return self
259
     */
260
    public function setAnnotation(array $annotation)
261
    {
262
        $this->annotation = $annotation;
263
        return $this;
264
    }
265
}
266