At first in Sculptor 1.6 when Entity attribute is set as !changeable NO setter is generated. In documentation http://fornax.itemis.de/confluence/display/fornax/3.+Advanced+Tutorial+%28CSC%29#3.AdvancedTutorial%28CSC%29-Changeable is written that private setter is generated. Mistake in doc or in implementation?
Second: Isn't more logical to generate setter method as protected instead of private? Entity implementation can sometimes change this value but from outside is still unchangeable. I guess it's not violating encapsulation. To maybe give more light to my problem. I want have 'status' field which is changed by calling method makeTransition(...). And I don't want to allow direct change of attribute. It's little bit of problem because also hibernate is calling setStatus and I have to somehow recognize who is calling it if I want fire exception in setStatus function. Regards Pavel ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Fornax-developer mailing list Fornax-developer@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fornax-developer