238 Public method to set some custom data. |
238 Public method to set some custom data. |
239 |
239 |
240 @param key key for the custom data |
240 @param key key for the custom data |
241 @type str |
241 @type str |
242 @param data data to be stored |
242 @param data data to be stored |
243 @type any |
243 @type Any |
244 """ |
244 """ |
245 self.__customData[key] = data |
245 self.__customData[key] = data |
246 |
246 |
247 def getCustomData(self, key): |
247 def getCustomData(self, key): |
248 """ |
248 """ |
249 Public method to get some custom data. |
249 Public method to get some custom data. |
250 |
250 |
251 @param key key for the custom data |
251 @param key key for the custom data |
252 @type str |
252 @type str |
253 @return stored data |
253 @return stored data |
254 @rtype any |
254 @rtype Any |
255 """ |
255 """ |
256 return self.__customData[key] |
256 return self.__customData[key] |