Skip to content
Snippets Groups Projects
Select Git revision
  • 404ad99ecf5b65e07d3c55f6be3f6caac572e17a
  • main default protected
  • revert-94d44b4b
3 results

nanosoc_demo1.py

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;
        }
    }