code: public void setActivities(java.util.Collection<ActivityListItem> activities) {
          if (activities == null) {
              this.activities = null;
              return;
          }
  
          this.activities = new java.util.ArrayList<ActivityListItem>(activities);
      }
docs: <p>
  The list of activities.
  </p>
  
  @param activities
  The list of activities.