Book a Demo

Author Topic: Create Actor instance from profile  (Read 7312 times)

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Create Actor instance from profile
« on: September 25, 2019, 06:30:11 pm »
When extending a stereotype to Actor it will create an actor. Fine. But is it somehow possible to create an instance of an actor directly?

q.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Create Actor instance from profile
« Reply #1 on: September 26, 2019, 09:09:31 am »
I don't think it's possible in EA. Any actor in EA can be converted to an instance by setting a classifier. Equally, an actor without a classifier is a classifier.

Then again, I don't think it's possible in UML either. An instance gains the notation of its classifier, an instance without a classifier has the default notation of a box.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Create Actor instance from profile
« Reply #2 on: September 26, 2019, 05:36:33 pm »
There's that length instance thread which I should have followed. But EA allows to create an Object element which has no classifier.

Yeah, that pulled the trigger. I created an instance of an actor which made a small stickman appear (which I wanted to have). But once I removed the classifier it transform into a box. So I probably will have a stereotyped object to do the job.

Thanks for clarifying this!

q.