class relationship UML for login and user classes

network_sat

Estimable
Jul 10, 2015
8
0
4,510
0
Suppose I have two classes: login and user

and the scenario is like this: if user enters a command xxx then he will be able to add new user or if he enters command yyy he will be able to login with name and password.

Should I put user object in login class then as every login can have many users but every user can have only one login?

what about the add new user scenario?

thanks
 

network_sat

Estimable
Jul 10, 2015
8
0
4,510
0
stop spying as usual, if you do not answer or don't have an answer don't bother to comment. It is not matter of study to answer this question, as it is analytical not text book signature lesson...

 
Thread starter Similar threads Forum Replies Date
M Apps General Discussion 1
E Apps General Discussion 2
H Apps General Discussion 3
RainOfPain125 Apps General Discussion 5
L Apps General Discussion 3
B Apps General Discussion 1
Y Apps General Discussion 1
E Apps General Discussion 2
Y Apps General Discussion 4
G Apps General Discussion 4
S Apps General Discussion 1
C Apps General Discussion 14
viveknayyar007 Apps General Discussion 0
BackInBlack47 Apps General Discussion 1
R Apps General Discussion 3
G Apps General Discussion 9
B Apps General Discussion 5
Z Apps General Discussion 3
B Apps General Discussion 4
D Apps General Discussion 3

ASK THE COMMUNITY

TRENDING THREADS