Exemplo n.º 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 );
 }
Exemplo n.º 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);
 }
Exemplo n.º 3
0
 ///<summary>Sets the value of the <c>&lt;TimetablePeriodList&gt;</c> element.</summary>
 /// <param name="TimetablePeriod">An entry for each unique timetable period</param>
 ///<remarks>
 /// <para>This form of <c>setTimetablePeriodList</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>TimetablePeriodList</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.4</para>
 /// </remarks>
 public void SetTimetablePeriodList(TimetablePeriod TimetablePeriod)
 {
     RemoveChild(StudentDTD.BELLSCHEDULE_TIMETABLEPERIODLIST);
     AddChild(StudentDTD.BELLSCHEDULE_TIMETABLEPERIODLIST, new TimetablePeriodList(TimetablePeriod));
 }
Exemplo n.º 4
0
 ///<summary>Sets the value of the <c>&lt;TimetablePeriodList&gt;</c> element.</summary>
 /// <param name="TimetablePeriod">An entry for each unique timetable period</param>
 ///<remarks>
 /// <para>This form of <c>setTimetablePeriodList</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>TimetablePeriodList</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.4</para>
 /// </remarks>
 public void SetTimetablePeriodList( TimetablePeriod TimetablePeriod )
 {
     RemoveChild( StudentDTD.BELLSCHEDULE_TIMETABLEPERIODLIST);
     AddChild( StudentDTD.BELLSCHEDULE_TIMETABLEPERIODLIST, new TimetablePeriodList( TimetablePeriod ) );
 }