/// <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 ); }
/// <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); }
///<summary>Sets the value of the <c><SchoolEnrollmentList></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><SchoolEnrollmentList></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 ) ); }