コード例 #1
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="refId">The Id (GUID) that uniquely identifies the object. </param>
 ///<param name="schoolInfoRefId">The Id (GUID) that uniquely identifies the school to which this bell schedule information applies</param>
 ///<param name="schoolYear">School year for which the information is applicable, expressed as the four-digit year in which the school year ends (e.g., "2007" for the 2006-07 school year).</param>
 ///<param name="bellScheduleName">A name that uniquely identifies a particular BellSchedule from others for the same school and year.</param>
 ///<param name="timetableDayList">The timetable days for this school year bell schedule. This essentially provides a list of the time day identifiers that are used in the BellPeriod definitions below with some additional properties for each. The identifiers defined here may be referenced by other objects / elements like MeetingTime.</param>
 ///<param name="timetablePeriodList">The timetable periods for this school year bell schedule. This essentially provides a list of the time period identifiers that are used in the BellPeriod definitions below with some addition properties for each. The identifiers defined here may be referenced by other objects / elements like MeetingTime.</param>
 ///<param name="bellPeriodList">The bell periods for this school year bell schedule.</param>
 ///
 public BellSchedule( string refId, string schoolInfoRefId, int? schoolYear, string bellScheduleName, TimetableDay timetableDayList, TimetablePeriod timetablePeriodList, BellPeriod bellPeriodList )
     : base(Adk.SifVersion, StudentDTD.BELLSCHEDULE)
 {
     this.RefId = refId;
     this.SchoolInfoRefId = schoolInfoRefId;
     this.SchoolYear = schoolYear;
     this.BellScheduleName = bellScheduleName;
     this.TimetableDayList =  new TimetableDayList( timetableDayList );
     this.TimetablePeriodList =  new TimetablePeriodList( timetablePeriodList );
     this.BellPeriodList =  new BellPeriodList( bellPeriodList );
 }
コード例 #2
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="refId">The Id (GUID) that uniquely identifies the object. </param>
 ///<param name="schoolInfoRefId">The Id (GUID) that uniquely identifies the school to which this bell schedule information applies</param>
 ///<param name="schoolYear">School year for which the information is applicable, expressed as the four-digit year in which the school year ends (e.g., "2007" for the 2006-07 school year).</param>
 ///<param name="bellScheduleName">A name that uniquely identifies a particular BellSchedule from others for the same school and year.</param>
 ///<param name="timetableDayList">The timetable days for this school year bell schedule. This essentially provides a list of the time day identifiers that are used in the BellPeriod definitions below with some additional properties for each. The identifiers defined here may be referenced by other objects / elements like MeetingTime.</param>
 ///<param name="timetablePeriodList">The timetable periods for this school year bell schedule. This essentially provides a list of the time period identifiers that are used in the BellPeriod definitions below with some addition properties for each. The identifiers defined here may be referenced by other objects / elements like MeetingTime.</param>
 ///<param name="bellPeriodList">The bell periods for this school year bell schedule.</param>
 ///
 public BellSchedule(string refId, string schoolInfoRefId, int?schoolYear, string bellScheduleName, TimetableDay timetableDayList, TimetablePeriod timetablePeriodList, BellPeriod bellPeriodList) : base(Adk.SifVersion, StudentDTD.BELLSCHEDULE)
 {
     this.RefId               = refId;
     this.SchoolInfoRefId     = schoolInfoRefId;
     this.SchoolYear          = schoolYear;
     this.BellScheduleName    = bellScheduleName;
     this.TimetableDayList    = new TimetableDayList(timetableDayList);
     this.TimetablePeriodList = new TimetablePeriodList(timetablePeriodList);
     this.BellPeriodList      = new BellPeriodList(bellPeriodList);
 }
コード例 #3
0
 ///<summary>Sets the value of the <c>&lt;BellPeriodList&gt;</c> element.</summary>
 /// <param name="BellPeriod">An entry for each unique bell period for the bell schedule</param>
 ///<remarks>
 /// <para>This form of <c>setBellPeriodList</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>BellPeriodList</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.4</para>
 /// </remarks>
 public void SetBellPeriodList(BellPeriod BellPeriod)
 {
     RemoveChild(StudentDTD.BELLSCHEDULE_BELLPERIODLIST);
     AddChild(StudentDTD.BELLSCHEDULE_BELLPERIODLIST, new BellPeriodList(BellPeriod));
 }
コード例 #4
0
 ///<summary>Sets the value of the <c>&lt;BellPeriodList&gt;</c> element.</summary>
 /// <param name="BellPeriod">An entry for each unique bell period for the bell schedule</param>
 ///<remarks>
 /// <para>This form of <c>setBellPeriodList</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>BellPeriodList</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.4</para>
 /// </remarks>
 public void SetBellPeriodList( BellPeriod BellPeriod )
 {
     RemoveChild( StudentDTD.BELLSCHEDULE_BELLPERIODLIST);
     AddChild( StudentDTD.BELLSCHEDULE_BELLPERIODLIST, new BellPeriodList( BellPeriod ) );
 }