Exemplo n.º 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);
 }
Exemplo n.º 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 );
 }
Exemplo n.º 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 );
 }
Exemplo n.º 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);
 }