Exemplo n.º 1
0
 /// <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);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Sets the value of the <c>&lt;Type&gt;</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);
 }
Exemplo n.º 3
0
 /// <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 );
 }
Exemplo n.º 4
0
 ///<summary>Adds the value of the <c>&lt;GroupTeacher&gt;</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));
 }
Exemplo n.º 5
0
 /// <summary>
 /// Sets the value of the <c>&lt;Type&gt;</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 );
 }