I have a SessionManager class, that I create objects of in every class a user needs to be logged in to reach I am unsure of the type of relationship created here as I seem to have confused myself with all of the definitions online. I am trying to create a UML class diagram representing all of the classes in my application. Would this be an Aggregation relationship or simply an associated relationship?
I have no classes that extend each other as I have made an Android app that uses intents to pass from activity to activity, I'm simply creating objects of some classes in other classes.
Additionally, is there any way to represent an intent on a UML class diagram?
Creating SessionManager Object:
SessionManager sessionManager;
Using checkLogin() method from SessionManagerClass in onCreate method:
sessionManager = new SessionManager(this);
sessionManager.checkLogin();