Methods and systems for generating a unified metadata model
Systems and methods for generating a unified metadata model, that includes selecting a first source metadata model, copying a first class, from the first source metadata model, to a first modified metadata model using a unified metadata mapping, and after copying the first class, selecting a second source metadata model, copying a second class, from the second source metadata model, to a second modified metadata model using the unified metadata mapping, and creating the unified metadata model using the first modified metadata model and the second modified metadata model.
1. A method for generating a unified metadata model, performed using a computing device comprising a memory and a processor, wherein the method comprises:
selecting a first source metadata model;
copying a first class, from the first source metadata model, to a first modified metadata model using a unified metadata mapping;
after copying the first class:
selecting a second source metadata model;
copying a second class, from the second source metadata model, to a second modified metadata model using the unified metadata mapping; and
creating the unified metadata model using the first modified metadata model and the second modified metadata model;
prior to selecting the first source metadata model, generating the unified metadata mapping, wherein generating the unified metadata mapping comprises:
generating a first mapping entry, in the unified metadata mapping, that maps the first class to a third class of the unified metadata model; and
after generating the first mapping entry:
selecting the second class;
making a first determination that the second class is associated with the first class; and
based on the first determination:
making a second determination that a second source property of a second plurality of properties of the second class is duplicative of a first source property of a first plurality of properties of the first class;
making a third determination that a third source property of the second plurality of properties of the second class is not duplicative of any of the first plurality of properties of the first class; and
generating, based on the third determination, a second mapping entry, in the unified metadata mapping, that maps the third source property to a unified property in the third class of the unified metadata model.
2. The method of claim 1 , wherein creating the unified metadata model comprises:
merging the first modified metadata model with the second modified metadata model.
3. The method of claim 2 , wherein merging the first modified metadata model with the second modified metadata model comprises:
copying the first plurality of properties of the first class to the third class of the unified metadata model; and
copying the third source property to the third class of the unified metadata model.
4. The method of claim 1 , wherein making the first determination that the second class is associated with the first class comprises:
performing a lookup, in an association list, to identify an association between the first class and the second class.
5. The method of claim 4 , wherein prior to generating the unified metadata mapping, the method further comprises:
generating the association list.
6. The method of claim 5 , wherein generating the association list comprises:
selecting, from the first source metadata model, the first class;
making a fourth determination that the second class of the second source metadata model is similar to the first class; and
based on the fourth determination:
storing, in the association list, an entry associating the first class and the second class.
7. A non-transitory computer readable medium comprising instructions which, when executed by a computer processor, enables the computer processor to perform a method for generating a unified metadata model, comprising:
selecting a first source metadata model;
copying a first class, from the first source metadata model, to a first modified metadata model using a unified metadata mapping;
after copying the first class:
selecting a second source metadata model;
copying a second class, from the second source metadata model, to a second modified metadata model using the unified metadata mapping; and
creating the unified metadata model using the first modified metadata model and the second modified metadata model;
prior to selecting the first source metadata model, generating the unified metadata mapping, wherein generating the unified metadata mapping comprises:
generating a first mapping entry, in the unified metadata mapping, that maps the first class to a third class; and
after generating the first mapping entry:
selecting the second class;
making a first determination that the second class is associated with the first class; and
based on the first determination:
making a second determination that a second source property of a second plurality of properties of the second class is duplicative of a first source property of a first plurality of properties of the first class;
making a third determination that a third source property of the second plurality of properties of the second class is not duplicative of any of the first plurality of properties of the first class; and
generating, based on the third determination, a second mapping entry, in the unified metadata mapping, that maps the third source property to a unified property in the third class of the unified metadata model.
8. The non-transitory computer readable medium of claim 7 , wherein creating the unified metadata model comprises:
merging the first modified metadata model with the second modified metadata model.
9. The non-transitory computer readable medium of claim 8 , wherein merging the first modified metadata model with the second modified metadata model comprises:
copying the first plurality of properties of the first class to the third class of the unified metadata model; and
copying the third source property to the third class of the unified metadata model.
10. The non-transitory computer readable medium of claim 7 , wherein making the first determination that the second class is associated with the first class comprises:
performing a lookup, in an association list, to identify an association between the first class and the second class.
11. The non-transitory computer readable medium of claim 10 , wherein prior to generating the unified metadata mapping, the method further comprises:
generating the association list.
12. The non-transitory computer readable medium of claim 11 , wherein generating the association list comprises:
selecting, from the first source metadata model, the first class;
making a fourth determination that the second class of the second source metadata model is similar to the first class; and
based on the fourth determination:
storing, in the association list, an entry associating the first class and the second class.
13. A computing device, comprising:
memory; and
a processor, wherein the processor is configured to perform a method for generating a unified metadata model, comprising:
selecting a first source metadata model;
copying a first class, from the first source metadata model, to a first modified metadata model using a unified metadata mapping;
after copying the first class:
selecting a second source metadata model;
copying a second class, from the second source metadata model, to a second modified metadata model using the unified metadata mapping; and
creating the unified metadata model using the first modified metadata model and the second modified metadata model;
prior to selecting the first source metadata model, generating the unified metadata mapping, wherein generating the unified metadata mapping comprises:
generating a first mapping entry, in the unified metadata mapping, that maps the first class to a third class; and
after generating the first mapping entry:
selecting the second class;
making a first determination that the second class is associated with the first class; and
based on the first determination:
making a second determination that a second source property of a second plurality of properties of the second class is duplicative of a first source property of a first plurality of properties of the first class;
making a third determination that a third source property of the second plurality of properties of the second class is not duplicative of any of the first plurality of properties of the first class; and
generating, based on the third determination, a second mapping entry, in the unified metadata mapping, that maps the third source property to a unified property in the third class of the unified metadata model.
14. The computing device of claim 13 , wherein creating the unified metadata model comprises: merging the first modified metadata model with the second modified metadata model.