List<ActivityGroup> releaseActivityGroups = project
.getProjectType().getReleaseActivityGroups();
for (ProjectRelease projectRelease : project
.getProjectReleases()) {
for (ActivityGroup releaseActivityGroup : releaseActivityGroups) {
ActivityGroupView activityGroupView = new ActivityGroupView();
activityGroupView.setProjectRelease(projectRelease);
activityGroupView
.setActivityGroup(releaseActivityGroup);
activityGroupViews.add(activityGroupView);
}
}
} else {
ActivityGroupView activityGroupView = new ActivityGroupView();
activityGroupView.setActivityGroup(activityGroup);
activityGroupViews.add(activityGroupView);
}
}
// this.activityGroupViews = activityGroupViews;