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