public ActiveUser(User copyingUser) { userId = copyingUser.getUserId(); userName = copyingUser.getUserName(); name = copyingUser.getName(); matricNo = copyingUser.getMatricNo(); password = copyingUser.getPW(); email = copyingUser.getEmail(); age = copyingUser.getAge(); loggedIn = copyingUser.getLoggedIn(); contactHome = copyingUser.getContactHome(); contactHP = copyingUser.getContactHP(); }
//Constructor public Facilitator(User copyingUser) { userId = copyingUser.getUserId(); userName = copyingUser.getUserName(); name = copyingUser.getName(); matricNo = copyingUser.getMatricNo(); password = copyingUser.getPW(); email = copyingUser.getEmail(); age = copyingUser.getAge(); loggedIn = copyingUser.getLoggedIn(); contactHome = copyingUser.getContactHome(); contactHP = copyingUser.getContactHP(); loadAllJoinedEvents(); }
public Participant(User copyingUser) { userId = copyingUser.getUserId(); userName = copyingUser.getUserName(); name = copyingUser.getName(); matricNo = copyingUser.getMatricNo(); password = copyingUser.getPW(); email = copyingUser.getEmail(); age = copyingUser.getAge(); loggedIn = copyingUser.getLoggedIn(); contactHome = copyingUser.getContactHome(); contactHP = copyingUser.getContactHP(); loadAllRegisteredEvents(); }