/// <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><StaffActivity></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 ) ); }
/// <summary> /// Sets the value of the <c><Code></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 ); }
/// <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); }