Code Duplication    Length = 93-93 lines in 3 locations

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

@@ 11-103 (lines=93) @@
8
 *
9
 * XSD Type: TEndProperty
10
 */
11
class TEndPropertyType
12
{
13
14
    /**
15
     * @property string $name
16
     */
17
    private $name = null;
18
19
    /**
20
     * @property \MetadataV1\mapping\cs\TScalarPropertyType[] $scalarProperty
21
     */
22
    private $scalarProperty = array(
23
        
24
    );
25
26
    /**
27
     * Gets as name
28
     *
29
     * @return string
30
     */
31
    public function getName()
32
    {
33
        return $this->name;
34
    }
35
36
    /**
37
     * Sets a new name
38
     *
39
     * @param string $name
40
     * @return self
41
     */
42
    public function setName($name)
43
    {
44
        $this->name = $name;
45
        return $this;
46
    }
47
48
    /**
49
     * Adds as scalarProperty
50
     *
51
     * @return self
52
     * @param \MetadataV1\mapping\cs\TScalarPropertyType $scalarProperty
53
     */
54
    public function addToScalarProperty(\MetadataV1\mapping\cs\TScalarPropertyType $scalarProperty)
55
    {
56
        $this->scalarProperty[] = $scalarProperty;
57
        return $this;
58
    }
59
60
    /**
61
     * isset scalarProperty
62
     *
63
     * @param scalar $index
64
     * @return boolean
65
     */
66
    public function issetScalarProperty($index)
67
    {
68
        return isset($this->scalarProperty[$index]);
69
    }
70
71
    /**
72
     * unset scalarProperty
73
     *
74
     * @param scalar $index
75
     * @return void
76
     */
77
    public function unsetScalarProperty($index)
78
    {
79
        unset($this->scalarProperty[$index]);
80
    }
81
82
    /**
83
     * Gets as scalarProperty
84
     *
85
     * @return \MetadataV1\mapping\cs\TScalarPropertyType[]
86
     */
87
    public function getScalarProperty()
88
    {
89
        return $this->scalarProperty;
90
    }
91
92
    /**
93
     * Sets a new scalarProperty
94
     *
95
     * @param \MetadataV1\mapping\cs\TScalarPropertyType[] $scalarProperty
96
     * @return self
97
     */
98
    public function setScalarProperty(array $scalarProperty)
99
    {
100
        $this->scalarProperty = $scalarProperty;
101
        return $this;
102
    }
103
}
104

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

@@ 11-103 (lines=93) @@
8
 *
9
 * XSD Type: TEndProperty
10
 */
11
class TEndPropertyType
12
{
13
14
    /**
15
     * @property string $name
16
     */
17
    private $name = null;
18
19
    /**
20
     * @property \MetadataV2\mapping\cs\TScalarPropertyType[] $scalarProperty
21
     */
22
    private $scalarProperty = array(
23
        
24
    );
25
26
    /**
27
     * Gets as name
28
     *
29
     * @return string
30
     */
31
    public function getName()
32
    {
33
        return $this->name;
34
    }
35
36
    /**
37
     * Sets a new name
38
     *
39
     * @param string $name
40
     * @return self
41
     */
42
    public function setName($name)
43
    {
44
        $this->name = $name;
45
        return $this;
46
    }
47
48
    /**
49
     * Adds as scalarProperty
50
     *
51
     * @return self
52
     * @param \MetadataV2\mapping\cs\TScalarPropertyType $scalarProperty
53
     */
54
    public function addToScalarProperty(\MetadataV2\mapping\cs\TScalarPropertyType $scalarProperty)
55
    {
56
        $this->scalarProperty[] = $scalarProperty;
57
        return $this;
58
    }
59
60
    /**
61
     * isset scalarProperty
62
     *
63
     * @param scalar $index
64
     * @return boolean
65
     */
66
    public function issetScalarProperty($index)
67
    {
68
        return isset($this->scalarProperty[$index]);
69
    }
70
71
    /**
72
     * unset scalarProperty
73
     *
74
     * @param scalar $index
75
     * @return void
76
     */
77
    public function unsetScalarProperty($index)
78
    {
79
        unset($this->scalarProperty[$index]);
80
    }
81
82
    /**
83
     * Gets as scalarProperty
84
     *
85
     * @return \MetadataV2\mapping\cs\TScalarPropertyType[]
86
     */
87
    public function getScalarProperty()
88
    {
89
        return $this->scalarProperty;
90
    }
91
92
    /**
93
     * Sets a new scalarProperty
94
     *
95
     * @param \MetadataV2\mapping\cs\TScalarPropertyType[] $scalarProperty
96
     * @return self
97
     */
98
    public function setScalarProperty(array $scalarProperty)
99
    {
100
        $this->scalarProperty = $scalarProperty;
101
        return $this;
102
    }
103
}
104

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

@@ 11-103 (lines=93) @@
8
 *
9
 * XSD Type: TEndProperty
10
 */
11
class TEndPropertyType
12
{
13
14
    /**
15
     * @property string $name
16
     */
17
    private $name = null;
18
19
    /**
20
     * @property \MetadataV3\mapping\cs\TScalarPropertyType[] $scalarProperty
21
     */
22
    private $scalarProperty = array(
23
        
24
    );
25
26
    /**
27
     * Gets as name
28
     *
29
     * @return string
30
     */
31
    public function getName()
32
    {
33
        return $this->name;
34
    }
35
36
    /**
37
     * Sets a new name
38
     *
39
     * @param string $name
40
     * @return self
41
     */
42
    public function setName($name)
43
    {
44
        $this->name = $name;
45
        return $this;
46
    }
47
48
    /**
49
     * Adds as scalarProperty
50
     *
51
     * @return self
52
     * @param \MetadataV3\mapping\cs\TScalarPropertyType $scalarProperty
53
     */
54
    public function addToScalarProperty(\MetadataV3\mapping\cs\TScalarPropertyType $scalarProperty)
55
    {
56
        $this->scalarProperty[] = $scalarProperty;
57
        return $this;
58
    }
59
60
    /**
61
     * isset scalarProperty
62
     *
63
     * @param scalar $index
64
     * @return boolean
65
     */
66
    public function issetScalarProperty($index)
67
    {
68
        return isset($this->scalarProperty[$index]);
69
    }
70
71
    /**
72
     * unset scalarProperty
73
     *
74
     * @param scalar $index
75
     * @return void
76
     */
77
    public function unsetScalarProperty($index)
78
    {
79
        unset($this->scalarProperty[$index]);
80
    }
81
82
    /**
83
     * Gets as scalarProperty
84
     *
85
     * @return \MetadataV3\mapping\cs\TScalarPropertyType[]
86
     */
87
    public function getScalarProperty()
88
    {
89
        return $this->scalarProperty;
90
    }
91
92
    /**
93
     * Sets a new scalarProperty
94
     *
95
     * @param \MetadataV3\mapping\cs\TScalarPropertyType[] $scalarProperty
96
     * @return self
97
     */
98
    public function setScalarProperty(array $scalarProperty)
99
    {
100
        $this->scalarProperty = $scalarProperty;
101
        return $this;
102
    }
103
}
104