Code Duplication    Length = 42-42 lines in 16 locations

src/MetadataV4/edm/TBinaryConstantExpressionType.php 1 location

@@ 13-54 (lines=42) @@
10
 *
11
 * XSD Type: TBinaryConstantExpression
12
 */
13
class TBinaryConstantExpressionType extends IsOK
14
{
15
16
    /**
17
     * @property string $__value
18
     */
19
    private $__value = null;
20
21
    /**
22
     * Construct
23
     *
24
     * @param string $value
25
     */
26
    public function __construct($value)
27
    {
28
        $this->value($value);
29
    }
30
31
    /**
32
     * Gets or sets the inner value
33
     *
34
     * @param string ...$value
35
     * @return string
36
     */
37
    public function value(...$value)
38
    {
39
        if (0 < count($value)) {
40
            $this->__value = $value[0];
41
        }
42
        return $this->__value;
43
    }
44
45
    /**
46
     * Gets a string value
47
     *
48
     * @return string
49
     */
50
    public function __toString()
51
    {
52
        return strval($this->__value);
53
    }
54
}
55

src/MetadataV4/edm/TBoolConstantExpressionType.php 1 location

@@ 13-54 (lines=42) @@
10
 *
11
 * XSD Type: TBoolConstantExpression
12
 */
13
class TBoolConstantExpressionType extends IsOK
14
{
15
16
    /**
17
     * @property boolean $__value
18
     */
19
    private $__value = null;
20
21
    /**
22
     * Construct
23
     *
24
     * @param boolean $value
25
     */
26
    public function __construct($value)
27
    {
28
        $this->value($value);
29
    }
30
31
    /**
32
     * Gets or sets the inner value
33
     *
34
     * @param boolean ...$value
35
     * @return boolean
36
     */
37
    public function value(...$value)
38
    {
39
        if (0 < count($value)) {
40
            $this->__value = $value[0];
41
        }
42
        return $this->__value;
43
    }
44
45
    /**
46
     * Gets a string value
47
     *
48
     * @return string
49
     */
50
    public function __toString()
51
    {
52
        return strval($this->__value);
53
    }
54
}
55

src/MetadataV4/edm/TDateConstantExpressionType.php 1 location

@@ 13-54 (lines=42) @@
10
 *
11
 * XSD Type: TDateConstantExpression
12
 */
13
class TDateConstantExpressionType extends IsOK
14
{
15
16
    /**
17
     * @property \DateTime $__value
18
     */
19
    private $__value = null;
20
21
    /**
22
     * Construct
23
     *
24
     * @param \DateTime $value
25
     */
26
    public function __construct(\DateTime $value)
27
    {
28
        $this->value($value);
29
    }
30
31
    /**
32
     * Gets or sets the inner value
33
     *
34
     * @param \DateTime ...$value
35
     * @return \DateTime
36
     */
37
    public function value(...$value)
38
    {
39
        if (0 < count($value)) {
40
            $this->__value = $value[0];
41
        }
42
        return $this->__value;
43
    }
44
45
    /**
46
     * Gets a string value
47
     *
48
     * @return string
49
     */
50
    public function __toString()
51
    {
52
        return strval($this->__value);
53
    }
54
}
55

src/MetadataV4/edm/TDateTimeOffsetConstantExpressionType.php 1 location

@@ 13-54 (lines=42) @@
10
 *
11
 * XSD Type: TDateTimeOffsetConstantExpression
12
 */
13
class TDateTimeOffsetConstantExpressionType extends IsOK
14
{
15
16
    /**
17
     * @property \DateTime $__value
18
     */
19
    private $__value = null;
20
21
    /**
22
     * Construct
23
     *
24
     * @param \DateTime $value
25
     */
26
    public function __construct(\DateTime $value)
27
    {
28
        $this->value($value);
29
    }
30
31
    /**
32
     * Gets or sets the inner value
33
     *
34
     * @param \DateTime ...$value
35
     * @return \DateTime
36
     */
37
    public function value(...$value)
38
    {
39
        if (0 < count($value)) {
40
            $this->__value = $value[0];
41
        }
42
        return $this->__value;
43
    }
44
45
    /**
46
     * Gets a string value
47
     *
48
     * @return string
49
     */
50
    public function __toString()
51
    {
52
        return strval($this->__value);
53
    }
54
}
55

