Hi guys,


Some very basic questions...



I am modelling my domain model and trying to generate using the Hibernate 
cartridge. I am getting the following problem when compiling the generated 
classes:



NegotiationConversation.java:37: llegal start of expression

            return newInstance(        }



This is inside the newInstance(NegotiationConversation otherObject) method. 
NegotiationConversation is stereotyped to an embedded value. I am also getting 
this error for any other embedded value that has no attributes - even though 
they have associations...



Is this a modelling issue or a template issue?



Secondly, I have another question - how does an association to a Class and an 
attribute of type Class differ in the generated code? Is there a preferred 
approach here?



Thirdly,  I have read in another thread that it is not supported for Entities 
to Realize interfaces. Does this also stand for Embedded Values? Can an Entity 
reference an interface which is Realized by Embedded Values?



Thanks in advance,

m.
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=1722#1722
Posting to http://forum.andromda.org/ is preferred over posting to the mailing 
list!


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Andromda-user mailing list
Andromda-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to