Book a Demo

Author Topic: UML Profiles and class operations  (Read 3258 times)

Gibbo

  • EA Novice
  • *
  • Posts: 18
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
UML Profiles and class operations
« on: October 30, 2006, 03:25:53 am »
Is there a way of creating a UML profile that enables me to drag on a class that has predefined methods?  I've checked out the help, but I can only find a way of doing it for attributes ( appearing as tagged values ).

Thanks for any help

peter.zrnko

  • EA User
  • **
  • Posts: 253
  • Karma: +0/-0
    • View Profile
Re: UML Profiles and class operations
« Reply #1 on: October 30, 2006, 04:12:30 am »
What you can do with a profile, is to create an element with predefined tags. You can't have predefined attributes or methods.

These predefined tagged values are defined as attributes (not attributes as tags, but tags as attributes).
Peter

Gibbo

  • EA Novice
  • *
  • Posts: 18
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: UML Profiles and class operations
« Reply #2 on: October 30, 2006, 07:25:37 am »
Ok that makes sense.  Is there another way of doing this?  

peter.zrnko

  • EA User
  • **
  • Posts: 253
  • Karma: +0/-0
    • View Profile
Re: UML Profiles and class operations
« Reply #3 on: October 30, 2006, 07:44:51 am »
You can make a package with your default classes. Every class with default attribute and default methods. You can use these default classes by copying them (Paste as new).

If you want this package to be public (for other projects), export it to xmi (or version control it).

I didn't used patterns until now, maybe this could be another option.
Peter

Gibbo

  • EA Novice
  • *
  • Posts: 18
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: UML Profiles and class operations
« Reply #4 on: October 30, 2006, 09:13:40 am »
Thanks Peter

Best Regards