/// <summary> /// Sets the value of the <c><Code></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 ); }
/// <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 ); }
///<summary>Sets the value of the <c><End></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 ) ); }