Book a Demo

Author Topic: UML Profile--  (Read 3884 times)

themiyac

  • EA User
  • **
  • Posts: 26
  • Karma: +0/-0
    • View Profile
UML Profile--
« on: August 05, 2015, 11:36:49 pm »
Is there a way that I can access the UML Profile located under project resources using the EA Java API?

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: UML Profile--
« Reply #1 on: August 06, 2015, 12:12:07 am »
Nope. Except you know where the XML was stored and read that by hand.

q.

themiyac

  • EA User
  • **
  • Posts: 26
  • Karma: +0/-0
    • View Profile
Re: UML Profile--
« Reply #2 on: August 06, 2015, 12:17:36 am »
How can I get to know through the API if a particular Profile was applied successfully?

themiyac

  • EA User
  • **
  • Posts: 26
  • Karma: +0/-0
    • View Profile
Re: UML Profile--
« Reply #3 on: August 06, 2015, 12:20:54 am »
Also I have a Element with a Stereotype Applied from a Particular Profile that I have Applied. How can I get the name of that profile from the API?

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: UML Profile--
« Reply #4 on: August 06, 2015, 04:04:57 am »
a) use Repository.IsTechnologyEnabled (string ID)

b) I guess you need to dive into t_xref. If you have elements from a MDG ou will find entries like @STEREO;Name=BPELProcess;FQName=BPMN2.0::BPELProcess;@ENDSTEREO in the Description. Name contains Stereotypes and Client the guid of the element.

q.