///<summary>Sets the value of the <c>&lt;ProgramType&gt;</c> element.</summary>
 /// <param name="Code">The type of the program. Type identifies the list of values.</param>
 ///<remarks>
 /// <para>This form of <c>setProgramType</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>ProgramType</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetProgramType( StudentFamilyProgramType Code )
 {
     RemoveChild( ProgramsDTD.STUDENTPARTICIPATION_PROGRAMTYPE);
     AddChild( ProgramsDTD.STUDENTPARTICIPATION_PROGRAMTYPE, new ProgramType( Code ) );
 }
示例#2
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="code">The type of the program. Type identifies the list of values.</param>
 ///
 public ProgramType( StudentFamilyProgramType code )
     : base(CommonDTD.PROGRAMTYPE)
 {
     this.SetCode( code );
 }
示例#3
0
 /// <summary>
 /// Sets the value of the <c>&lt;Code&gt;</c> element.
 /// </summary>
 /// <param name="val">A StudentFamilyProgramType object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this element 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 SetCode( StudentFamilyProgramType val )
 {
     SetField( CommonDTD.PROGRAMTYPE_CODE, val );
 }
示例#4
0
 ///<summary>Sets the value of the <c>&lt;ProgramType&gt;</c> element.</summary>
 /// <param name="Code">The type of the program. Type identifies the list of values.</param>
 ///<remarks>
 /// <para>This form of <c>setProgramType</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>ProgramType</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.4</para>
 /// </remarks>
 public void SetProgramType(StudentFamilyProgramType Code)
 {
     RemoveChild(CommonDTD.STUDENTPARTICIPATIONDATAELEMENT_PROGRAMTYPE);
     AddChild(CommonDTD.STUDENTPARTICIPATIONDATAELEMENT_PROGRAMTYPE, new ProgramType(Code));
 }
示例#5
0
 /// <summary>
 /// Sets the value of the <c>&lt;Code&gt;</c> element.
 /// </summary>
 /// <param name="val">A StudentFamilyProgramType object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this element as: "The type of the program. Type identifies the list of values."</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 1.5r1</para>
 /// </remarks>
 public void SetCode(StudentFamilyProgramType val)
 {
     SetField(CommonDTD.PROGRAMTYPE_CODE, val);
 }
示例#6
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="code">The type of the program. Type identifies the list of values.</param>
 ///
 public ProgramType(StudentFamilyProgramType code) : base(CommonDTD.PROGRAMTYPE)
 {
     this.SetCode(code);
 }