Completed
Push — ws-security ( defbc5...87c9bd )
by Asmir
86:42 queued 56:41
created

RetrievalMethodType::setURI()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 5
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 3
nc 1
nop 1
1
<?php
2
3
namespace GoetasWebservices\SoapServices\SoapClient\WssWsSecurity\XmlSign;
4
5
/**
6
 * Class representing RetrievalMethodType
7
 *
8
 *
9
 * XSD Type: RetrievalMethodType
10
 */
11
class RetrievalMethodType
12
{
13
14
    /**
15
     * @property string $uRI
16
     */
17
    private $uRI = null;
18
19
    /**
20
     * @property string $type
21
     */
22
    private $type = null;
23
24
    /**
25
     * @property
26
     * \GoetasWebservices\SoapServices\SoapClient\WssWsSecurity\XmlSign\Transform[]
27
     * $transforms
28
     */
29
    private $transforms = null;
30
31
    /**
32
     * Gets as uRI
33
     *
34
     * @return string
35
     */
36
    public function getURI()
37
    {
38
        return $this->uRI;
39
    }
40
41
    /**
42
     * Sets a new uRI
43
     *
44
     * @param string $uRI
45
     * @return self
46
     */
47
    public function setURI($uRI)
48
    {
49
        $this->uRI = $uRI;
50
        return $this;
51
    }
52
53
    /**
54
     * Gets as type
55
     *
56
     * @return string
57
     */
58
    public function getType()
59
    {
60
        return $this->type;
61
    }
62
63
    /**
64
     * Sets a new type
65
     *
66
     * @param string $type
67
     * @return self
68
     */
69
    public function setType($type)
70
    {
71
        $this->type = $type;
72
        return $this;
73
    }
74
75
    /**
76
     * Adds as transform
77
     *
78
     * @return self
79
     * @param
80
     * \GoetasWebservices\SoapServices\SoapClient\WssWsSecurity\XmlSign\Transform
81
     * $transform
82
     */
83
    public function addToTransforms(\GoetasWebservices\SoapServices\SoapClient\WssWsSecurity\XmlSign\Transform $transform)
84
    {
85
        $this->transforms[] = $transform;
86
        return $this;
87
    }
88
89
    /**
90
     * isset transforms
91
     *
92
     * @param scalar $index
93
     * @return boolean
94
     */
95
    public function issetTransforms($index)
96
    {
97
        return isset($this->transforms[$index]);
98
    }
99
100
    /**
101
     * unset transforms
102
     *
103
     * @param scalar $index
104
     * @return void
105
     */
106
    public function unsetTransforms($index)
107
    {
108
        unset($this->transforms[$index]);
109
    }
110
111
    /**
112
     * Gets as transforms
113
     *
114
     * @return
115
     * \GoetasWebservices\SoapServices\SoapClient\WssWsSecurity\XmlSign\Transform[]
116
     */
117
    public function getTransforms()
118
    {
119
        return $this->transforms;
120
    }
121
122
    /**
123
     * Sets a new transforms
124
     *
125
     * @param
126
     * \GoetasWebservices\SoapServices\SoapClient\WssWsSecurity\XmlSign\Transform[]
127
     * $transforms
128
     * @return self
129
     */
130
    public function setTransforms(array $transforms)
131
    {
132
        $this->transforms = $transforms;
133
        return $this;
134
    }
135
136
137
}
138
139