/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="code">Code representing the medium of instruction.</param> /// public MediumOfInstruction(MediumOfInstructionCode code) : base(StudentDTD.MEDIUMOFINSTRUCTION) { this.SetCode(code); }
/// <summary> /// Sets the value of the <c>Code</c> attribute. /// </summary> /// <param name="val">A MediumOfInstructionCode object</param> /// <remarks> /// <para>The SIF specification defines the meaning of this attribute as: "Code representing the medium of instruction."</para> /// <para>Version: 2.6</para> /// <para>Since: 1.1</para> /// </remarks> public void SetCode(MediumOfInstructionCode val) { SetField(StudentDTD.MEDIUMOFINSTRUCTION_CODE, val); }
///<summary>Sets the value of the <c><MediumOfInstruction></c> element.</summary> /// <param name="Code">Code representing the medium of instruction.</param> ///<remarks> /// <para>This form of <c>setMediumOfInstruction</c> is provided as a convenience method /// that is functionally equivalent to the <c>MediumOfInstruction</c></para> /// <para>Version: 2.6</para> /// <para>Since: 1.1</para> /// </remarks> public void SetMediumOfInstruction(MediumOfInstructionCode Code) { RemoveChild(StudentDTD.SECTIONINFO_MEDIUMOFINSTRUCTION); AddChild(StudentDTD.SECTIONINFO_MEDIUMOFINSTRUCTION, new MediumOfInstruction(Code)); }
///<summary>Sets the value of the <c><MediumOfInstruction></c> element.</summary> /// <param name="Code">Code representing the medium of instruction.</param> ///<remarks> /// <para>This form of <c>setMediumOfInstruction</c> is provided as a convenience method /// that is functionally equivalent to the <c>MediumOfInstruction</c></para> /// <para>Version: 2.6</para> /// <para>Since: 2.4</para> /// </remarks> public void SetMediumOfInstruction( MediumOfInstructionCode Code ) { RemoveChild( EtranscriptsDTD.SECTIONINFODATA_MEDIUMOFINSTRUCTION); AddChild( EtranscriptsDTD.SECTIONINFODATA_MEDIUMOFINSTRUCTION, new MediumOfInstruction( Code ) ); }
///<summary>Sets the value of the <c><MediumOfInstruction></c> element.</summary> /// <param name="Code">Code representing the medium of instruction.</param> ///<remarks> /// <para>This form of <c>setMediumOfInstruction</c> is provided as a convenience method /// that is functionally equivalent to the <c>MediumOfInstruction</c></para> /// <para>Version: 2.6</para> /// <para>Since: 1.1</para> /// </remarks> public void SetMediumOfInstruction( MediumOfInstructionCode Code ) { RemoveChild( StudentDTD.SECTIONINFO_MEDIUMOFINSTRUCTION); AddChild( StudentDTD.SECTIONINFO_MEDIUMOFINSTRUCTION, new MediumOfInstruction( Code ) ); }
/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="code">Code representing the medium of instruction.</param> /// public MediumOfInstruction( MediumOfInstructionCode code ) : base(StudentDTD.MEDIUMOFINSTRUCTION) { this.SetCode( code ); }
/// <summary> /// Sets the value of the <c>Code</c> attribute. /// </summary> /// <param name="val">A MediumOfInstructionCode object</param> /// <remarks> /// <para>The SIF specification defines the meaning of this attribute as: "Code representing the medium of instruction."</para> /// <para>Version: 2.6</para> /// <para>Since: 1.1</para> /// </remarks> public void SetCode( MediumOfInstructionCode val ) { SetField( StudentDTD.MEDIUMOFINSTRUCTION_CODE, val ); }