src/MetadataV4/edm/TDecimalConstantExpressionType.php 1 location

@@ 13-54 (lines=42) @@
10
 *
11
 * XSD Type: TDecimalConstantExpression
12
 */
13
class TDecimalConstantExpressionType extends IsOK
14
{
15
16
    /**
17
     * @property float $__value
18
     */
19
    private $__value = null;
20
21
    /**
22
     * Construct
23
     *
24
     * @param float $value
25
     */
26
    public function __construct($value)
27
    {
28
        $this->value($value);
29
    }
30
31
    /**
32
     * Gets or sets the inner value
33
     *
34
     * @param float ...$value
35
     * @return float
36
     */
37
    public function value(...$value)
38
    {
39
        if (0 < count($value)) {
40
            $this->__value = $value[0];
41
        }
42
        return $this->__value;
43
    }
44
45
    /**
46
     * Gets a string value
47
     *
48
     * @return string
49
     */
50
    public function __toString()
51
    {
52
        return strval($this->__value);
53
    }
54
}
55

src/MetadataV4/edm/TDurationConstantExpressionType.php 1 location

@@ 13-54 (lines=42) @@
10
 *
11
 * XSD Type: TDurationConstantExpression
12
 */
13
class TDurationConstantExpressionType extends IsOK
14
{
15
16
    /**
17
     * @property \DateInterval $__value
18
     */
19
    private $__value = null;
20
21
    /**
22
     * Construct
23
     *
24
     * @param \DateInterval $value
25
     */
26
    public function __construct(\DateInterval $value)
27
    {
28
        $this->value($value);
29
    }
30
31
    /**
32
     * Gets or sets the inner value
33
     *
34
     * @param \DateInterval ...$value
35
     * @return \DateInterval
36
     */
37
    public function value(...$value)
38
    {
39
        if (0 < count($value)) {
40
            $this->__value = $value[0];
41
        }
42
        return $this->__value;
43
    }
44
45
    /**
46
     * Gets a string value
47
     *
48
     * @return string
49
     */
50
    public function __toString()
51
    {
52
        return strval($this->__value);
53
    }
54
}
55

src/MetadataV4/edm/TFloatConstantExpressionType.php 1 location

@@ 13-54 (lines=42) @@
10
 *
11
 * XSD Type: TFloatConstantExpression
12
 */
13
class TFloatConstantExpressionType extends IsOK
14
{
15
16
    /**
17
     * @property float $__value
18
     */
19
    private $__value = null;
20
21
    /**
22
     * Construct
23
     *
24
     * @param float $value
25
     */
26
    public function __construct($value)
27
    {
28
        $this->value($value);
29
    }
30
31
    /**
32
     * Gets or sets the inner value
33
     *
34
     * @param float ...$value
35
     * @return float
36
     */
37
    public function value(...$value)
38
    {
39
        if (0 < count($value)) {
40
            $this->__value = $value[0];
41
        }
42
        return $this->__value;
43
    }
44
45
    /**
46
     * Gets a string value
47
     *
48
     * @return string
49
     */
50
    public function __toString()
51
    {
52
        return strval($this->__value);
53
    }
54
}
55

src/MetadataV4/edm/TGuidConstantExpressionType.php 1 location

@@ 13-54 (lines=42) @@
10
 *
11
 * XSD Type: TGuidConstantExpression
12
 */
13
class TGuidConstantExpressionType extends IsOK
14
{
15
16
    /**
17
     * @property string $__value
18
     */
19
    private $__value = null;
20
21
    /**
22
     * Construct
23
     *
24
     * @param string $value
25
     */
26
    public function __construct($value)
27
    {
28
        $this->value($value);
29
    }
30
31
    /**
32
     * Gets or sets the inner value
33
     *
34
     * @param string ...$value
35
     * @return string
36
     */
37
    public function value(...$value)
38
    {
39
        if (0 < count($value)) {
40
            $this->__value = $value[0];
41
        }
42
        return $this->__value;
43
    }
44
45
    /**
46
     * Gets a string value
47
     *
48
     * @return string
49
     */
50
    public function __toString()
51
    {
52
        return strval($this->__value);
53
    }
54
}
55

src/MetadataV4/edm/TIntConstantExpressionType.php 1 location

@@ 13-54 (lines=42) @@
10
 *
11
 * XSD Type: TIntConstantExpression
12
 */
13
class TIntConstantExpressionType extends IsOK
14
{
15
16
    /**
17
     * @property integer $__value
18
     */
19
    private $__value = null;
20
21
    /**
22
     * Construct
23
     *
24
     * @param integer $value
25
     */
26
    public function __construct($value)
27
    {
28
        $this->value($value);
29
    }
30
31
    /**
32
     * Gets or sets the inner value
33
     *
34
     * @param integer ...$value
35
     * @return integer
36
     */
37
    public function value(...$value)
38
    {
39
        if (0 < count($value)) {
40
            $this->__value = $value[0];
41
        }
42
        return $this->__value;
43
    }
44
45
    /**
46
     * Gets a string value
47
     *
48
     * @return string
49
     */
50
    public function __toString()
51
    {
52
        return strval($this->__value);
53
    }
54
}
55

src/MetadataV4/edm/TLabeledElementReferenceExpressionType.php 1 location

@@ 13-54 (lines=42) @@
10
 *
11
 * XSD Type: TLabeledElementReferenceExpression
12
 */
13
class TLabeledElementReferenceExpressionType extends IsOK
14
{
15
16
    /**
17
     * @property string $__value
18
     */
19
    private $__value = null;
20
21
    /**
22
     * Construct
23
     *
24
     * @param string $value
25
     */
26
    public function __construct($value)
27
    {
28
        $this->value($value);
29
    }
30
31
    /**
32
     * Gets or sets the inner value
33
     *
34
     * @param string ...$value
35
     * @return string
36
     */
37
    public function value(...$value)
38
    {
39
        if (0 < count($value)) {
40
            $this->__value = $value[0];
41
        }
42
        return $this->__value;
43
    }
44
45
    /**
46
     * Gets a string value
47
     *
48
     * @return string
49
     */
50
    public function __toString()
51
    {
52
        return strval($this->__value);
53
    }
54
}
55

src/MetadataV4/edm/TPathExpressionType.php 1 location

@@ 13-54 (lines=42) @@
10
 *
11
 * XSD Type: TPathExpression
12
 */
13
class TPathExpressionType extends IsOK
14
{
15
16
    /**
17
     * @property string $__value
18
     */
19
    private $__value = null;
20
21
    /**
22
     * Construct
23
     *
24
     * @param string $value
25
     */
26
    public function __construct($value)
27
    {
28
        $this->value($value);
29
    }
30
31
    /**
32
     * Gets or sets the inner value
33
     *
34
     * @param string ...$value
35
     * @return string
36
     */
37
    public function value(...$value)
38
    {
39
        if (0 < count($value)) {
40
            $this->__value = $value[0];
41
        }
42
        return $this->__value;
43
    }
44
45
    /**
46
     * Gets a string value
47
     *
48
     * @return string
49
     */
50
    public function __toString()
51
    {
52
        return strval($this->__value);
53
    }
54
}
55

src/MetadataV4/edm/TStringConstantExpressionType.php 1 location

@@ 13-54 (lines=42) @@
10
 *
11
 * XSD Type: TStringConstantExpression
12
 */
13
class TStringConstantExpressionType extends IsOK
14
{
15
16
    /**
17
     * @property string $__value
18
     */
19
    private $__value = null;
20
21
    /**
22
     * Construct
23
     *
24
     * @param string $value
25
     */
26
    public function __construct($value)
27
    {
28
        $this->value($value);
29
    }
30
31
    /**
32
     * Gets or sets the inner value
33
     *
34
     * @param string ...$value
35
     * @return string
36
     */
37
    public function value(...$value)
38
    {
39
        if (0 < count($value)) {
40
            $this->__value = $value[0];
41
        }
42
        return $this->__value;
43
    }
44
45
    /**
46
     * Gets a string value
47
     *
48
     * @return string
49
     */
50
    public function __toString()
51
    {
52
        return strval($this->__value);
53
    }
54
}
55

