public Id getIndex(Integer id) { return new Id(intValue()); }
Where the class Id is the following:
public class Id {
private int id; public Id(Integer x) {
id = x.intValue();
} public int getId() {
return id;
} public void setX(Integer x) {
} public void setY(Integer y) {
}
}That gets rid of all your classes and gives you the same result.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

