示例#1
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="code">A Code</param>
 ///
 public StaffActivity( AUCodeSetsStaffActivityType code )
     : base(StudentDTD.STAFFACTIVITY)
 {
     this.SetCode( code );
 }
 ///<summary>Sets the value of the <c>&lt;StaffActivity&gt;</c> element.</summary>
 /// <param name="Code">A Code</param>
 ///<remarks>
 /// <para>This form of <c>setStaffActivity</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>StaffActivity</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.4</para>
 /// </remarks>
 public void SetStaffActivity( AUCodeSetsStaffActivityType Code )
 {
     RemoveChild( StudentDTD.STAFFASSIGNMENT_STAFFACTIVITY);
     AddChild( StudentDTD.STAFFASSIGNMENT_STAFFACTIVITY, new StaffActivity( Code ) );
 }
示例#3
0
 /// <summary>
 /// Sets the value of the <c>&lt;Code&gt;</c> element.
 /// </summary>
 /// <param name="val">A AUCodeSetsStaffActivityType object</param>
 /// <remarks>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.4</para>
 /// </remarks>
 public void SetCode( AUCodeSetsStaffActivityType val )
 {
     SetField( StudentDTD.STAFFACTIVITY_CODE, val );
 }
示例#4
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="code">A Code</param>
 ///
 public StaffActivity(AUCodeSetsStaffActivityType code) : base(StudentDTD.STAFFACTIVITY)
 {
     this.SetCode(code);
 }