/// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="refId">The ID (GUID) that uniquely identifies the enrollment.</param>
 ///<param name="schoolYear">A SchoolYear</param>
 ///<param name="parentObjectRefId">A ParentObjectRefId</param>
 ///<param name="localId">A LocalId</param>
 ///<param name="personInfo">A PersonInfo</param>
 ///<param name="schoolEnrollmentList">A SchoolEnrollmentList</param>
 ///
 public SummaryEnrollmentInfo( string refId, int? schoolYear, ParentObjectRefId parentObjectRefId, string localId, PersonInfo personInfo, SchoolEnrollment schoolEnrollmentList )
     : base(Adk.SifVersion, StudentDTD.SUMMARYENROLLMENTINFO)
 {
     this.RefId = refId;
     this.SchoolYear = schoolYear;
     this.ParentObjectRefId = parentObjectRefId;
     this.LocalId = localId;
     this.PersonInfo = personInfo;
     this.SchoolEnrollmentList =  new SchoolEnrollmentList( schoolEnrollmentList );
 }
示例#2
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="refId">The ID (GUID) that uniquely identifies the enrollment.</param>
 ///<param name="schoolYear">A SchoolYear</param>
 ///<param name="parentObjectRefId">A ParentObjectRefId</param>
 ///<param name="localId">A LocalId</param>
 ///<param name="personInfo">A PersonInfo</param>
 ///<param name="schoolEnrollmentList">A SchoolEnrollmentList</param>
 ///
 public SummaryEnrollmentInfo(string refId, int?schoolYear, ParentObjectRefId parentObjectRefId, string localId, PersonInfo personInfo, SchoolEnrollment schoolEnrollmentList) : base(Adk.SifVersion, StudentDTD.SUMMARYENROLLMENTINFO)
 {
     this.RefId                = refId;
     this.SchoolYear           = schoolYear;
     this.ParentObjectRefId    = parentObjectRefId;
     this.LocalId              = localId;
     this.PersonInfo           = personInfo;
     this.SchoolEnrollmentList = new SchoolEnrollmentList(schoolEnrollmentList);
 }
示例#3
0
 ///<summary>Sets the value of the <c>&lt;SchoolEnrollmentList&gt;</c> element.</summary>
 /// <param name="SchoolEnrollment">A SchoolEnrollment</param>
 ///<remarks>
 /// <para>This form of <c>setSchoolEnrollmentList</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>SchoolEnrollmentList</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.3</para>
 /// </remarks>
 public void SetSchoolEnrollmentList(SchoolEnrollment SchoolEnrollment)
 {
     RemoveChild(StudentDTD.SUMMARYENROLLMENTINFO_SCHOOLENROLLMENTLIST);
     AddChild(StudentDTD.SUMMARYENROLLMENTINFO_SCHOOLENROLLMENTLIST, new SchoolEnrollmentList(SchoolEnrollment));
 }
 ///<summary>Sets the value of the <c>&lt;SchoolEnrollmentList&gt;</c> element.</summary>
 /// <param name="SchoolEnrollment">A SchoolEnrollment</param>
 ///<remarks>
 /// <para>This form of <c>setSchoolEnrollmentList</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>SchoolEnrollmentList</c></para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 2.3</para>
 /// </remarks>
 public void SetSchoolEnrollmentList( SchoolEnrollment SchoolEnrollment )
 {
     RemoveChild( StudentDTD.SUMMARYENROLLMENTINFO_SCHOOLENROLLMENTLIST);
     AddChild( StudentDTD.SUMMARYENROLLMENTINFO_SCHOOLENROLLMENTLIST, new SchoolEnrollmentList( SchoolEnrollment ) );
 }