Пример #1
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="type">The type of the program. Type identifies the list of values.</param>
 ///<param name="value">Gets or sets the content value of the &amp;lt;Program&amp;gt; element</param>
 ///
 public Program( FinancialProgram type, string value )
     : base(CommonDTD.PROGRAM)
 {
     this.SetType( type );
     this.Value = value;
 }
 ///<summary>Sets the value of the <c>&lt;Program&gt;</c> element.</summary>
 /// <param name="Type">The type of the program. Type identifies the list of values.</param>
 /// <param name="Value">Gets or sets the content value of the &amp;lt;Program&amp;gt; element</param>
 ///<remarks>
 /// <para>This form of <c>setProgram</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>Program</c></para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetProgram( FinancialProgram Type, string Value )
 {
     RemoveChild( FoodDTD.FOODSERVICESTAFFMEALCOUNTS_PROGRAM);
     AddChild( FoodDTD.FOODSERVICESTAFFMEALCOUNTS_PROGRAM, new Program( Type, Value ) );
 }
Пример #3
0
 /// <summary>
 /// Sets the value of the <c>Type</c> attribute.
 /// </summary>
 /// <param name="val">A FinancialProgram object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this attribute as: "The type of the program. Type identifies the list of values."</para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 1.5r1</para>
 /// </remarks>
 public void SetType( FinancialProgram val )
 {
     SetField( CommonDTD.PROGRAM_TYPE, val );
 }
 ///<summary>Sets the value of the <c>&lt;Program&gt;</c> element.</summary>
 /// <param name="Type">The type of the program. Type identifies the list of values.</param>
 /// <param name="Value">Gets or sets the content value of the &amp;lt;Program&amp;gt; element</param>
 ///<remarks>
 /// <para>This form of <c>setProgram</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>Program</c></para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetProgram( FinancialProgram Type, string Value )
 {
     RemoveChild( FoodDTD.FOODSERVICESTUDENTENROLLMENTCOUNT_PROGRAM);
     AddChild( FoodDTD.FOODSERVICESTUDENTENROLLMENTCOUNT_PROGRAM, new Program( Type, Value ) );
 }
 ///<summary>Sets the value of the <c>&lt;Program&gt;</c> element.</summary>
 /// <param name="Type">The type of the program. Type identifies the list of values.</param>
 /// <param name="Value">Gets or sets the content value of the &amp;lt;Program&amp;gt; element</param>
 ///<remarks>
 /// <para>This form of <c>setProgram</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>Program</c></para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 1.5r1</para>
 /// </remarks>
 public void SetProgram( FinancialProgram Type, string Value )
 {
     RemoveChild( HrfinDTD.FINANCIALINCOMESTATEMENT_PROGRAM);
     AddChild( HrfinDTD.FINANCIALINCOMESTATEMENT_PROGRAM, new Program( Type, Value ) );
 }
 ///<summary>Sets the value of the <c>&lt;Program&gt;</c> element.</summary>
 /// <param name="Type">The type of the program. Type identifies the list of values.</param>
 /// <param name="Value">Gets or sets the content value of the &amp;lt;Program&amp;gt; element</param>
 ///<remarks>
 /// <para>This form of <c>setProgram</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>Program</c></para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 1.5r1</para>
 /// </remarks>
 public void SetProgram( FinancialProgram Type, string Value )
 {
     RemoveChild( FoodDTD.FOODSERVICETRANSACTION_PROGRAM);
     AddChild( FoodDTD.FOODSERVICETRANSACTION_PROGRAM, new Program( Type, Value ) );
 }
 ///<summary>Sets the value of the <c>&lt;Program&gt;</c> element.</summary>
 /// <param name="Type">The type of the program. Type identifies the list of values.</param>
 /// <param name="Value">Gets or sets the content value of the &amp;lt;Program&amp;gt; element</param>
 ///<remarks>
 /// <para>This form of <c>setProgram</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>Program</c></para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 1.5r1</para>
 /// </remarks>
 public void SetProgram( FinancialProgram Type, string Value )
 {
     RemoveChild( HrfinDTD.FINANCIALTRANSACTION_PROGRAM);
     AddChild( HrfinDTD.FINANCIALTRANSACTION_PROGRAM, new Program( Type, Value ) );
 }
 ///<summary>Sets the value of the <c>&lt;Program&gt;</c> element.</summary>
 /// <param name="Type">The type of the program. Type identifies the list of values.</param>
 /// <param name="Value">Gets or sets the content value of the &amp;lt;Program&amp;gt; element</param>
 ///<remarks>
 /// <para>This form of <c>setProgram</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>Program</c></para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 1.5r1</para>
 /// </remarks>
 public void SetProgram( FinancialProgram Type, string Value )
 {
     RemoveChild( FoodDTD.FOODSERVICEREIMBURSEMENTRATES_PROGRAM);
     AddChild( FoodDTD.FOODSERVICEREIMBURSEMENTRATES_PROGRAM, new Program( Type, Value ) );
 }