Hello Darius,
thanks for your quick answer. 

Darius Jockel wrote:
> 
> what about to overwrite the extension:
> org::fornax::cartridges::uml::javabasic::m2t::DataType::isSet(uml::MultiplicityElement
> element)
> 
> If the new implementation return false allways a list should be generated.
> 
You probably mean ...::uml2::... or? Thanks for the hint, I didn't know that
there is this extension. 



> You can do this in a non invasive way by using aop.
> 
The advantage of using aop would be that I don't have to change the code (of
the extension) every time I'm updating the cartridge version (under the
assumption that it uses a new version of the javabasic cartridge as well)
right? I've seen uses of aop in cartridges at some places, but I have to get
a bit more familiar with it in order to do it on my own ;) Wouldn't that
approach include writing my own cartridge, which basically "wraps" the
existing (javabasic) cartridge? 




> Or you can use the preProcessor (or a own component) to write a model to
> model transformation. 
> Set all relevant order or unique properties.
> 
Thats what I meant with the transformation (my second thought), but I have
to change the javabasic cartridge anyway, therefore I think I'll choose your
first or second approach mentioned.



> Did I help you?
> 
> Regards
> Darius
> 
Yes! Thank you very much.

Regards
Tom
-- 
View this message in context: 
http://www.nabble.com/Hibernate---Always-generate-List--tp22929008s17564p22946571.html
Sent from the Fornax-Platform mailing list archive at Nabble.com.


------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Fornax-developer mailing list
Fornax-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fornax-developer

Reply via email to