/// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="code">Funding source for the program, may be more than one.</param>
 ///
 public ProgramFundingSource( ProgramFundingSourceCodeType code )
     : base(ProgramsDTD.PROGRAMFUNDINGSOURCE)
 {
     this.SetCode( code );
 }
 /// <summary>
 /// Sets the value of the <c>&lt;Code&gt;</c> element.
 /// </summary>
 /// <param name="val">A ProgramFundingSourceCodeType object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this element as: "Funding source for the program, may be more than one."</para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 2.3</para>
 /// </remarks>
 public void SetCode( ProgramFundingSourceCodeType val )
 {
     SetField( ProgramsDTD.PROGRAMFUNDINGSOURCE_CODE, val );
 }
Esempio n. 3
0
 /// <summary>
 /// Sets the value of the <c>&lt;Code&gt;</c> element.
 /// </summary>
 /// <param name="val">A ProgramFundingSourceCodeType object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this element as: "Funding source for the program, may be more than one."</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.3</para>
 /// </remarks>
 public void SetCode(ProgramFundingSourceCodeType val)
 {
     SetField(ProgramsDTD.PROGRAMFUNDINGSOURCE_CODE, val);
 }
 ///<summary>Adds the value of the <c>&lt;ProgramFundingSource&gt;</c> element.</summary>
 /// <param name="Code">Funding source for the program, may be more than one.</param>
 ///<remarks>
 /// <para>This form of <c>setProgramFundingSource</c> is provided as a convenience method
 /// that is functionally equivalent to the method <c>AddProgramFundingSource</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.3</para>
 /// </remarks>
 public void AddProgramFundingSource(ProgramFundingSourceCodeType Code)
 {
     AddChild(ProgramsDTD.PROGRAMFUNDINGSOURCES_PROGRAMFUNDINGSOURCE, new ProgramFundingSource(Code));
 }
Esempio n. 5
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="code">Funding source for the program, may be more than one.</param>
 ///
 public ProgramFundingSource(ProgramFundingSourceCodeType code) : base(ProgramsDTD.PROGRAMFUNDINGSOURCE)
 {
     this.SetCode(code);
 }