Пример #1
0
 ///<summary>Sets the value of the <c>&lt;Earned&gt;</c> element.</summary>
 /// <param name="Type">The unit description</param>
 /// <param name="Value">Gets or sets the content value of the &amp;lt;Earned&amp;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));
 }
Пример #2
0
 /// <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 &amp;lt;Earned&amp;gt; element</param>
 ///
 public Earned( EarnedType type, string value )
     : base(ProfdevDTD.EARNED)
 {
     this.SetType( type );
     this.Value = value;
 }
Пример #3
0
 /// <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>&lt;Earned&gt;</c> element.</summary>
 /// <param name="Type">The unit description</param>
 /// <param name="Value">Gets or sets the content value of the &amp;lt;Earned&amp;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 ) );
 }
Пример #5
0
 ///<summary>Sets the value of the <c>&lt;Earned&gt;</c> element.</summary>
 /// <param name="Type">The unit description</param>
 /// <param name="Value">Gets or sets the content value of the &amp;lt;Earned&amp;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));
 }
Пример #6
0
 ///<summary>Sets the value of the <c>&lt;Earned&gt;</c> element.</summary>
 /// <param name="Type">The unit description</param>
 /// <param name="Value">Gets or sets the content value of the &amp;lt;Earned&amp;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 ) );
 }