public Object getAsActualType(String s) throws PropertyException { if (s.equals("email")) { return user.getEmail(); } else if (s.equals("fullName")) { return user.getName(); } else { return ps.getAsActualType(s); } }
public String getString(String s) throws PropertyException { if (s.equals("email")) { return user.getEmail(); } else if (s.equals("fullName")) { return user.getName(); } else { return ps.getString(s); } }