/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="ttTeacherRefId">The teacher (see TTTeacher)</param> ///<param name="type">The teacher’s relationship with the TG</param> /// public GroupTeacher(string ttTeacherRefId, GroupTeacherType type) : base(LearningDTD.GROUPTEACHER) { this.TTTeacherRefId = ttTeacherRefId; this.SetType(type); }
/// <summary> /// Sets the value of the <c><Type></c> element. /// </summary> /// <param name="val">A GroupTeacherType object</param> /// <remarks> /// <para>The SIF specification defines the meaning of this element as: "The teacher’s relationship with the TG"</para> /// <para>Version: 2.6</para> /// <para>Since: 2.3</para> /// </remarks> public void SetType(GroupTeacherType val) { SetField(LearningDTD.GROUPTEACHER_TYPE, val); }
/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="ttTeacherRefId">The teacher (see TTTeacher)</param> ///<param name="type">The teacher’s relationship with the TG</param> /// public GroupTeacher( string ttTeacherRefId, GroupTeacherType type ) : base(LearningDTD.GROUPTEACHER) { this.TTTeacherRefId = ttTeacherRefId; this.SetType( type ); }
///<summary>Adds the value of the <c><GroupTeacher></c> element.</summary> /// <param name="TtTeacherRefId">The teacher (see TTTeacher)</param> /// <param name="Type">The teacher’s relationship with the TG</param> ///<remarks> /// <para>This form of <c>setGroupTeacher</c> is provided as a convenience method /// that is functionally equivalent to the method <c>AddGroupTeacher</c></para> /// <para>Version: 2.6</para> /// <para>Since: 2.3</para> /// </remarks> public void AddGroupTeacher(string TtTeacherRefId, GroupTeacherType Type) { AddChild(LearningDTD.GROUPTEACHERLIST_GROUPTEACHER, new GroupTeacher(TtTeacherRefId, Type)); }
/// <summary> /// Sets the value of the <c><Type></c> element. /// </summary> /// <param name="val">A GroupTeacherType object</param> /// <remarks> /// <para>The SIF specification defines the meaning of this element as: "The teacher’s relationship with the TG"</para> /// <para>Version: 2.5</para> /// <para>Since: 2.3</para> /// </remarks> public void SetType( GroupTeacherType val ) { SetField( LearningDTD.GROUPTEACHER_TYPE, val ); }