/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="startDate">The start date from which this version is valid.</param> ///<param name="grades">A Grades</param> /// public GradeSet( DateTime? startDate, Grade grades ) : base(AssessmentDTD.GRADESET) { this.StartDate = startDate; this.Grades = new Grades( grades ); }
///<summary>Sets the value of the <c><Grades></c> element.</summary> /// <param name="Grade">A Grade</param> ///<remarks> /// <para>This form of <c>setGrades</c> is provided as a convenience method /// that is functionally equivalent to the <c>Grades</c></para> /// <para>Version: 2.6</para> /// <para>Since: 2.1</para> /// </remarks> public void SetGrades( Grade Grade ) { RemoveChild( AssessmentDTD.GRADESET_GRADES); AddChild( AssessmentDTD.GRADESET_GRADES, new Grades( Grade ) ); }
/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="startDate">The start date from which this version is valid.</param> ///<param name="grades">A Grades</param> /// public GradeSet(DateTime?startDate, Grade grades) : base(AssessmentDTD.GRADESET) { this.StartDate = startDate; this.Grades = new Grades(grades); }
///<summary>Adds the value of the <c><GradeSet></c> element.</summary> /// <param name="StartDate">The start date from which this version is valid.</param> /// <param name="Grades">A Grades</param> ///<remarks> /// <para>This form of <c>setGradeSet</c> is provided as a convenience method /// that is functionally equivalent to the method <c>AddGradeSet</c></para> /// <para>Version: 2.6</para> /// <para>Since: 2.1</para> /// </remarks> public void AddGradeSet(DateTime?StartDate, Grade Grades) { AddChild(AssessmentDTD.GRADESETS_GRADESET, new GradeSet(StartDate, Grades)); }
///<summary>Sets the value of the <c><Grades></c> element.</summary> /// <param name="Grade">A Grade</param> ///<remarks> /// <para>This form of <c>setGrades</c> is provided as a convenience method /// that is functionally equivalent to the <c>Grades</c></para> /// <para>Version: 2.6</para> /// <para>Since: 2.1</para> /// </remarks> public void SetGrades(Grade Grade) { RemoveChild(AssessmentDTD.GRADESET_GRADES); AddChild(AssessmentDTD.GRADESET_GRADES, new Grades(Grade)); }