Ejemplo n.º 1
0
 /// <summary>
 /// Sets the value of the <c>&lt;Code&gt;</c> element.
 /// </summary>
 /// <param name="val">A EndCode 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( EndCode val )
 {
     SetField( SchoolDTD.END_CODE, val );
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="code">Code representing the year level.</param>
 ///
 public End( EndCode code )
     : base(SchoolDTD.END)
 {
     this.SetCode( code );
 }
Ejemplo n.º 3
0
 ///<summary>Sets the value of the <c>&lt;End&gt;</c> element.</summary>
 /// <param name="Code">Code representing the year level.</param>
 ///<remarks>
 /// <para>This form of <c>setEnd</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>End</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.3</para>
 /// </remarks>
 public void SetEnd( EndCode Code )
 {
     RemoveChild( SchoolDTD.ACADEMICYEARRANGE_END);
     AddChild( SchoolDTD.ACADEMICYEARRANGE_END, new End( Code ) );
 }