Klaus Schultz wrote:
Are you saying instead of having a bunch of tagged values, we have a
single tagged value that points to an XML configuration file that
contains all the necessary tagged-value-like configuration information?
No, what I mean is: the user can mark e.g. an association end with a tagged value which is not fully defined in AndroMDA, only the namespace is known to AndroMDA. Recognizing @passthru.hibernate, AndroMDA would passthru the value in the hbm.xml
There would be AndroMDA managed tagged values like today, but also "unmanaged" tagged values.
Ah ok I see what you mean....however then that means these things are
used from the hbm.xml file directly and not used from within the
metafacades (which we try to avoid). Are you saying that people would
use when they modify the templates and want to override them with the
mergeLocation?
Klaus
Chad Brandon <[EMAIL PROTECTED]> schrieb am 26.04.05 17:35:17:
Klaus Schultz wrote:
Hello all,
Hibernate has really a lot of XML-attributes for defining classes, their associations and their
properties, some very essential, some more for fine-tuning. Regarding the attributes not derivable
from the UML model like e.g. "lazy" or "batch" for assocation fetching, is the
only way to handle that: define a bunch of tagged values? Even worse, define a property for the
default-level and a tagged value for the individual level of class, association end, attribute?
Since AndroMDA has not the philosophy of editing the PSM, and I also cannot
imagine a practicable solution with mergepoints, it seems so. But defining only
tagged values to pass them thru to the XML is a waste of work. And there will
be always users who want more (HIB-90, HIB-72, HIB-61, HIB-27, ...)
What about a possibility for the AndroMDA users to mark an associaton end or an attribute
or a class with a tagged value of a "user namespace" and AndroMDA only passes
it thru to the XML definition? The user would be responsible for its correctness, not
AndroMDA. Let AndroMDA derive artefacts from the PIM, do things where logic is involved,
or things which are not 1:1 isomorph with an associaton end /attribute /class.
Are you saying instead of having a bunch of tagged values, we have a
single tagged value that points to an XML configuration file that
contains all the necessary tagged-value-like configuration information?
This might look like this:
@passthru.hibernate.lazy=true
instead of
@andromda.hibernate.lazy=true
In a tool like MagicDraw, the user can easily define it's own profile for these
hibernate attributes.
This proposal might be a new idea how to work with AndroMDA. The user has a lot
of possibilities with this open source tool, he can write own cartidges, he can
change things in java- or velocity-code (if he knows how to do it right), but
perhaps sometimes he needs only a small possibility to intervene, to mix some
PSM into the model.
What do you mean?
Klaus
__________________________________________________________
Mit WEB.DE FreePhone mit hoechster Qualitaet ab 0 Ct./Min.
weltweit telefonieren! http://freephone.web.de/?mc=021201
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Andromda-devel mailing list
Andromda-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/andromda-devel
______________________________________________________________
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193
-------------------------------------------------------
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix
_______________________________________________
Andromda-devel mailing list
Andromda-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/andromda-devel