Author Topic: PIM and attribute data types  (Read 1438 times)

Tom G

  • EA Novice
  • *
  • Posts: 15
  • Karma: +0/-0
    • View Profile
PIM and attribute data types
« on: August 16, 2007, 02:04:48 am »
Hi,

If you want to create a platform independent model which data types should you use for the attributes ?

If you set the "language" of the class to "none" which I would prefer in a PIM, you only have a very limited list of default types. Of course I could create my own basic types as classes in my model but this does not seem to be the right way to work or is it ?

Thanks,
Tom

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 6248
  • Karma: +104/-89
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: PIM and attribute data types
« Reply #1 on: August 16, 2007, 03:36:59 am »
Hi Tom,

At the CIM and PIM levels (and above) we use a special purpose languages  "Conceptual" and "Independent" - actually we haven't implemented "Independent" yet...  ;)

However, Conceptual has data types like Real, Integer, String etc

We have been developing a set of Domain Independent datatypes and domains and may include those also... Things such as: URI, DriveBasedFileLocator etc...

At the PIM level, we might have types such as TinyInteger, LargeReal etc...

HTH,
Paolo
[size=0]©2007 Paolo Cantoni, -Semantica-[/size]
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

frankk

  • EA User
  • **
  • Posts: 96
  • Karma: +0/-0
    • View Profile
Re: PIM and attribute data types
« Reply #2 on: August 16, 2007, 10:10:33 am »
Paolo,

I like the idea of 'Conceptual'. How/where is this implemented?

Frank

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 6248
  • Karma: +104/-89
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: PIM and attribute data types
« Reply #3 on: August 16, 2007, 01:49:39 pm »
Quote
Paolo,

I like the idea of 'Conceptual'. How/where is this implemented?

Frank
Hi Frank,

Start at: Settings...|Code Datatypes...|[Add Product]

From memory, you need to add at least one actual datatype for the new Product name to "stick".

HTH,
Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Tom G

  • EA Novice
  • *
  • Posts: 15
  • Karma: +0/-0
    • View Profile
Re: PIM and attribute data types
« Reply #4 on: August 17, 2007, 02:10:49 am »
Thanks Paolo.

That's right, if you don't add at least one datatype the "custom" product is removed from the list.

What I don't understand is that EA really advocates MDA, PIM and the other reutemeteut - that's Dutch slang for "related things" :) - but does not deliver "out-of-the-box" the products/datatypes to create these in a natural way. Or am I missing something ?

Anyway, does there exist a standardized list of basic "conceptual" datatypes ? I can make up a list of course but would definitely prefer a standard.

Another thing I don't get is the "Common Type" thing in EA. Does anyone knows how it is used ? I have looked for a clear description but can't find it... Why is it not a fixed list of datatypes ? I would assume it to be the list of basic datatypes I am looking for but it is not !

Kr,
Tom

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: PIM and attribute data types
« Reply #5 on: August 17, 2007, 02:40:21 am »
If you mean "Primitive Types" then check out the UML Superstructure specification at OMG.

You might also want to look at MDA stuff from the same source.

David
No, you can't have it!

frankk

  • EA User
  • **
  • Posts: 96
  • Karma: +0/-0
    • View Profile
Re: PIM and attribute data types
« Reply #6 on: August 17, 2007, 06:40:42 am »
Thank you :-)