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