///<summary>Sets the value of the <c><Name></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 ) ); }
///<summary>Sets the value of the <c><Name></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><Name></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 ) ); }
/// <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 ); }
/// <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 ); }
/// <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); }
/// <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); }
///<summary>Adds the value of the <c><Name></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)); }
///<summary>Sets the value of the <c><Name></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 ) ); }
///<summary>Sets the value of the <c><Name></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><Name></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 ) ); }
///<summary>Sets the value of the <c><Name></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 ) ); }