예제 #1
0
 /// <summary>
 /// Sets the value of the <c>&lt;Code&gt;</c> element.
 /// </summary>
 /// <param name="val">A AcademicYearCode object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this element as: "Code representing the year level."</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.3</para>
 /// </remarks>
 public void SetCode(AcademicYearCode val)
 {
     SetField(SchoolDTD.ACADEMICYEAR_CODE, val);
 }
예제 #2
0
 ///<summary>Sets the value of the <c>&lt;AcademicYear&gt;</c> element.</summary>
 /// <param name="Code">Code representing the year level.</param>
 ///<remarks>
 /// <para>This form of <c>setAcademicYear</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>AcademicYear</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.3</para>
 /// </remarks>
 public void SetAcademicYear(AcademicYearCode Code)
 {
     RemoveChild(SchoolDTD.TIMETABLESUBJECT_ACADEMICYEAR);
     AddChild(SchoolDTD.TIMETABLESUBJECT_ACADEMICYEAR, new AcademicYear(Code));
 }
예제 #3
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="code">Code representing the year level.</param>
 ///
 public AcademicYear(AcademicYearCode code) : base(SchoolDTD.ACADEMICYEAR)
 {
     this.SetCode(code);
 }