1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
namespace GoetasWebservices\SoapServices\SoapClient\WssWsSecurity\XmlSign; |
4
|
|
|
|
5
|
|
|
/** |
6
|
|
|
* Class representing ReferenceType |
7
|
|
|
* |
8
|
|
|
* |
9
|
|
|
* XSD Type: ReferenceType |
10
|
|
|
*/ |
11
|
|
|
class ReferenceType |
12
|
|
|
{ |
13
|
|
|
|
14
|
|
|
/** |
15
|
|
|
* @property string $id |
16
|
|
|
*/ |
17
|
|
|
private $id = null; |
18
|
|
|
|
19
|
|
|
/** |
20
|
|
|
* @property string $uRI |
21
|
|
|
*/ |
22
|
|
|
private $uRI = null; |
23
|
|
|
|
24
|
|
|
/** |
25
|
|
|
* @property string $type |
26
|
|
|
*/ |
27
|
|
|
private $type = null; |
28
|
|
|
|
29
|
|
|
/** |
30
|
|
|
* @property |
31
|
|
|
* \GoetasWebservices\SoapServices\SoapClient\WssWsSecurity\XmlSign\Transform[] |
32
|
|
|
* $transforms |
33
|
|
|
*/ |
34
|
|
|
private $transforms = null; |
35
|
|
|
|
36
|
|
|
/** |
37
|
|
|
* @property |
38
|
|
|
* \GoetasWebservices\SoapServices\SoapClient\WssWsSecurity\XmlSign\DigestMethod |
39
|
|
|
* $digestMethod |
40
|
|
|
*/ |
41
|
|
|
private $digestMethod = null; |
42
|
|
|
|
43
|
|
|
/** |
44
|
|
|
* @property mixed $digestValue |
45
|
|
|
*/ |
46
|
|
|
private $digestValue = null; |
47
|
|
|
|
48
|
|
|
/** |
49
|
|
|
* Gets as id |
50
|
|
|
* |
51
|
|
|
* @return string |
52
|
|
|
*/ |
53
|
|
|
public function getId() |
54
|
|
|
{ |
55
|
|
|
return $this->id; |
56
|
|
|
} |
57
|
|
|
|
58
|
|
|
/** |
59
|
|
|
* Sets a new id |
60
|
|
|
* |
61
|
|
|
* @param string $id |
62
|
|
|
* @return self |
63
|
|
|
*/ |
64
|
|
|
public function setId($id) |
65
|
|
|
{ |
66
|
|
|
$this->id = $id; |
67
|
|
|
return $this; |
68
|
|
|
} |
69
|
|
|
|
70
|
|
|
/** |
71
|
|
|
* Gets as uRI |
72
|
|
|
* |
73
|
|
|
* @return string |
74
|
|
|
*/ |
75
|
|
|
public function getURI() |
76
|
|
|
{ |
77
|
|
|
return $this->uRI; |
78
|
|
|
} |
79
|
|
|
|
80
|
|
|
/** |
81
|
|
|
* Sets a new uRI |
82
|
|
|
* |
83
|
|
|
* @param string $uRI |
84
|
|
|
* @return self |
85
|
|
|
*/ |
86
|
|
|
public function setURI($uRI) |
87
|
|
|
{ |
88
|
|
|
$this->uRI = $uRI; |
89
|
|
|
return $this; |
90
|
|
|
} |
91
|
|
|
|
92
|
|
|
/** |
93
|
|
|
* Gets as type |
94
|
|
|
* |
95
|
|
|
* @return string |
96
|
|
|
*/ |
97
|
|
|
public function getType() |
98
|
|
|
{ |
99
|
|
|
return $this->type; |
100
|
|
|
} |
101
|
|
|
|
102
|
|
|
/** |
103
|
|
|
* Sets a new type |
104
|
|
|
* |
105
|
|
|
* @param string $type |
106
|
|
|
* @return self |
107
|
|
|
*/ |
108
|
|
|
public function setType($type) |
109
|
|
|
{ |
110
|
|
|
$this->type = $type; |
111
|
|
|
return $this; |
112
|
|
|
} |
113
|
|
|
|
114
|
|
|
/** |
115
|
|
|
* Adds as transform |
116
|
|
|
* |
117
|
|
|
* @return self |
118
|
|
|
* @param |
119
|
|
|
* \GoetasWebservices\SoapServices\SoapClient\WssWsSecurity\XmlSign\Transform |
120
|
|
|
* $transform |
121
|
|
|
*/ |
122
|
|
|
public function addToTransforms(\GoetasWebservices\SoapServices\SoapClient\WssWsSecurity\XmlSign\Transform $transform) |
123
|
|
|
{ |
124
|
|
|
$this->transforms[] = $transform; |
125
|
|
|
return $this; |
126
|
|
|
} |
127
|
|
|
|
128
|
|
|
/** |
129
|
|
|
* isset transforms |
130
|
|
|
* |
131
|
|
|
* @param scalar $index |
132
|
|
|
* @return boolean |
133
|
|
|
*/ |
134
|
|
|
public function issetTransforms($index) |
135
|
|
|
{ |
136
|
|
|
return isset($this->transforms[$index]); |
137
|
|
|
} |
138
|
|
|
|
139
|
|
|
/** |
140
|
|
|
* unset transforms |
141
|
|
|
* |
142
|
|
|
* @param scalar $index |
143
|
|
|
* @return void |
144
|
|
|
*/ |
145
|
|
|
public function unsetTransforms($index) |
146
|
|
|
{ |
147
|
|
|
unset($this->transforms[$index]); |
148
|
|
|
} |
149
|
|
|
|
150
|
|
|
/** |
151
|
|
|
* Gets as transforms |
152
|
|
|
* |
153
|
|
|
* @return |
154
|
|
|
* \GoetasWebservices\SoapServices\SoapClient\WssWsSecurity\XmlSign\Transform[] |
155
|
|
|
*/ |
156
|
|
|
public function getTransforms() |
157
|
|
|
{ |
158
|
|
|
return $this->transforms; |
159
|
|
|
} |
160
|
|
|
|
161
|
|
|
/** |
162
|
|
|
* Sets a new transforms |
163
|
|
|
* |
164
|
|
|
* @param |
165
|
|
|
* \GoetasWebservices\SoapServices\SoapClient\WssWsSecurity\XmlSign\Transform[] |
166
|
|
|
* $transforms |
167
|
|
|
* @return self |
168
|
|
|
*/ |
169
|
|
|
public function setTransforms(array $transforms) |
170
|
|
|
{ |
171
|
|
|
$this->transforms = $transforms; |
172
|
|
|
return $this; |
173
|
|
|
} |
174
|
|
|
|
175
|
|
|
/** |
176
|
|
|
* Gets as digestMethod |
177
|
|
|
* |
178
|
|
|
* @return |
179
|
|
|
* \GoetasWebservices\SoapServices\SoapClient\WssWsSecurity\XmlSign\DigestMethod |
180
|
|
|
*/ |
181
|
|
|
public function getDigestMethod() |
182
|
|
|
{ |
183
|
|
|
return $this->digestMethod; |
184
|
|
|
} |
185
|
|
|
|
186
|
|
|
/** |
187
|
|
|
* Sets a new digestMethod |
188
|
|
|
* |
189
|
|
|
* @param |
190
|
|
|
* \GoetasWebservices\SoapServices\SoapClient\WssWsSecurity\XmlSign\DigestMethod |
191
|
|
|
* $digestMethod |
192
|
|
|
* @return self |
193
|
|
|
*/ |
194
|
|
|
public function setDigestMethod(\GoetasWebservices\SoapServices\SoapClient\WssWsSecurity\XmlSign\DigestMethod $digestMethod) |
195
|
|
|
{ |
196
|
|
|
$this->digestMethod = $digestMethod; |
197
|
|
|
return $this; |
198
|
|
|
} |
199
|
|
|
|
200
|
|
|
/** |
201
|
|
|
* Gets as digestValue |
202
|
|
|
* |
203
|
|
|
* @return mixed |
204
|
|
|
*/ |
205
|
|
|
public function getDigestValue() |
206
|
|
|
{ |
207
|
|
|
return $this->digestValue; |
208
|
|
|
} |
209
|
|
|
|
210
|
|
|
/** |
211
|
|
|
* Sets a new digestValue |
212
|
|
|
* |
213
|
|
|
* @param mixed $digestValue |
214
|
|
|
* @return self |
215
|
|
|
*/ |
216
|
|
|
public function setDigestValue($digestValue) |
217
|
|
|
{ |
218
|
|
|
$this->digestValue = $digestValue; |
219
|
|
|
return $this; |
220
|
|
|
} |
221
|
|
|
|
222
|
|
|
|
223
|
|
|
} |
224
|
|
|
|
225
|
|
|
|