Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: Modesto Vega on July 12, 2023, 02:13:29 am

Title: Component State
Post by: Modesto Vega on July 12, 2023, 02:13:29 am
I know the state of an interface or a class can be modelled using UML state diagrams. But, does anybody know if any modelling language or framework supports doing the same with a component - i.e., a modular part of a system that encapsulates its contents?
Title: Re: Component State
Post by: Richard Freggi on July 12, 2023, 02:41:57 am
mmmmmyes afaik in UML 2.5 a component is just a class.  Whatever a class can do, a component can.
But I dont' know about Sparx implementation, never tried it (but I have used component objects as participants in sequence diagrams)
Title: Re: Component State
Post by: Modesto Vega on July 13, 2023, 05:57:09 pm
Thanks Richard, I did not have time to check the specification. I will try and update the thread with the results.