/// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="refId">The ID (GUID) that uniquely identifies this AttendanceCodeInfo entity.</param>
 ///<param name="schoolInfoRefId">The ID (GUID) that identifies the school where the attendance code is used.</param>
 ///<param name="attendanceCode">Locally defined code for attendance.</param>
 ///<param name="attendanceType">Type of attendance code.</param>
 ///<param name="attendanceStatus">Excused status of the attendance code.</param>
 ///
 public AttendanceCodeInfo( string refId, string schoolInfoRefId, string attendanceCode, AttendanceType attendanceType, AttendanceStatus attendanceStatus )
     : base(Adk.SifVersion, StudentDTD.ATTENDANCECODEINFO)
 {
     this.RefId = refId;
     this.SchoolInfoRefId = schoolInfoRefId;
     this.AttendanceCode = attendanceCode;
     this.SetAttendanceType( attendanceType );
     this.SetAttendanceStatus( attendanceStatus );
 }
示例#2
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="refId">The ID (GUID) that uniquely identifies this AttendanceCodeInfo entity.</param>
 ///<param name="schoolInfoRefId">The ID (GUID) that identifies the school where the attendance code is used.</param>
 ///<param name="attendanceCode">Locally defined code for attendance.</param>
 ///<param name="attendanceType">Type of attendance code.</param>
 ///<param name="attendanceStatus">Excused status of the attendance code.</param>
 ///
 public AttendanceCodeInfo(string refId, string schoolInfoRefId, string attendanceCode, AttendanceType attendanceType, AttendanceStatus attendanceStatus) : base(Adk.SifVersion, StudentDTD.ATTENDANCECODEINFO)
 {
     this.RefId           = refId;
     this.SchoolInfoRefId = schoolInfoRefId;
     this.AttendanceCode  = attendanceCode;
     this.SetAttendanceType(attendanceType);
     this.SetAttendanceStatus(attendanceStatus);
 }
示例#3
0
 /// <summary>
 /// Sets the value of the <c>&lt;AttendanceStatus&gt;</c> element.
 /// </summary>
 /// <param name="val">A AttendanceStatus object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this element as: "Excused status of the attendance code."</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 1.1</para>
 /// </remarks>
 public void SetAttendanceStatus(AttendanceStatus val)
 {
     SetField(StudentDTD.ATTENDANCECODEINFO_ATTENDANCESTATUS, val);
 }
 /// <summary>
 /// Sets the value of the <c>&lt;AttendanceStatus&gt;</c> element.
 /// </summary>
 /// <param name="val">A AttendanceStatus object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this element as: "Excused status of the attendance code."</para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 1.1</para>
 /// </remarks>
 public void SetAttendanceStatus( AttendanceStatus val )
 {
     SetField( StudentDTD.ATTENDANCECODEINFO_ATTENDANCESTATUS, val );
 }