Author Topic: Component State  (Read 1657 times)

Modesto Vega

  • EA Practitioner
  • ***
  • Posts: 1028
  • Karma: +28/-8
    • View Profile
Component State
« 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?

Richard Freggi

  • EA User
  • **
  • Posts: 476
  • Karma: +18/-7
    • View Profile
Re: Component State
« Reply #1 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)

Modesto Vega

  • EA Practitioner
  • ***
  • Posts: 1028
  • Karma: +28/-8
    • View Profile
Re: Component State
« Reply #2 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.