/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="refId">A unique local identifier for this junction</param> ///<param name="ntCode">A NTCode</param> ///<param name="description">A Description</param> ///<param name="type">Lesson/meeting type Note this Type over-rides the period type in the cycle definition (in case, for eg, Period 1 is Registration for some classes but not others)</param> /// public NonTeachingActivity(string refId, string ntCode, string description, NonTeachingActivityType type) : base(Adk.SifVersion, LearningDTD.NONTEACHINGACTIVITY) { this.RefId = refId; this.NTCode = ntCode; this.Description = description; this.SetType(type); }
/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="refId">A unique local identifier for this junction</param> ///<param name="ntCode">A NTCode</param> ///<param name="description">A Description</param> ///<param name="type">Lesson/meeting type Note this Type over-rides the period type in the cycle definition (in case, for eg, Period 1 is Registration for some classes but not others)</param> /// public NonTeachingActivity( string refId, string ntCode, string description, NonTeachingActivityType type ) : base(Adk.SifVersion, LearningDTD.NONTEACHINGACTIVITY) { this.RefId = refId; this.NTCode = ntCode; this.Description = description; this.SetType( type ); }
/// <summary> /// Sets the value of the <c><Type></c> element. /// </summary> /// <param name="val">A NonTeachingActivityType object</param> /// <remarks> /// <para>The SIF specification defines the meaning of this element as: "Lesson/meeting type Note this Type over-rides the period type in the cycle definition (in case, for eg, Period 1 is Registration for some classes but not others)"</para> /// <para>Version: 2.6</para> /// <para>Since: 2.3</para> /// </remarks> public void SetType(NonTeachingActivityType val) { SetField(LearningDTD.NONTEACHINGACTIVITY_TYPE, val); }
/// <summary> /// Sets the value of the <c><Type></c> element. /// </summary> /// <param name="val">A NonTeachingActivityType object</param> /// <remarks> /// <para>The SIF specification defines the meaning of this element as: "Lesson/meeting type Note this Type over-rides the period type in the cycle definition (in case, for eg, Period 1 is Registration for some classes but not others)"</para> /// <para>Version: 2.5</para> /// <para>Since: 2.3</para> /// </remarks> public void SetType( NonTeachingActivityType val ) { SetField( LearningDTD.NONTEACHINGACTIVITY_TYPE, val ); }