umlrdfclass-diagram

In the UML diagram, in the Class diagram, what does stereotype mean <<compound>>?


I'm looking at the Class diagram and creating an instance in RDF/XML format. For example, suppose you model a banking system. This system has an Account Class and had <<Compound>> stereotype. This class has owner, balance, account_Number as its attributes. There is another class, Bank Class.

What does a Bank Class mean if it has an account: Account [0..1] as an attribute and how does it represent it as an instance?

Here's my guess. But this is clearly outside the RDF standard.

<cim:Bank rdf:ID="495151912155">
<cim:Bank.account>
    <owner>Bill</owner>
    <balance>9,005,000</balance>
    <account_Number>20-021-154-3214</account_Number>
</cim:Bank.account>
</cim:Bank>

Solution

  • Without further ado: «compound» is neither an UML defined stereotype nor keyword. So it must belong to a specific profile. You need to ask the model author which profile has been used and depending on the answer you might get a picture of what has been meant.