Hello to all AndroMDA developers,

IMO, it is actually important to use <<entity>> instead of <<Entity>>
as this is the instance of the <<stereotype>> Entity. (Instances should
be written in lower case. Remember the definition of:
M3 (MOF meta metamodel) -> MOF Class, MOF Attribute, etc.
M2 (instance of MOF meta metamodel = UML metamodel) -> UML Class, UML
   Attribute, etc.
   <<metaclass>> Class -> <<stereotype>> Entity
M1 (instance of M2 = UML model) -> <<class>> "Customer" ->
   <<entity>> Customer => because "Entity" class in M2
   should be instantiated into "entity" (M1 is not in the
   same level as M2).
M0 (instance of M1 = instance of UML model) -> Object
   myCustomer :Customer = "Lofi", "Mr. X", etc.

Check this OMG spec document:
http://www.omg.org/cgi-bin/apps/doc?ptc/03-09-15.pdf

As I searched on this topic, I just cannot find any hints or
standardizations. Some use <<Entity>> others use <<entity>>.
Only the specification document above tells the way how to define
your UML profiles and how to use them in your diagram.

If you see the other profiles like EJB profile, CORBA profile,
etc. they also don't use lower case: instead <<eJBHome>> or <<ejbHome>>
from EJBHome or EjbHome respectively they use <<EJBHome>>. This is actually very sad because these profiles are coming from OMG itself :-(


A general idea is actually to use this comment:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg00417.html

So, you can define your own stereotype "lowercase or uppercase"
without having to change the stereotype names...

To Rudie, who wrote the idea above:
I would like to have your example implementation. I think this is
a very good idea to make the templates more reusable. I cannot imagine
if you have to change every <<Entity>> into <<entity>> or vice versa
in your UML models ;-)

Thanks a lot!
--
---------------------------------------------------
Blasius Lofi Dewanto
---------------------------------------------------
OpenUSS - Open University Support System
http://openuss.sourceforge.net
---------------------------------------------------
E-Mail   : [EMAIL PROTECTED]
ICQ      : 39343280
---------------------------------------------------





-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Andromda-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-devel

Reply via email to