The fixed version of the oaw-uml2-adapter can handle unknown stereotypes.
Default behavior is to throw an exception. But now you can configure, to
drop the unknown stereotypes.
I already extended the Hibernate Cartridge. So now the hibernate Cartridge
can handle multiple (partially unknown) Stereotypes.
If you calling the Hibernate Cartridge with, for the Cartridge unknown
Stereotypes, the Cartridge will drop them, instead of throwing an exception.
If you want to extend your Cartridge the same way, do the following:
Extend the profile bean by the property errorIfStereotypeMissing and set it
to false (oAW-default is true).
Snipped of the Hibernate Cartridge workflow file:
<bean id="mm_hibernate_profile"
class="org.openarchitectureware.uml2.profile.ProfileMetaModel">
<profile value="${profile.persistence.file}"/>
<errorIfStereotypeMissing
value="${hibernate.cartridge.errorIfStereotypeMissing}"/>
</bean>
--
View this message in context:
http://www.nabble.com/Usage-of-Multible-%28partially-unknown%29-Stereotypes-tf3817521s17564.html#a10807587
Sent from the Fornax-Platform mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Fornax-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fornax-developer