/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="code">Person's proficiency in English.</param> /// public EnglishProficiency( AUEnglishProficiencyType code ) : base(CommonDTD.ENGLISHPROFICIENCY) { this.SetCode( code ); }
/// <summary> /// Sets the value of the <c><Code></c> element. /// </summary> /// <param name="val">A AUEnglishProficiencyType object</param> /// <remarks> /// <para>The SIF specification defines the meaning of this element as: "Person's proficiency in English."</para> /// <para>Version: 2.5</para> /// <para>Since: 2.3</para> /// </remarks> public void SetCode( AUEnglishProficiencyType val ) { SetField( CommonDTD.ENGLISHPROFICIENCY_CODE, val ); }
/// <summary> /// Sets the value of the <c><Code></c> element. /// </summary> /// <param name="val">A AUEnglishProficiencyType object</param> /// <remarks> /// <para>The SIF specification defines the meaning of this element as: "Person's proficiency in English."</para> /// <para>Version: 2.6</para> /// <para>Since: 2.3</para> /// </remarks> public void SetCode(AUEnglishProficiencyType val) { SetField(CommonDTD.ENGLISHPROFICIENCY_CODE, val); }
/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="code">Person's proficiency in English.</param> /// public EnglishProficiency(AUEnglishProficiencyType code) : base(CommonDTD.ENGLISHPROFICIENCY) { this.SetCode(code); }
///<summary>Sets the value of the <c><EnglishProficiency></c> element.</summary> /// <param name="Code">Person's proficiency in English.</param> ///<remarks> /// <para>This form of <c>setEnglishProficiency</c> is provided as a convenience method /// that is functionally equivalent to the <c>EnglishProficiency</c></para> /// <para>Version: 2.6</para> /// <para>Since: 2.3</para> /// </remarks> public void SetEnglishProficiency(AUEnglishProficiencyType Code) { RemoveChild(CommonDTD.DEMOGRAPHICS_ENGLISHPROFICIENCY); AddChild(CommonDTD.DEMOGRAPHICS_ENGLISHPROFICIENCY, new EnglishProficiency(Code)); }
///<summary>Sets the value of the <c><EnglishProficiency></c> element.</summary> /// <param name="Code">Person's proficiency in English.</param> ///<remarks> /// <para>This form of <c>setEnglishProficiency</c> is provided as a convenience method /// that is functionally equivalent to the <c>EnglishProficiency</c></para> /// <para>Version: 2.5</para> /// <para>Since: 2.3</para> /// </remarks> public void SetEnglishProficiency( AUEnglishProficiencyType Code ) { RemoveChild( CommonDTD.DEMOGRAPHICS_ENGLISHPROFICIENCY); AddChild( CommonDTD.DEMOGRAPHICS_ENGLISHPROFICIENCY, new EnglishProficiency( Code ) ); }