Пример #1
0
 ///<summary>Sets the value of the <c>&lt;Name&gt;</c> element.</summary>
 /// <param name="Type">
 /// Code that specifies what type of name this is. If
 /// unsure, use LGL.</param>
 ///<remarks>
 /// <para>This form of <c>setName</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>Name</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.4</para>
 /// </remarks>
 public void SetName( NameType Type )
 {
     RemoveChild( LearningDTD.CONTACT_NAME);
     AddChild( LearningDTD.CONTACT_NAME, new Name( Type ) );
 }
Пример #2
0
 ///<summary>Sets the value of the <c>&lt;Name&gt;</c> element.</summary>
 /// <param name="Type">
 /// Code that specifies what type of name this is. If
 /// unsure, use LGL.</param>
 ///<remarks>
 /// <para>This form of <c>setName</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>Name</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.3</para>
 /// </remarks>
 public void SetName(NameType Type)
 {
     RemoveChild(CommonDTD.PERSONINFO_NAME);
     AddChild(CommonDTD.PERSONINFO_NAME, new Name(Type));
 }
 ///<summary>Sets the value of the <c>&lt;Name&gt;</c> element.</summary>
 /// <param name="Type">
 /// Code that specifies what type of name this is. If
 /// unsure, use LGL.</param>
 ///<remarks>
 /// <para>This form of <c>setName</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>Name</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.3</para>
 /// </remarks>
 public void SetName( NameType Type )
 {
     RemoveChild( LearningDTD.TEACHINGGROUPSTUDENT_NAME);
     AddChild( LearningDTD.TEACHINGGROUPSTUDENT_NAME, new Name( Type ) );
 }
Пример #4
0
 /// <summary>
 /// Sets the value of the <c>Type</c> attribute.
 /// </summary>
 /// <param name="val">A NameType object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this attribute as: "
 /// Code that specifies what type of name this is. If
 /// unsure, use LGL."</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.3</para>
 /// </remarks>
 public void SetType( NameType val )
 {
     SetField( CommonDTD.NAME_TYPE, val );
 }
Пример #5
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="type">
 /// Code that specifies what type of name this is. If
 /// unsure, use LGL.</param>
 ///
 public Name( NameType type )
     : base(CommonDTD.NAME)
 {
     this.SetType( type );
 }
Пример #6
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="type">
 /// Code that specifies what type of name this is. If
 /// unsure, use LGL.</param>
 ///
 public Name(NameType type) : base(CommonDTD.NAME)
 {
     this.SetType(type);
 }
Пример #7
0
 /// <summary>
 /// Sets the value of the <c>Type</c> attribute.
 /// </summary>
 /// <param name="val">A NameType object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this attribute as: "
 /// Code that specifies what type of name this is. If
 /// unsure, use LGL."</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.3</para>
 /// </remarks>
 public void SetType(NameType val)
 {
     SetField(CommonDTD.NAME_TYPE, val);
 }
Пример #8
0
 ///<summary>Adds the value of the <c>&lt;Name&gt;</c> element.</summary>
 /// <param name="Type">
 /// Code that specifies what type of name this is. If
 /// unsure, use LGL.</param>
 ///<remarks>
 /// <para>This form of <c>setName</c> is provided as a convenience method
 /// that is functionally equivalent to the method <c>AddName</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.3</para>
 /// </remarks>
 public void AddName(NameType Type)
 {
     AddChild(CommonDTD.OTHERNAMES_NAME, new Name(Type));
 }
Пример #9
0
 ///<summary>Sets the value of the <c>&lt;Name&gt;</c> element.</summary>
 /// <param name="Type">
 /// Code that specifies what type of name this is. If
 /// unsure, use LGL.</param>
 ///<remarks>
 /// <para>This form of <c>setName</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>Name</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.3</para>
 /// </remarks>
 public void SetName( NameType Type )
 {
     RemoveChild( StudentDTD.STUDENTSNAPSHOT_NAME);
     AddChild( StudentDTD.STUDENTSNAPSHOT_NAME, new Name( Type ) );
 }
Пример #10
0
 ///<summary>Sets the value of the <c>&lt;Name&gt;</c> element.</summary>
 /// <param name="Type">
 /// Code that specifies what type of name this is. If
 /// unsure, use LGL.</param>
 ///<remarks>
 /// <para>This form of <c>setName</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>Name</c></para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 2.4</para>
 /// </remarks>
 public void SetName( NameType Type )
 {
     RemoveChild( LearningDTD.EVALUATION_NAME);
     AddChild( LearningDTD.EVALUATION_NAME, new Name( Type ) );
 }
 ///<summary>Sets the value of the <c>&lt;Name&gt;</c> element.</summary>
 /// <param name="Type">
 /// Code that specifies what type of name this is. If
 /// unsure, use LGL.</param>
 ///<remarks>
 /// <para>This form of <c>setName</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>Name</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.6</para>
 /// </remarks>
 public void SetName( NameType Type )
 {
     RemoveChild( Sif3assessmentDTD.SIF3ASSESSMENTSTUDENTSNAPSHOT_NAME);
     AddChild( Sif3assessmentDTD.SIF3ASSESSMENTSTUDENTSNAPSHOT_NAME, new Name( Type ) );
 }
Пример #12
0
 ///<summary>Sets the value of the <c>&lt;Name&gt;</c> element.</summary>
 /// <param name="Type">
 /// Code that specifies what type of name this is. If
 /// unsure, use LGL.</param>
 ///<remarks>
 /// <para>This form of <c>setName</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>Name</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.3</para>
 /// </remarks>
 public void SetName( NameType Type )
 {
     RemoveChild( CommonDTD.CONTACTINFO_NAME);
     AddChild( CommonDTD.CONTACTINFO_NAME, new Name( Type ) );
 }