///<summary>Sets the value of the <c><Earned></c> element.</summary> /// <param name="Type">The unit description</param> /// <param name="Value">Gets or sets the content value of the &lt;Earned&gt; element</param> ///<remarks> /// <para>This form of <c>setEarned</c> is provided as a convenience method /// that is functionally equivalent to the <c>Earned</c></para> /// <para>Version: 2.6</para> /// <para>Since: 1.5r1</para> /// </remarks> public void SetEarned(EarnedType Type, string Value) { RemoveChild(ProfdevDTD.EMPLOYEECREDIT_EARNED); AddChild(ProfdevDTD.EMPLOYEECREDIT_EARNED, new Earned(Type, Value)); }
/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="type">The unit description</param> ///<param name="value">Gets or sets the content value of the &lt;Earned&gt; element</param> /// public Earned( EarnedType type, string value ) : base(ProfdevDTD.EARNED) { this.SetType( type ); this.Value = value; }
/// <summary> /// Sets the value of the <c>Type</c> attribute. /// </summary> /// <param name="val">A EarnedType object</param> /// <remarks> /// <para>The SIF specification defines the meaning of this attribute as: "The unit description"</para> /// <para>Version: 2.5</para> /// <para>Since: 1.5r1</para> /// </remarks> public void SetType( EarnedType val ) { SetField( ProfdevDTD.EARNED_TYPE, val ); }
///<summary>Sets the value of the <c><Earned></c> element.</summary> /// <param name="Type">The unit description</param> /// <param name="Value">Gets or sets the content value of the &lt;Earned&gt; element</param> ///<remarks> /// <para>This form of <c>setEarned</c> is provided as a convenience method /// that is functionally equivalent to the <c>Earned</c></para> /// <para>Version: 2.6</para> /// <para>Since: 1.5r1</para> /// </remarks> public void SetEarned( EarnedType Type, string Value ) { RemoveChild( ProfdevDTD.EMPLOYEERECERTIFICATION_EARNED); AddChild( ProfdevDTD.EMPLOYEERECERTIFICATION_EARNED, new Earned( Type, Value ) ); }
///<summary>Sets the value of the <c><Earned></c> element.</summary> /// <param name="Type">The unit description</param> /// <param name="Value">Gets or sets the content value of the &lt;Earned&gt; element</param> ///<remarks> /// <para>This form of <c>setEarned</c> is provided as a convenience method /// that is functionally equivalent to the <c>Earned</c></para> /// <para>Version: 2.6</para> /// <para>Since: 1.5r1</para> /// </remarks> public void SetEarned(EarnedType Type, string Value) { RemoveChild(ProfdevDTD.EMPLOYEERECERTIFICATION_EARNED); AddChild(ProfdevDTD.EMPLOYEERECERTIFICATION_EARNED, new Earned(Type, Value)); }
///<summary>Sets the value of the <c><Earned></c> element.</summary> /// <param name="Type">The unit description</param> /// <param name="Value">Gets or sets the content value of the &lt;Earned&gt; element</param> ///<remarks> /// <para>This form of <c>setEarned</c> is provided as a convenience method /// that is functionally equivalent to the <c>Earned</c></para> /// <para>Version: 2.5</para> /// <para>Since: 1.5r1</para> /// </remarks> public void SetEarned( EarnedType Type, string Value ) { RemoveChild( ProfdevDTD.EMPLOYEECREDIT_EARNED); AddChild( ProfdevDTD.EMPLOYEECREDIT_EARNED, new Earned( Type, Value ) ); }