/// <summary> /// Sets the value of the <c><AreaAuthorized></c> element. /// </summary> /// <param name="val">A TeachingArea object</param> /// <remarks> /// <para>The SIF specification defines the meaning of this element as: "Area in which employee has certification"</para> /// <para>Version: 2.6</para> /// <para>Since: 1.5r1</para> /// </remarks> public void SetAreaAuthorized( TeachingArea val ) { SetField( ProfdevDTD.CERTIFICATION_AREAAUTHORIZED, val ); }
/// <summary> /// Sets the value of the <c>Code</c> attribute. /// </summary> /// <param name="val">A TeachingArea object</param> /// <remarks> /// <para>The SIF specification defines the meaning of this attribute as: "Code representing the type of teaching assignment."</para> /// <para>Version: 2.6</para> /// <para>Since: 1.5r1</para> /// </remarks> public void SetCode(TeachingArea val) { SetField(StudentDTD.TEACHINGASSIGNMENT_CODE, val); }
///<summary>Sets the value of the <c><TeachingAssignment></c> element.</summary> /// <param name="Code">Code representing the type of teaching assignment.</param> ///<remarks> /// <para>This form of <c>setTeachingAssignment</c> is provided as a convenience method /// that is functionally equivalent to the <c>TeachingAssignment</c></para> /// <para>Version: 2.6</para> /// <para>Since: 1.5r1</para> /// </remarks> public void SetTeachingAssignment(TeachingArea Code) { RemoveChild(StudentDTD.STAFFASSIGNMENT_TEACHINGASSIGNMENT); AddChild(StudentDTD.STAFFASSIGNMENT_TEACHINGASSIGNMENT, new TeachingAssignment(Code)); }
/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="code">Code representing the type of teaching assignment.</param> /// public TeachingAssignment(TeachingArea code) : base(StudentDTD.TEACHINGASSIGNMENT) { this.SetCode(code); }