/// <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="studentPersonalRefId">The ID (GUID) of the student for whom this attendance information is being reported.</param>
 ///<param name="schoolInfoRefId">The ID (GUID) of the school for which this attendance information is being reported.</param>
 ///<param name="date">The calendar date to which this attendance information relates.</param>
 ///<param name="schoolYear">A SchoolYear</param>
 ///<param name="attendanceCode">An AttendanceCode</param>
 ///<param name="attendanceStatus">Approved or Unapproved status of this attendance code.</param>
 ///
 public StudentDailyAttendance( string refId, string studentPersonalRefId, string schoolInfoRefId, DateTime? date, int? schoolYear, AttendanceCode attendanceCode, AttendanceStatusType attendanceStatus )
     : base(Adk.SifVersion, StudentDTD.STUDENTDAILYATTENDANCE)
 {
     this.RefId = refId;
     this.StudentPersonalRefId = studentPersonalRefId;
     this.SchoolInfoRefId = schoolInfoRefId;
     this.Date = date;
     this.SchoolYear = schoolYear;
     this.AttendanceCode = attendanceCode;
     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>
 ///<param name="usedForDailyAttendance">Is this attendance code used for daily attendance?</param>
 ///<param name="usedForPeriodAttendance">Is this attendance code used for period attendance?</param>
 ///
 public AttendanceCodeInfo( string refId, string schoolInfoRefId, string attendanceCode, AttendanceType attendanceType, AttendanceStatusType attendanceStatus, AUCodeSetsYesOrNoCategoryType usedForDailyAttendance, AUCodeSetsYesOrNoCategoryType usedForPeriodAttendance )
     : base(Adk.SifVersion, StudentDTD.ATTENDANCECODEINFO)
 {
     this.RefId = refId;
     this.SchoolInfoRefId = schoolInfoRefId;
     this.AttendanceCode = attendanceCode;
     this.SetAttendanceType( attendanceType );
     this.SetAttendanceStatus( attendanceStatus );
     this.SetUsedForDailyAttendance( usedForDailyAttendance );
     this.SetUsedForPeriodAttendance( usedForPeriodAttendance );
 }
 /// <summary>
 /// Sets the value of the <c>&lt;AttendanceStatus&gt;</c> element.
 /// </summary>
 /// <param name="val">A AttendanceStatusType object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this element as: "Approved or Unapproved status of this attendance code."</para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 2.3</para>
 /// </remarks>
 public void SetAttendanceStatus( AttendanceStatusType val )
 {
     SetField( StudentDTD.STUDENTDAILYATTENDANCE_ATTENDANCESTATUS, val );
 }
Пример #4
0
 /// <summary>
 /// Sets the value of the <c>&lt;AttendanceStatus&gt;</c> element.
 /// </summary>
 /// <param name="val">A AttendanceStatusType 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: 2.3</para>
 /// </remarks>
 public void SetAttendanceStatus( AttendanceStatusType val )
 {
     SetField( StudentDTD.ATTENDANCECODEINFO_ATTENDANCESTATUS, val );
 }
Пример #5
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>
 ///<param name="usedForDailyAttendance">Is this attendance code used for daily attendance?</param>
 ///<param name="usedForPeriodAttendance">Is this attendance code used for period attendance?</param>
 ///
 public AttendanceCodeInfo(string refId, string schoolInfoRefId, string attendanceCode, AttendanceType attendanceType, AttendanceStatusType attendanceStatus, AUCodeSetsYesOrNoCategoryType usedForDailyAttendance, AUCodeSetsYesOrNoCategoryType usedForPeriodAttendance) : base(Adk.SifVersion, StudentDTD.ATTENDANCECODEINFO)
 {
     this.RefId           = refId;
     this.SchoolInfoRefId = schoolInfoRefId;
     this.AttendanceCode  = attendanceCode;
     this.SetAttendanceType(attendanceType);
     this.SetAttendanceStatus(attendanceStatus);
     this.SetUsedForDailyAttendance(usedForDailyAttendance);
     this.SetUsedForPeriodAttendance(usedForPeriodAttendance);
 }
Пример #6
0
 /// <summary>
 /// Sets the value of the <c>&lt;AttendanceStatus&gt;</c> element.
 /// </summary>
 /// <param name="val">A AttendanceStatusType 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: 2.3</para>
 /// </remarks>
 public void SetAttendanceStatus(AttendanceStatusType val)
 {
     SetField(StudentDTD.ATTENDANCECODEINFO_ATTENDANCESTATUS, val);
 }
Пример #7
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="studentPersonalRefId">The ID (GUID) of the student for whom this attendance information is being reported.</param>
 ///<param name="schoolInfoRefId">The ID (GUID) of the school for which this attendance information is being reported.</param>
 ///<param name="date">The calendar date to which this attendance information relates.</param>
 ///<param name="schoolYear">A SchoolYear</param>
 ///<param name="attendanceCode">An AttendanceCode</param>
 ///<param name="attendanceStatus">Approved or Unapproved status of this attendance code.</param>
 ///
 public StudentDailyAttendance(string refId, string studentPersonalRefId, string schoolInfoRefId, DateTime?date, int?schoolYear, AttendanceCode attendanceCode, AttendanceStatusType attendanceStatus) : base(Adk.SifVersion, StudentDTD.STUDENTDAILYATTENDANCE)
 {
     this.RefId = refId;
     this.StudentPersonalRefId = studentPersonalRefId;
     this.SchoolInfoRefId      = schoolInfoRefId;
     this.Date           = date;
     this.SchoolYear     = schoolYear;
     this.AttendanceCode = attendanceCode;
     this.SetAttendanceStatus(attendanceStatus);
 }
Пример #8
0
 /// <summary>
 /// Sets the value of the <c>&lt;AttendanceStatus&gt;</c> element.
 /// </summary>
 /// <param name="val">A AttendanceStatusType object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this element as: "Approved or Unapproved status of this attendance code."</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.3</para>
 /// </remarks>
 public void SetAttendanceStatus(AttendanceStatusType val)
 {
     SetField(StudentDTD.STUDENTDAILYATTENDANCE_ATTENDANCESTATUS, val);
 }