Book a Demo

Author Topic: Customize Generalization template in profile  (Read 3209 times)

Luc De Graef

  • EA Novice
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
Customize Generalization template in profile
« on: January 07, 2013, 11:53:52 pm »
Hello,

(Working with EA 935)
I am able to create a profile with a stereotype 'value object' extending the metaclass Class.
How can I create in this profile a stereotype 'Generalization', that contains an additional property for storing the mapping type?
- what is the MetaClass to be used (Generalization)?
- what is the name of the stereotype (Generalization)?
- how to apply this to an existing connector.

Code: [Select]
<Stereotype name="Generalization" notes="" cx="90" cy="70" bgcolor="-1" fontcolor="16711680" bordercolor="16711680" borderwidth="1" hideicon="0">
      <AppliesTo>
            <Apply type="Generalization">
                  <Property name="direction" value="Source -&gt; Destination"/>
                  <Property name="isSubstitutable" value=""/>
            </Apply>
      </AppliesTo>
      <TaggedValues>
            <Tag name="type" type="enumeration" description="" unit="" values="SingleTable,Concrete,Joined" default=""/>
      </TaggedValues>
</Stereotype>

Regards
Luc