Menu

#2 Can't have isXXX() and getXXX() where one is abstract

XORM_Beta
open
Core (4)
3
2003-04-09
2003-04-09
Wes Biggs
No

An error occurs when XORM attempts to deal with the
mapping for an abstract class defined with

public abstract String getSomething();

public boolean isSomething() {
return "y".equals(getSomething());
}

This happens because org.xorm.util.PropertyDescriptor
gets confused about what's abstract and what's not.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB