It is currently not possible to do this. I'm not sure how complicated it
would be to implement this, but my feeling is that it is a limitation that
most people can live with.
How would we name things in the database?
/Patrik
amphoras wrote:
>
> Hi,
>
> I have two modules: ModuleA and ModuleB.
>
> ModuleA has a class named Foo.
> ModuleB has a class named Foo.
>
> (This is allowed in Java and does make sense in some situations).
>
> ModuleC uses classes in ModuleA and ModuleB. And there is a class named
> Bar that references Foo defined as follows:
>
> ValueObject Bar {
> - @Foo foo
> }
>
> I know which Foo I want, and I would like to specify it, but Sculptor's
> syntax does not allow me to use the full class name or specify something
> like "ModuleA.Foo". So then it seems like the reference gets resolved
> somewhat randomly. It appears that sometimes I get the one from ModuleA
> and sometimes I get the one from ModuleB. How do I specify the one that I
> want?
>
> In case it matters, the modules are in different .design files and I'm
> using the "import" statement to find the domain objects.
>
> Thanks,
> Polly
>
--
View this message in context:
http://www.nabble.com/-Sculptor--resolving-references-to-domain-objects-with-same-name-in-different-modules-tp19152982s17564p19156008.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