public User getUser() { if (user == null && !user_id.equals("")) { User sp = new User(debug, user_id); String back = sp.doSelect(); if (back.equals("")) { user = sp; } } return user; }
public void setUser(User val) { if (val != null) { user = val; user_id = user.getId(); } }