Book a Demo

Author Topic: When I need PDATA fields in table  t_object  (Read 17864 times)

dangel

  • EA User
  • **
  • Posts: 74
  • Karma: +0/-0
    • View Profile
When I need PDATA fields in table  t_object
« on: January 19, 2015, 05:25:35 am »
Actually I have doubt when these field can be used {PDATA1,PDATA2,PDATA3,PDATA4,PDATA5}

I am using now PDATA4 to find a relation between two relations using {note}
but is it enough, or shall I include all fields {1....5} to bring the reference of the {Note} object ?

Thank you
 :)

MMA

  • EA User
  • **
  • Posts: 63
  • Karma: +3/-0
    • View Profile
Re: When I need PDATA fields in table  t_object
« Reply #1 on: January 19, 2015, 10:28:47 am »
1. "when these field can be used {PDATA1,PDATA2,PDATA3,PDATA4,PDATA5}?"
Depends on the context.
I think it is pure EA's implementation matters.

2. "is it enough?"
If you are happy with the result, then yes.

3. "shall I include all fields {1....5}?"
No. I believe in most of the context, one single PDATA should be enough.

Hope that helps  ;)

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: When I need PDATA fields in table  t_object
« Reply #2 on: January 19, 2015, 06:48:09 pm »
You should only use them in the way EA uses them, and not touch them in any other way.

EA sometimes puts information in one of these pdata fields. If you have figured out that is where EA stores the info you are after then you can use it that way.

You should never use them in any other way.

Geert

dangel

  • EA User
  • **
  • Posts: 74
  • Karma: +0/-0
    • View Profile
Re: When I need PDATA fields in table  t_object
« Reply #3 on: January 19, 2015, 08:32:38 pm »
Thanks for your explanation, but my question is if you take a look at a relation between two relations like picture bellow.
Then I found only {PDATA4} is used to describe the reference to the fields those are parties to that {note/constraint}
The question is: Do  I expect another fields which might hold some information for another relations or are the rest of {1...5} is used for something that might I do not know about it yet.


Regards,

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: When I need PDATA fields in table  t_object
« Reply #4 on: January 19, 2015, 08:38:13 pm »
If you found a specific usage as you described then you can expect EA to always put that type of information in that same field (PDATA4)
In other circumstances EA might use this field, or any of the other PDATA field to store other information.

EA even often uses one field to store different types of information, usually using a set of key=value pairs separated by ";".

Geert

dangel

  • EA User
  • **
  • Posts: 74
  • Karma: +0/-0
    • View Profile
Re: When I need PDATA fields in table  t_object
« Reply #5 on: January 19, 2015, 08:39:07 pm »
Great ,  Thank you  :)