multiple 'primitive types' [message #5342] |
Tue, 13 February 2007 14:36  |
Eclipse User |
|
|
|
Originally posted by: chaves.inf.ufsc.nospam.br
I noticed that there two families of primitive types defined in OCL for
UML2: one in ocl-uml::types (PrimitiveInteger, PrimitiveBoolean, etc)
and another in oclstdlib (Integer, Boolean, etc).
Is this something mandated by the UML/OCL specs? If not, what is the
rationale behind this design decision (IOW: what is each group for)?
Thanks!
Rafael
|
|
|
Re: multiple 'primitive types' [message #5393 is a reply to message #5342] |
Tue, 13 February 2007 18:19   |
Eclipse User |
|
|
|
Originally posted by: cdamus.ca.ibm.com
Hi, Rafael,
Where do you find the ocl-uml::types package? As far as I can see in the
org.eclipse.ocl.uml package, the only primitive types that are defined are
those in the oclstdlib.uml library model. OCL only defines the
PrimitiveType metaclass, of which the oclstdlib Integer, Boolean, etc. are
instances.
Which build do you have?
Cheers,
Christian
Rafael Chaves wrote:
> I noticed that there two families of primitive types defined in OCL for
> UML2: one in ocl-uml::types (PrimitiveInteger, PrimitiveBoolean, etc)
> and another in oclstdlib (Integer, Boolean, etc).
>
> Is this something mandated by the UML/OCL specs? If not, what is the
> rationale behind this design decision (IOW: what is each group for)?
>
> Thanks!
>
> Rafael
|
|
|
|
Re: multiple 'primitive types' [message #6916 is a reply to message #6893] |
Wed, 14 February 2007 08:53  |
Eclipse User |
|
|
|
Originally posted by: cdamus.ca.ibm.com
Hi, Rafael,
I think I know what has happened. That I-build has a version of the
OCLUML.uml that isn't yet ready for consumption. The latest available OCL
build has an OCLUML.uml that corresponds better with OCLUML.ecore.
However, I learned just yesterday that the Ecore-to-UML mapping for EMF
2.3's generics is in doubt, so probably the latest OCLUML.uml isn't
actually a valid UML model (it is generated from the OCLUML.ecore; in M6 I
plan to do it the other way around). So, depending on how you are using
it, you may want to take care for now.
HTH,
Christian
Rafael Chaves wrote:
> Hi Christian,
>
> I have build I200702011837. The model containing the ocl-uml::types
> package is OCLUML.uml (in org.eclipse.ocl.uml_1.1.0.v200702011837.jar).
>
> So should I just ignore that file?
>
> Thanks,
>
> Rafael
|
|
|
Powered by
FUDForum. Page generated in 0.03372 seconds