/// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="refId">The ID (GUID) assigned to uniquely identify this attendance record.</param>
 ///<param name="learnerPersonalRefId">The ID (GUID) of the learner for which this attendance mark is recorded.</param>
 ///<param name="schoolInfoRefId">The school where the attendance mark was taken.</param>
 ///<param name="attendanceDate">The date of the attendance period.</param>
 ///<param name="attendanceDomain">The attendance type.</param>
 ///<param name="attendanceCode">The attendance mark/code.</param>
 ///<param name="inputSource">The source of the attendance record data.  Could be Workforce member, biometric device, or other.</param>
 ///
 public LearnerAttendance( string refId, string learnerPersonalRefId, string schoolInfoRefId, DateTime? attendanceDate, AttendanceDomain attendanceDomain, AttendanceCodeType attendanceCode, AttendanceSourceType inputSource )
     : base(Adk.SifVersion, LearnerDTD.LEARNERATTENDANCE)
 {
     this.RefId = refId;
     this.LearnerPersonalRefId = learnerPersonalRefId;
     this.SchoolInfoRefId = schoolInfoRefId;
     this.AttendanceDate = attendanceDate;
     this.SetAttendanceDomain( attendanceDomain );
     this.SetAttendanceCode( attendanceCode );
     this.SetInputSource( inputSource );
 }
Beispiel #2
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="refId">The ID (GUID) assigned to uniquely identify this attendance record.</param>
 ///<param name="learnerPersonalRefId">The ID (GUID) of the learner for which this attendance mark is recorded.</param>
 ///<param name="schoolInfoRefId">The school where the attendance mark was taken.</param>
 ///<param name="attendanceDate">The date of the attendance period.</param>
 ///<param name="attendanceDomain">The attendance type.</param>
 ///<param name="attendanceCode">The attendance mark/code.</param>
 ///<param name="inputSource">The source of the attendance record data.  Could be Workforce member, biometric device, or other.</param>
 ///
 public LearnerAttendance(string refId, string learnerPersonalRefId, string schoolInfoRefId, DateTime?attendanceDate, AttendanceDomain attendanceDomain, AttendanceCodeType attendanceCode, AttendanceSourceType inputSource) : base(Adk.SifVersion, LearnerDTD.LEARNERATTENDANCE)
 {
     this.RefId = refId;
     this.LearnerPersonalRefId = learnerPersonalRefId;
     this.SchoolInfoRefId      = schoolInfoRefId;
     this.AttendanceDate       = attendanceDate;
     this.SetAttendanceDomain(attendanceDomain);
     this.SetAttendanceCode(attendanceCode);
     this.SetInputSource(inputSource);
 }
Beispiel #3
0
 /// <summary>
 /// Sets the value of the <c>&lt;AttendanceDomain&gt;</c> element.
 /// </summary>
 /// <param name="val">A AttendanceDomain object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this element as: "The attendance type."</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.1</para>
 /// </remarks>
 public void SetAttendanceDomain(AttendanceDomain val)
 {
     SetField(LearnerDTD.LEARNERATTENDANCE_ATTENDANCEDOMAIN, val);
 }
 /// <summary>
 /// Sets the value of the <c>&lt;AttendanceDomain&gt;</c> element.
 /// </summary>
 /// <param name="val">A AttendanceDomain object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this element as: "The attendance type."</para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 2.1</para>
 /// </remarks>
 public void SetAttendanceDomain( AttendanceDomain val )
 {
     SetField( LearnerDTD.LEARNERATTENDANCE_ATTENDANCEDOMAIN, val );
 }