예제 #1
0
 /// <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 );
 }
예제 #2
0
 /// <summary>
 /// Sets the value of the <c>&lt;AreaAuthorized&gt;</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.5</para>
 /// <para>Since: 1.5r1</para>
 /// </remarks>
 public void SetAreaAuthorized( TeachingArea val )
 {
     SetField( ProfdevDTD.CERTIFICATION_AREAAUTHORIZED, val );
 }
예제 #3
0
 /// <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.5</para>
 /// <para>Since: 1.5r1</para>
 /// </remarks>
 public void SetCode( TeachingArea val )
 {
     SetField( StudentDTD.TEACHINGASSIGNMENT_CODE, val );
 }
예제 #4
0
 ///<summary>Sets the value of the <c>&lt;TeachingAssignment&gt;</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 ) );
 }