예제 #1
0
 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();
 }
예제 #2
0
        //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();
        }
예제 #3
0
        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();
        }