If you move an element into a newly added package, or rename an element in the source code (class, class attribute, or interface), the element is treated as if it were newly added.
如果您将一个元素移动到一个新添加的包中时,或者将源代码中元素(类,类属性,或者接口)重命名时,元素就像它是新添加的那样进行处理。
Just like you can rename a UML package in the mapping model to generate a differently named folder, you can map a UML class to a differently named file.
比如,您可以改变uml包的名称,生成另外命名的文件夹;您也可以将一个UM l类映射为另外命名的文件。
Here is the error Python gives when we rename the Foo class and then try to load a previously pickled Foo instance.
这里有一个Python发出错误消息的示例,当我们重命名foo类,然后试图装入先前进行过pickle的foo实例时会发生该错误。
应用推荐