package org.slc.sli.test.edfi.entities.relations;

import java.util.ArrayList;
import java.util.List;

public final class AssessmentMeta {

    public final String id;
    public final List<String> objectiveAssessmentIds;
    public final List<String> assessmentItemIds;
    public final List<String> performanceLevelDescriptorIds;
    public String assessmentFamilyId;
    public String assessmentPeriodDescriptorId;

    private AssessmentMeta(String id) {
        this.id = id;
        this.objectiveAssessmentIds = new ArrayList<String>();
        this.assessmentItemIds = new ArrayList<String>();
        this.performanceLevelDescriptorIds = new ArrayList<String>();
    }

    public static AssessmentMeta create(String id) {
        return new AssessmentMeta(id);
    }

    @Override
    public String toString() {
        return "AssessmentMeta [id=" + id + ", objectiveAssessmentIds=" + objectiveAssessmentIds
                + ", assessmentItemIds=" + assessmentItemIds + ", performanceLevelDescriptorIds="
                + performanceLevelDescriptorIds + ", assessmentFamilyId=" + assessmentFamilyId
                + ", assessmentPeriodDescriptorId=" + assessmentPeriodDescriptorId + "]";
    }

}

@@ -410,16 +410,58 @@
 iptorId;
+%0A    public final List%3CString%3E sectionIds;
 %0A%0A    pr
@@ -703,24 +703,75 @@
 %3CString%3E();%0A
+        this.sectionIds = new ArrayList%3CString%3E();%0A
     %7D%0A%0A    p
@@ -1283,16 +1283,47 @@
 ptorId +
+ %22, sectionIds=%22 + sectionIds +
  %22%5D%22;%0A  

add list for references to sections