After reading the offending sections in the reference manual I'm not sure I understand the difference between the two.. From the reference manual, here is what I found :
- In section I.4.2 I don't see any formal description of what an Interface is -- just this comment : "Since we are describing a generic interface (which may or may not turn to be an entity) we will use an Interface keyword."
- In section I.4.6 I see the following description of a Component which makes sense : "A component is a data structure which is intended to be inlined in other components or entities. Like enti- ties and interfaces, you can define properties and behaviour in a component. A component cannot live by itself. It is an elegant mean to factor common data and behaviour into higher level model parts."
However, without a better understanding of what an interface really is and perhaps when it should be used over a Component, I'm not sure which I should use.. Can someone clue me in please? Thx!!
P.S. I'll update the docs with whatever I find out..
