package mmw_annotation { class AnnotationModel extends WModel { -- @subsets ownedElement reference contents[*] ordered container : Annotation; -- @subsets wovenModel reference referencedModel container : AnnotatedModel; } -- @welementRefType AnnotatedModelElementRef class AnnotatedModel extends WModelRef { } -- @wmodelRefType AnnotatedModel class AnnotatedModelElementRef extends WElementRef{ } class Annotation extends WLink { reference properties[*] ordered container : Property; -- @subsets end reference annotatedModelElement container : AnnotatedModelElement; } class AnnotatedModelElement extends WLinkEnd { } class Property { attribute key : String; attribute value : String; } }