Hi,
I have an abstract entity bean class that have a string member named user:
private String user;
public String getUser(){
return user;
}
In one of the subclasses I want to override the getUser method to do the following:
public String getUser(){
if (user == null){
return "nullUser";
}
reutrn user;
}
I'm receiveing an Exception from jboss that I cannot override this method.
Is it allowed to override bean getters? what is the correct way to do it?
thanks
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4240541#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...