The metamodel itself is very simple, and its role is also very clear. The metamodel is used to define class models. For example, the metamodel can be used to define models such as stools, animals, and people. Since the class model is defined by the metamodel, the structure of the class model can be explained by the metamodel, and the metamodel has the ability to explain the class model.
The particularity of the metamodel is that it can be used to define itself, that is, the metamodel can explain itself, plus any object model can be explained by its class model, and the class model can be explained by the metamodel, so the metamodel can directly or indirectly explain any object model.
The self-explanatory ability of the metamodel may have certain significance in language and cognition, such as the coincidence between the metamodel and "Laozi" and "God".
Lao Tzu said "The beginning of the nameless world is the mother of all things with names", and "Tao gave birth to one, one gave birth to two, two gave birth to three, and three gave birth to all things".
In the above, the metamodel is this one, and the core function of the metamodel is naming. Using object language to explain, the metamodel is used to generate classes, and objects can be generated through classes, and objects are all things that make up the system. Therefore, the metamodel and object language just correspond to the above two sentences of Lao Tzu.
Based on the above functions of metamodel and the relationship between metamodel and 'Tao', it can be found that metamodel has the properties of 'God'.
Copyright © 2007-2019 XWorker.org 版权所有 沪ICP备08000575号