예제 #1
0
 /// <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 );
 }
예제 #2
0
 ///<summary>Sets the value of the <c>&lt;Grades&gt;</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 ) );
 }
예제 #3
0
 /// <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);
 }
예제 #4
0
 ///<summary>Adds the value of the <c>&lt;GradeSet&gt;</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));
 }
예제 #5
0
 ///<summary>Sets the value of the <c>&lt;Grades&gt;</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));
 }