AADL equivelant of an UML Interface

32 views
Skip to first unread message

MSE

unread,
Jul 4, 2022, 12:08:59 PM7/4/22
to OSATE
What is the equivalent construct in AADL for a UML interface with attributes?

For example, given an <<interface>> Interface_A with three attributes of type uint32, would you model it as a data abstraction in AADL? Or would it be like a port group? Below is my guess.

data Interface_A
end Interface_A;

data implementation Interface_A.i
subcomponents
x: data uint32;
y: data uint32;
z: data uint32;
end Interface_A.i


+---------------------+
|    <<interface>>    |
|     Interface_A     |
+---------------------+
| +x: uint32          |
| +y: uint32          |
| +z: uint32          |
+---------------------+

Sam Procter

unread,
Jul 6, 2022, 10:09:57 AM7/6/22
to OSATE
Hello,

I think your guess looks reasonable, though it's hard to pass much judgement without knowing what you want to use the AADL for. UML is, of course, good at a different set of things than AADL, so if you're trying to get AADL to do the same thing as UML it will always be a little bit awkward. That's ok, but it will be less awkward if you have a specific tool or set of requirements that you're targeting.

- Sam
Reply all
Reply to author
Forward
0 new messages