Beispiel #1
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="refId">A RefId</param>
 ///<param name="ttDayId">A TTDayId</param>
 ///<param name="periodIndex">Index of period this lesson/meeting starts</param>
 ///<param name="type">Lesson/meeting type The value here determines whether a TeachingGroupID or an NTCode is required</param>
 ///
 public Lesson(string refId, string ttDayId, int?periodIndex, LessonType type) : base(Adk.SifVersion, SchoolDTD.LESSON)
 {
     this.RefId       = refId;
     this.TTDayId     = ttDayId;
     this.PeriodIndex = periodIndex;
     this.SetType(type);
 }
Beispiel #2
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="refId">A RefId</param>
 ///<param name="ttDayId">A TTDayId</param>
 ///<param name="periodIndex">Index of period this lesson/meeting starts</param>
 ///<param name="type">Lesson/meeting type The value here determines whether a TeachingGroupID or an NTCode is required</param>
 ///
 public Lesson( string refId, string ttDayId, int? periodIndex, LessonType type )
     : base(Adk.SifVersion, SchoolDTD.LESSON)
 {
     this.RefId = refId;
     this.TTDayId = ttDayId;
     this.PeriodIndex = periodIndex;
     this.SetType( type );
 }
Beispiel #3
0
 /// <summary>
 /// Sets the value of the <c>&lt;Type&gt;</c> element.
 /// </summary>
 /// <param name="val">A LessonType object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this element as: "Lesson/meeting type The value here determines whether a TeachingGroupID or an NTCode is required"</para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 2.3</para>
 /// </remarks>
 public void SetType( LessonType val )
 {
     SetField( SchoolDTD.LESSON_TYPE, val );
 }
Beispiel #4
0
 /// <summary>
 /// Sets the value of the <c>&lt;Type&gt;</c> element.
 /// </summary>
 /// <param name="val">A LessonType object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this element as: "Lesson/meeting type The value here determines whether a TeachingGroupID or an NTCode is required"</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.3</para>
 /// </remarks>
 public void SetType(LessonType val)
 {
     SetField(SchoolDTD.LESSON_TYPE, val);
 }