#593 Add AnnotatedObject to CIF metamodel and Declaration extends it
-
AnnotatedObject
is similar toPositionObject
. It is a base class for all annotated objects.AnnotatedObject
extendsPositionObject
. -
Declaration
now extendsAnnotatedObject
instead ofPositionObject
. I wanted to do this forInputVariable
. Ecore supports multiple inheritance (Declaration
andAnnotatedObject
), but our own tooling (such as LaTeX generation) don't support it. - Added a metamodel constraint that we only allow it for input variables, for now.
- Best to review per commit.
Addresses #593 (closed)