Hi,
I am trying to use Sculptor to generate CRUD classes as described in the
advanced tutorial.
I noticed that for the member variable specified as a key  within the
entity, the setter is private.

I assume it is for immutability after creation, but, in my application I
should still be able to change the key attribute using the Entity bean in
JSF beans.
For ex,
in the below :
        Entity Library {
          String name key
       } 
the generated signature for name in LibraryBase is private void
setName(String name)

I know I can change the name variable,by changing the method signature in
LibraryBase. But,this file is regenerated everytime I do a clean install and
I assume that that is not the way it is to be done it. 
What is the best practice to be able to modify these Base classes if the
member variable is private

Thanks,
MS
-- 
View this message in context: 
http://www.nabble.com/Hibernate-mapping-in-Sculptor-tp14729015s17564p14729015.html
Sent from the Fornax-Platform mailing list archive at Nabble.com.


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Fornax-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fornax-developer

Reply via email to