Пример #1
0
 /// <summary>
 /// Sets the value of the <c>&lt;Code&gt;</c> element.
 /// </summary>
 /// <param name="val">A AttendanceCodeType object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this element as: "Code representing the absence/attendance."</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.3</para>
 /// </remarks>
 public void SetCode(AttendanceCodeType val)
 {
     SetField(CommonDTD.ATTENDANCECODE_CODE, val);
 }
Пример #2
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="code">Code representing the absence/attendance.</param>
 ///
 public AttendanceCode(AttendanceCodeType code) : base(CommonDTD.ATTENDANCECODE)
 {
     this.SetCode(code);
 }
 ///<summary>Sets the value of the <c>&lt;AttendanceCode&gt;</c> element.</summary>
 /// <param name="Code">Code representing the absence/attendance.</param>
 ///<remarks>
 /// <para>This form of <c>setAttendanceCode</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>AttendanceCode</c></para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 2.3</para>
 /// </remarks>
 public void SetAttendanceCode( AttendanceCodeType Code )
 {
     RemoveChild( StudentDTD.STUDENTDAILYATTENDANCE_ATTENDANCECODE);
     AddChild( StudentDTD.STUDENTDAILYATTENDANCE_ATTENDANCECODE, new AttendanceCode( Code ) );
 }
 ///<summary>Sets the value of the <c>&lt;AttendanceCode&gt;</c> element.</summary>
 /// <param name="Code">Code representing the absence/attendance.</param>
 ///<remarks>
 /// <para>This form of <c>setAttendanceCode</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>AttendanceCode</c></para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 2.3</para>
 /// </remarks>
 public void SetAttendanceCode( AttendanceCodeType Code )
 {
     RemoveChild( GradebookDTD.STUDENTPERIODATTENDANCE_ATTENDANCECODE);
     AddChild( GradebookDTD.STUDENTPERIODATTENDANCE_ATTENDANCECODE, new AttendanceCode( Code ) );
 }
Пример #5
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="code">Code representing the absence/attendance.</param>
 ///
 public AttendanceCode( AttendanceCodeType code )
     : base(CommonDTD.ATTENDANCECODE)
 {
     this.SetCode( code );
 }
Пример #6
0
 /// <summary>
 /// Sets the value of the <c>&lt;Code&gt;</c> element.
 /// </summary>
 /// <param name="val">A AttendanceCodeType object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this element as: "Code representing the absence/attendance."</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.3</para>
 /// </remarks>
 public void SetCode( AttendanceCodeType val )
 {
     SetField( CommonDTD.ATTENDANCECODE_CODE, val );
 }