Book a Demo

Author Topic: Applying stereotype to composition (profiles)  (Read 4291 times)

sbaishya

  • EA User
  • **
  • Posts: 29
  • Karma: +0/-0
    • View Profile
Applying stereotype to composition (profiles)
« on: June 11, 2002, 04:37:37 am »
When using profiles, what is the correct typeto apply a stereotype to in order to apply it to a composition?

I have tried 'composition', 'composite', and 'compose' but this doesn't work.

Thanks,

Stephen

gsparks

  • EA User
  • **
  • Posts: 325
  • Karma: +0/-0
  • I love YaBB 1 Gold!
    • View Profile
Re: Applying stereotype to composition (profiles)
« Reply #1 on: June 12, 2002, 03:29:33 am »
Hi Stephen,

The following examples demonstrate how to do this:

<!-- <<Aggregation>> -->
<Stereotype name="aggregationLink" type="weak" notes="" >
     <AppliesTo>
           <Apply type="aggregation"/>
     </AppliesTo>
</Stereotype>

 <!-- <<Composition>> -->
<Stereotype name="compositionLink" type="strong" notes="" >
     <AppliesTo>
           <Apply type="aggregation"/>
     </AppliesTo>
</Stereotype>



Cheers,
Geoff Sparks

sbaishya

  • EA User
  • **
  • Posts: 29
  • Karma: +0/-0
    • View Profile
Re: Applying stereotype to composition (profiles)
« Reply #2 on: June 12, 2002, 03:42:49 am »
Thanks Geoff!

Stephen