1 | <?php |
||
11 | class ObjectType |
||
12 | { |
||
13 | |||
14 | /** |
||
15 | * @property string $id |
||
16 | */ |
||
17 | private $id = null; |
||
18 | |||
19 | /** |
||
20 | * @property string $mimeType |
||
21 | */ |
||
22 | private $mimeType = null; |
||
23 | |||
24 | /** |
||
25 | * @property string $encoding |
||
26 | */ |
||
27 | private $encoding = null; |
||
28 | |||
29 | /** |
||
30 | * @property mixed[] $anyElement |
||
31 | */ |
||
32 | private $anyElement = array( |
||
33 | |||
34 | ); |
||
35 | |||
36 | /** |
||
37 | * Gets as id |
||
38 | * |
||
39 | * @return string |
||
40 | */ |
||
41 | public function getId() |
||
45 | |||
46 | /** |
||
47 | * Sets a new id |
||
48 | * |
||
49 | * @param string $id |
||
50 | * @return self |
||
51 | */ |
||
52 | public function setId($id) |
||
57 | |||
58 | /** |
||
59 | * Gets as mimeType |
||
60 | * |
||
61 | * @return string |
||
62 | */ |
||
63 | public function getMimeType() |
||
67 | |||
68 | /** |
||
69 | * Sets a new mimeType |
||
70 | * |
||
71 | * @param string $mimeType |
||
72 | * @return self |
||
73 | */ |
||
74 | public function setMimeType($mimeType) |
||
79 | |||
80 | /** |
||
81 | * Gets as encoding |
||
82 | * |
||
83 | * @return string |
||
84 | */ |
||
85 | public function getEncoding() |
||
89 | |||
90 | /** |
||
91 | * Sets a new encoding |
||
92 | * |
||
93 | * @param string $encoding |
||
94 | * @return self |
||
95 | */ |
||
96 | public function setEncoding($encoding) |
||
101 | |||
102 | /** |
||
103 | * Adds as array |
||
104 | * |
||
105 | * @return self |
||
106 | * @param mixed $array |
||
107 | */ |
||
108 | public function addToAnyElement($array) |
||
113 | |||
114 | /** |
||
115 | * isset anyElement |
||
116 | * |
||
117 | * @param scalar $index |
||
118 | * @return boolean |
||
119 | */ |
||
120 | public function issetAnyElement($index) |
||
124 | |||
125 | /** |
||
126 | * unset anyElement |
||
127 | * |
||
128 | * @param scalar $index |
||
129 | * @return void |
||
130 | */ |
||
131 | public function unsetAnyElement($index) |
||
135 | |||
136 | /** |
||
137 | * Gets as anyElement |
||
138 | * |
||
139 | * @return mixed[] |
||
140 | */ |
||
141 | public function getAnyElement() |
||
145 | |||
146 | /** |
||
147 | * Sets a new anyElement |
||
148 | * |
||
149 | * @param mixed[] $anyElement |
||
150 | * @return self |
||
151 | */ |
||
152 | public function setAnyElement(array $anyElement) |
||
157 | |||
158 | |||
159 | } |
||
160 | |||
161 |