[jboss-user] [JBoss Seam] - Re: Why a STATIC RESTRICTIONS in Seam-gen EntityQuery?

2008-02-13 Thread mars1412
IMO: it's static because you want to make it a class-variable (NOT instance variable) it's final, because you will never change it anonymous wrote : | The only place currently reffering to this attribute is within the class itself (getRestrictions).That's why it is private View the original

[jboss-user] [JBoss Seam] - Re: Why a STATIC RESTRICTIONS in Seam-gen EntityQuery?

2008-02-13 Thread boevink
mars1412 wrote : IMO: | it's static because you want to make it a class-variable (NOT instance variable) | it's final, because you will never change it | anonymous wrote : | | The only place currently reffering to this attribute is within the class itself (getRestrictions).That's why

[jboss-user] [JBoss Seam] - Re: Why a STATIC RESTRICTIONS in Seam-gen EntityQuery?

2008-02-13 Thread mars1412
http://java.sun.com/docs/books/tutorial/java/javaOO/classvars.html BTW: that's plain java - nothing to do with seam View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129156#4129156 Reply to the post :