265 The algorithm is borrowed from Boa Constructor. |
265 The algorithm is borrowed from Boa Constructor. |
266 </p> |
266 </p> |
267 |
267 |
268 <a NAME="UMLClassDiagramBuilder.fromDict" ID="UMLClassDiagramBuilder.fromDict"></a> |
268 <a NAME="UMLClassDiagramBuilder.fromDict" ID="UMLClassDiagramBuilder.fromDict"></a> |
269 <h4>UMLClassDiagramBuilder.fromDict</h4> |
269 <h4>UMLClassDiagramBuilder.fromDict</h4> |
270 <b>fromDict</b>(<i>version, data</i>) |
270 <b>fromDict</b>(<i>_version, data</i>) |
271 <p> |
271 <p> |
272 Public method to populate the class with data persisted by 'toDict()'. |
272 Public method to populate the class with data persisted by 'toDict()'. |
273 </p> |
273 </p> |
274 |
274 |
275 <dl> |
275 <dl> |
276 |
276 |
277 <dt><i>version</i> (str)</dt> |
277 <dt><i>_version</i> (str)</dt> |
278 <dd> |
278 <dd> |
279 version of the data |
279 version of the data (unused) |
280 </dd> |
280 </dd> |
281 <dt><i>data</i> (dict)</dt> |
281 <dt><i>data</i> (dict)</dt> |
282 <dd> |
282 <dd> |
283 dictionary containing the persisted data |
283 dictionary containing the persisted data |
284 </dd> |
284 </dd> |
303 Public method to initialize the object. |
303 Public method to initialize the object. |
304 </p> |
304 </p> |
305 |
305 |
306 <a NAME="UMLClassDiagramBuilder.parsePersistenceData" ID="UMLClassDiagramBuilder.parsePersistenceData"></a> |
306 <a NAME="UMLClassDiagramBuilder.parsePersistenceData" ID="UMLClassDiagramBuilder.parsePersistenceData"></a> |
307 <h4>UMLClassDiagramBuilder.parsePersistenceData</h4> |
307 <h4>UMLClassDiagramBuilder.parsePersistenceData</h4> |
308 <b>parsePersistenceData</b>(<i>version, data</i>) |
308 <b>parsePersistenceData</b>(<i>_version, data</i>) |
309 <p> |
309 <p> |
310 Public method to parse persisted data. |
310 Public method to parse persisted data. |
311 </p> |
311 </p> |
312 |
312 |
313 <dl> |
313 <dl> |
314 |
314 |
315 <dt><i>version</i> (str)</dt> |
315 <dt><i>_version</i> (str)</dt> |
316 <dd> |
316 <dd> |
317 version of the data |
317 version of the data (unused) |
318 </dd> |
318 </dd> |
319 <dt><i>data</i> (str)</dt> |
319 <dt><i>data</i> (str)</dt> |
320 <dd> |
320 <dd> |
321 persisted data to be parsed |
321 persisted data to be parsed |
322 </dd> |
322 </dd> |