src/MetadataV4/edm/TTimeOfDayConstantExpressionType.php 1 location

@@ 13-54 (lines=42) @@
10
 *
11
 * XSD Type: TTimeOfDayConstantExpression
12
 */
13
class TTimeOfDayConstantExpressionType extends IsOK
14
{
15
16
    /**
17
     * @property \DateTime $__value
18
     */
19
    private $__value = null;
20
21
    /**
22
     * Construct
23
     *
24
     * @param \DateTime $value
25
     */
26
    public function __construct(\DateTime $value)
27
    {
28
        $this->value($value);
29
    }
30
31
    /**
32
     * Gets or sets the inner value
33
     *
34
     * @param \DateTime ...$value
35
     * @return \DateTime
36
     */
37
    public function value(...$value)
38
    {
39
        if (0 < count($value)) {
40
            $this->__value = $value[0];
41
        }
42
        return $this->__value;
43
    }
44
45
    /**
46
     * Gets a string value
47
     *
48
     * @return string
49
     */
50
    public function __toString()
51
    {
52
        return strval($this->__value);
53
    }
54
}
55

src/Atom/src/Email.php 1 location

@@ 8-49 (lines=42) @@
5
/**
6
 * Class representing Email
7
 */
8
class Email
9
{
10
11
    /**
12
     * @property string $__value
13
     */
14
    private $__value = null;
15
16
    /**
17
     * Construct
18
     *
19
     * @param string $value
20
     */
21
    public function __construct($value)
22
    {
23
        $this->value($value);
24
    }
25
26
    /**
27
     * Gets or sets the inner value
28
     *
29
     * @param string $value
30
     * @return string
31
     */
32
    public function value()
33
    {
34
        if ($args = func_get_args()) {
35
            $this->__value = $args[0];
36
        }
37
        return $this->__value;
38
    }
39
40
    /**
41
     * Gets a string value
42
     *
43
     * @return string
44
     */
45
    public function __toString()
46
    {
47
        return strval($this->__value);
48
    }
49
}
50

src/Atom/src/Name.php 1 location

@@ 8-49 (lines=42) @@
5
/**
6
 * Class representing Name
7
 */
8
class Name
9
{
10
11
    /**
12
     * @property string $__value
13
     */
14
    private $__value = null;
15
16
    /**
17
     * Construct
18
     *
19
     * @param string $value
20
     */
21
    public function __construct($value)
22
    {
23
        $this->value($value);
24
    }
25
26
    /**
27
     * Gets or sets the inner value
28
     *
29
     * @param string $value
30
     * @return string
31
     */
32
    public function value()
33
    {
34
        if ($args = func_get_args()) {
35
            $this->__value = $args[0];
36
        }
37
        return $this->__value;
38
    }
39
40
    /**
41
     * Gets a string value
42
     *
43
     * @return string
44
     */
45
    public function __toString()
46
    {
47
        return strval($this->__value);
48
    }
49
}
50

src/Atom/src/Uri.php 1 location

@@ 8-49 (lines=42) @@
5
/**
6
 * Class representing Uri
7
 */
8
class Uri
9
{
10
11
    /**
12
     * @property string $__value
13
     */
14
    private $__value = null;
15
16
    /**
17
     * Construct
18
     *
19
     * @param string $value
20
     */
21
    public function __construct($value)
22
    {
23
        $this->value($value);
24
    }
25
26
    /**
27
     * Gets or sets the inner value
28
     *
29
     * @param string $value
30
     * @return string
31
     */
32
    public function value()
33
    {
34
        if ($args = func_get_args()) {
35
            $this->__value = $args[0];
36
        }
37
        return $this->__value;
38
    }
39
40
    /**
41
     * Gets a string value
42
     *
43
     * @return string
44
     */
45
    public function __toString()
46
    {
47
        return strval($this->__value);
48
    }
49
}
50