Hello,

I have a big problem with the Spring Cartridge. After the
Model-Transformation DaoTransformation::modify in the Spring Cartridge all
<<Field>>-Properties are lost in the model.
You can check this if you add an additional UML2Writer before the
Model-Transformation in the spring.oaw file (see below) and compare the
model/dump1/data.uml with the normal model/dump/data.uml. In my model all
properties in the <<Entity>> classes are lost which are not annotated with
<<Key>>, also the association properties are lost.

Model Example:

Before Transformation:
<<Entity>> Article:
<<Key>> <<Property>> id: long
<<Field>> <<Property>> name: String
<<Field>> <<Property>> supplier: Supplier [0..1]

After Transformation:
<<Entity>> Article:
<<Key>> <<Property>> id: long

Thanx for help...

Nils


spring.oaw:
<!--The Check component. The checks provided by the Spring cartridge are
invoked here-->
 <component class="org.openarchitectureware.check.CheckComponent">
...
 </component>
 
 <component id="UML2Writer"
class="org.openarchitectureware.uml2.UML2Writer">
  <inputSlot value="model"/>
  <outPath value="model/dump1/"/>
 </component>

 <!--Invokes the model modification.
  The extension calles is ModelTransformation::modify
  The output slot is an empty slot-->
 <component class="org.openarchitectureware.xtend.XtendComponent">
...
</component>
-- 
View this message in context: 
http://www.nabble.com/-Spring-Cartridge--Lost-Properties-after-Model-Transformation-tp19050639s17564p19050639.html
Sent from the Fornax-Platform mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fornax-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fornax-developer

Reply via email to