Using EAnnotation in ecore

Can someone explain the use of EAnnotation in ecore, in terms of its specific fields (i.e. Source, Details, EModel Element, Content and Recommendations). I looked at its API here , but could not get much from there.

I am looking for a kind of guide to explain with an example what the purpose of creating annotations with such fields in ecore is.

+4
source share
1 answer

I asked this question on the Eclipse EMF forum and here is the answer . There is also an answer to this question here. .

: , EAnnotations Ecore , Ecore . , OCLInECore OCL genmodel ..

. URI, .

- (, ) . , .

( ):

EModel, "EAnnotation EModelElement, . , .. "

EAnnotations . , , XyzPackageImpl, , GenPackage " "..."

. "EAnnotations . , ... "

+5

All Articles