Skip to content
Snippets Groups Projects
Select Git revision
  • c72cd8b6a72935df67e500f320a0ba3addc969ee
  • master default protected
  • Mobile-app-UI
3 results

Activity.java

Blame
  • Activity.java 695 B
    import java.util.ArrayList;
    
    public abstract class Activity {
    //    private String type;
        private String title;
        protected ArrayList<Group> groups;
        private String description;
        private User host;
    
        public Activity (/*String type,*/ String title, String description, User host){
            /*this.type = type;*/
            this.title = title;
            this.description = description;
            this.host = host;
            groups = new ArrayList<Group>();
        }
    
        ArrayList<Group> getGroups(){
            return groups;
        }
    
        String getTitle(){
            return title;
        }
    
        User getHost(){
            return host;
        }
    
        String getDescription(){
            return description;
        }
    }