Exemplo n.º 1
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="refId">The ID (GUID) that uniquely identifies a particular enrolment.</param>
 ///<param name="learnerPersonalRefId">The ID (GUID) of the learner to whom this information is linked.</param>
 ///<param name="schoolInfoRefId">The ID (GUID) of the school to which this enrolment applies.</param>
 ///<param name="membershipType">The type of this enrolment as it relates to the school identified by SchoolInfoRefId. CBDS: 100060</param>
 ///<param name="entryDate">The date from when this enrolment is valid. CBDS: 100063</param>
 ///<param name="ncYearGroupActual">The year group in which the learner is taught for the majority of their time, regardless of their chronological age. CBDS: 100068</param>
 ///
 public LearnerSchoolEnrolment(string refId, string learnerPersonalRefId, string schoolInfoRefId, LearnerEnrolmentStatus membershipType, DateTime?entryDate, NCYearGroup ncYearGroupActual) : base(Adk.SifVersion, LearnerDTD.LEARNERSCHOOLENROLMENT)
 {
     this.RefId = refId;
     this.LearnerPersonalRefId = learnerPersonalRefId;
     this.SchoolInfoRefId      = schoolInfoRefId;
     this.SetMembershipType(membershipType);
     this.EntryDate         = entryDate;
     this.NCYearGroupActual = ncYearGroupActual;
 }
Exemplo n.º 2
0
 ///<summary>Sets the value of the <c>&lt;NCYearGroupList&gt;</c> element.</summary>
 /// <param name="NcYearGroup">Code representing a National Curriculum year group.</param>
 ///<remarks>
 /// <para>This form of <c>setNCYearGroupList</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>NCYearGroupList</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetNCYearGroupList(NCYearGroup NcYearGroup)
 {
     RemoveChild(SchoolDTD.SCHOOLINFO_NCYEARGROUPLIST);
     AddChild(SchoolDTD.SCHOOLINFO_NCYEARGROUPLIST, new NCYearGroupList(NcYearGroup));
 }
Exemplo n.º 3
0
 ///<summary>Sets the value of the <c>&lt;NCYearList&gt;</c> element.</summary>
 /// <param name="NcYear">NC Year Group</param>
 ///<remarks>
 /// <para>This form of <c>setNCYearList</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>NCYearList</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.3</para>
 /// </remarks>
 public void SetNCYearList(NCYearGroup NcYear)
 {
     RemoveChild(LearningDTD.OUTPUT_NCYEARLIST);
     AddChild(LearningDTD.OUTPUT_NCYEARLIST, new NCYearList(NcYear));
 }
Exemplo n.º 4
0
 ///<summary>Sets the value of the <c>&lt;CurrentSchoolEnrolment&gt;</c> element.</summary>
 /// <param name="LearnerSchoolEnrolmentRefId">The ID (GUID) of the LearnerSchoolEnrolment record associated with this learner that is also designated as the current or current main enrolment.</param>
 /// <param name="LaId">The DfES assigned number for the LA in which the learner is currently enroled with respect to their current or current main (home) school. CBDS: 100013, 100032, 100162, 900009</param>
 /// <param name="EstablishmentId">The DfES assigned number for the school or establishment in which the learner is currently enroled with respect to their current or current main (home) school. CBDS: 100004, 100163, 900010</param>
 /// <param name="NcYearGroup">The current or most recent National Curriculum Year Group of the learner in the LA. </param>
 ///<remarks>
 /// <para>This form of <c>setCurrentSchoolEnrolment</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>CurrentSchoolEnrolment</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetCurrentSchoolEnrolment(string LearnerSchoolEnrolmentRefId, string LaId, string EstablishmentId, NCYearGroup NcYearGroup)
 {
     RemoveChild(LearnerDTD.LEARNERPERSONAL_CURRENTSCHOOLENROLMENT);
     AddChild(LearnerDTD.LEARNERPERSONAL_CURRENTSCHOOLENROLMENT, new CurrentSchoolEnrolment(LearnerSchoolEnrolmentRefId, LaId, EstablishmentId, NcYearGroup));
 }
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="learnerSchoolEnrolmentRefId">The ID (GUID) of the LearnerSchoolEnrolment record associated with this learner that is also designated as the current or current main enrolment.</param>
 ///<param name="laId">The DfES assigned number for the LA in which the learner is currently enroled with respect to their current or current main (home) school. CBDS: 100013, 100032, 100162, 900009</param>
 ///<param name="establishmentId">The DfES assigned number for the school or establishment in which the learner is currently enroled with respect to their current or current main (home) school. CBDS: 100004, 100163, 900010</param>
 ///<param name="ncYearGroup">The current or most recent National Curriculum Year Group of the learner in the LA. </param>
 ///
 public CurrentSchoolEnrolment(string learnerSchoolEnrolmentRefId, string laId, string establishmentId, NCYearGroup ncYearGroup) : base(LearnerDTD.CURRENTSCHOOLENROLMENT)
 {
     this.LearnerSchoolEnrolmentRefId = learnerSchoolEnrolmentRefId;
     this.LAId            = laId;
     this.EstablishmentId = establishmentId;
     this.NCYearGroup     = ncYearGroup;
 }