///<summary>Sets the value of the <c>&lt;ProgramAvailability&gt;</c> element.</summary>
 /// <param name="Code">Describes the availability of the program.</param>
 ///<remarks>
 /// <para>This form of <c>setProgramAvailability</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>ProgramAvailability</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetProgramAvailability( ProgramAvailabilityCode Code )
 {
     RemoveChild( ProgramsDTD.STUDENTPARTICIPATION_PROGRAMAVAILABILITY);
     AddChild( ProgramsDTD.STUDENTPARTICIPATION_PROGRAMAVAILABILITY, new ProgramAvailability( Code ) );
 }
 /// <summary>
 /// Sets the value of the <c>&lt;Code&gt;</c> element.
 /// </summary>
 /// <param name="val">A ProgramAvailabilityCode object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this element as: "General timing of service delivery relative to school calendar / schedule."</para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetCode( ProgramAvailabilityCode val )
 {
     SetField( ProgramsDTD.WHENSERVICEPROVIDED_CODE, val );
 }
Exemple #3
0
 ///<summary>Sets the value of the <c>&lt;WhenServiceProvided&gt;</c> element.</summary>
 /// <param name="Code">Describes the availability of the program.</param>
 ///<remarks>
 /// <para>This form of <c>setWhenServiceProvided</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>WhenServiceProvided</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetWhenServiceProvided(ProgramAvailabilityCode Code)
 {
     RemoveChild(ProgramsDTD.STUDENTPLACEMENT_WHENSERVICEPROVIDED);
     AddChild(ProgramsDTD.STUDENTPLACEMENT_WHENSERVICEPROVIDED, new ProgramAvailability(Code));
 }
 /// <summary>
 /// Sets the value of the <c>&lt;Code&gt;</c> element.
 /// </summary>
 /// <param name="val">A ProgramAvailabilityCode object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this element as: "Describes the availability of the program."</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetCode(ProgramAvailabilityCode val)
 {
     SetField(ProgramsDTD.PROGRAMAVAILABILITY_CODE, val);
 }
 ///<summary>Sets the value of the <c>&lt;WhenServiceProvided&gt;</c> element.</summary>
 /// <param name="Code">Describes the availability of the program.</param>
 ///<remarks>
 /// <para>This form of <c>setWhenServiceProvided</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>WhenServiceProvided</c></para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetWhenServiceProvided( ProgramAvailabilityCode Code )
 {
     RemoveChild( ProgramsDTD.STUDENTPLACEMENT_WHENSERVICEPROVIDED);
     AddChild( ProgramsDTD.STUDENTPLACEMENT_WHENSERVICEPROVIDED, new ProgramAvailability( Code ) );
 }
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="code">Describes the availability of the program.</param>
 ///
 public ProgramAvailability(ProgramAvailabilityCode code) : base(ProgramsDTD.PROGRAMAVAILABILITY)
 {
     this.SetCode(code);
 }
 /// <summary>
 /// Sets the value of the <c>&lt;Code&gt;</c> element.
 /// </summary>
 /// <param name="val">A ProgramAvailabilityCode object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this element as: "General timing of service delivery relative to school calendar / schedule."</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetCode(ProgramAvailabilityCode val)
 {
     SetField(ProgramsDTD.WHENSERVICEPROVIDED_CODE, val);
 }
 ///<summary>Adds the value of the <c>&lt;ProgramAvailability&gt;</c> element.</summary>
 /// <param name="Code">Describes the availability of the program.</param>
 ///<remarks>
 /// <para>This form of <c>setProgramAvailability</c> is provided as a convenience method
 /// that is functionally equivalent to the method <c>AddProgramAvailability</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.4</para>
 /// </remarks>
 public void AddProgramAvailability(ProgramAvailabilityCode Code)
 {
     AddChild(ProgramsDTD.ADDITIONALPROGRAMAVAILABILITYLIST_PROGRAMAVAILABILITY, new ProgramAvailability(Code));
 }
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="code">Describes the availability of the program.</param>
 ///
 public ProgramAvailability( ProgramAvailabilityCode code )
     : base(ProgramsDTD.PROGRAMAVAILABILITY)
 {
     this.SetCode( code );
 }
 /// <summary>
 /// Sets the value of the <c>&lt;Code&gt;</c> element.
 /// </summary>
 /// <param name="val">A ProgramAvailabilityCode object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this element as: "Describes the availability of the program."</para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetCode( ProgramAvailabilityCode val )
 {
     SetField( ProgramsDTD.PROGRAMAVAILABILITY_CODE, val );
 }