///<summary>Sets the value of the <c>&lt;JobFunction&gt;</c> element.</summary>
 /// <param name="Code">Code representing the type of job function.</param>
 ///<remarks>
 /// <para>This form of <c>setJobFunction</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>JobFunction</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 1.5r1</para>
 /// </remarks>
 public void SetJobFunction( JobFunctionCode Code )
 {
     RemoveChild( ProfdevDTD.EMPLASSIGNMENT_JOBFUNCTION);
     AddChild( ProfdevDTD.EMPLASSIGNMENT_JOBFUNCTION, new JobFunction( Code ) );
 }
Example #2
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="code">Code representing the type of job function.</param>
 ///
 public JobFunction( JobFunctionCode code )
     : base(CommonDTD.JOBFUNCTION)
 {
     this.SetCode( code );
 }
Example #3
0
 ///<summary>Sets the value of the <c>&lt;JobFunction&gt;</c> element.</summary>
 /// <param name="Code">Code representing the type of job function.</param>
 ///<remarks>
 /// <para>This form of <c>setJobFunction</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>JobFunction</c></para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 1.5r1</para>
 /// </remarks>
 public void SetJobFunction( JobFunctionCode Code )
 {
     RemoveChild( HrfinDTD.TIMEWORKED_JOBFUNCTION);
     AddChild( HrfinDTD.TIMEWORKED_JOBFUNCTION, new JobFunction( Code ) );
 }
Example #4
0
 /// <summary>
 /// Sets the value of the <c>Code</c> attribute.
 /// </summary>
 /// <param name="val">A JobFunctionCode object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this attribute as: "Code representing the type of job function."</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 1.5r1</para>
 /// </remarks>
 public void SetCode( JobFunctionCode val )
 {
     SetField( CommonDTD.JOBFUNCTION_CODE, val );
 }
 ///<summary>Sets the value of the <c>&lt;JobFunction&gt;</c> element.</summary>
 /// <param name="Code">Code representing the type of job function.</param>
 ///<remarks>
 /// <para>This form of <c>setJobFunction</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>JobFunction</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 1.5r1</para>
 /// </remarks>
 public void SetJobFunction( JobFunctionCode Code )
 {
     RemoveChild( StudentDTD.STAFFASSIGNMENT_JOBFUNCTION);
     AddChild( StudentDTD.STAFFASSIGNMENT_JOBFUNCTION, new JobFunction( Code ) );
 }