Book a Demo

Author Topic: profile enumerations  (Read 3335 times)

sff

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
profile enumerations
« on: April 22, 2014, 12:08:59 am »
I've been scouring the api reference for a way to do the following, gone through a lot of forum posts looking for anything similar as well as looked at the sql tables behind the repo for clues, but I have not run across anything yet. I am using the java api, and I would like to find a way to:
  • programmatically access an enumeration defined in a profile to get a list of its enum values, or maybe get a list of the allowed enum values for a tagged value whose type is an enumeration defined in a profile? The profile's enums don't show up in PropertyTypes/t_propertytypes and you need an instance to find anything in t_objectproperties. This seems to be where I should be looking as I can't find anything else in the api or in the sql tables.
  • get a list of the stereotypes associated with a specific profile? I see the mechanism to get a list of the stereotypes, but I don't see a way to determine what profile they are part of.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: profile enumerations
« Reply #1 on: April 22, 2014, 11:03:25 am »
I don't think that there's any way to access profiles/technologies from the automation interface, and in most cases these aren't imported into the model at all so a SQL query will not return it.

shimon

  • EA User
  • **
  • Posts: 172
  • Karma: +6/-0
    • View Profile
Re: profile enumerations
« Reply #2 on: May 15, 2014, 04:44:26 pm »
This may be a little off topic, but is the possibility of establishing a set of values for a specific tagged value new in EA?
I just saw it in the Webinar on BPMN, and was searching the forum for some hint as how to do this.