Select Git revision
Activity.java
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;
}
}