Example #1
0
 ///<summary>Sets the value of the <c>&lt;ServiceSetting&gt;</c> element.</summary>
 /// <param name="CodeType">If CodeType = "NCES" Then use Code set 0307 Service Setting [NCES Handbooks]</param>
 /// <param name="Code">Setting where service is provided (Regular Class, Resource Room, Homebound, Detention Center, etc.).</param>
 ///<remarks>
 /// <para>This form of <c>setServiceSetting</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>ServiceSetting</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 1.5r1</para>
 /// </remarks>
 public void SetServiceSetting(string CodeType, ServiceSettingCode Code)
 {
     RemoveChild(ProgramsDTD.STUDENTPLACEMENT_SERVICESETTING);
     AddChild(ProgramsDTD.STUDENTPLACEMENT_SERVICESETTING, new ServiceSetting(CodeType, Code));
 }
 ///<summary>Sets the value of the <c>&lt;LeastRestrictiveEnvironment&gt;</c> element.</summary>
 /// <param name="CodeType">If CodeType = "NCES" Then use Code set 0307 Service Setting [NCES Handbooks]</param>
 /// <param name="Code">Setting where service is provided (Regular Class, Resource Room, Homebound, Detention Center, etc.).</param>
 ///<remarks>
 /// <para>This form of <c>setLeastRestrictiveEnvironment</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>LeastRestrictiveEnvironment</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 1.5r1</para>
 /// </remarks>
 public void SetLeastRestrictiveEnvironment( string CodeType, ServiceSettingCode Code )
 {
     RemoveChild( ProgramsDTD.STUDENTPARTICIPATION_LEASTRESTRICTIVEENVIRONMENT);
     AddChild( ProgramsDTD.STUDENTPARTICIPATION_LEASTRESTRICTIVEENVIRONMENT, new ServiceSetting( CodeType, Code ) );
 }
 ///<summary>Sets the value of the <c>&lt;ServiceSetting&gt;</c> element.</summary>
 /// <param name="CodeType">If CodeType = "NCES" Then use Code set 0307 Service Setting [NCES Handbooks]</param>
 /// <param name="Code">Setting where service is provided (Regular Class, Resource Room, Homebound, Detention Center, etc.).</param>
 ///<remarks>
 /// <para>This form of <c>setServiceSetting</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>ServiceSetting</c></para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 1.5r1</para>
 /// </remarks>
 public void SetServiceSetting( string CodeType, ServiceSettingCode Code )
 {
     RemoveChild( ProgramsDTD.STUDENTPLACEMENT_SERVICESETTING);
     AddChild( ProgramsDTD.STUDENTPLACEMENT_SERVICESETTING, new ServiceSetting( CodeType, Code ) );
 }
Example #4
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="codeType">If CodeType = "NCES" Then use Code set 0307 Service Setting [NCES Handbooks]</param>
 ///<param name="code">Setting where service is provided (Regular Class, Resource Room, Homebound, Detention Center, etc.).</param>
 ///
 public ServiceSetting(string codeType, ServiceSettingCode code) : base(ProgramsDTD.SERVICESETTING)
 {
     this.CodeType = codeType;
     this.SetCode(code);
 }
Example #5
0
 /// <summary>
 /// Sets the value of the <c>&lt;Code&gt;</c> element.
 /// </summary>
 /// <param name="val">A ServiceSettingCode object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this element as: "Setting where service is provided (Regular Class, Resource Room, Homebound, Detention Center, etc.)."</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 1.5r1</para>
 /// </remarks>
 public void SetCode(ServiceSettingCode val)
 {
     SetField(ProgramsDTD.SERVICESETTING_CODE, val);
 }
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="codeType">If CodeType = "NCES" Then use Code set 0307 Service Setting [NCES Handbooks]</param>
 ///<param name="code">Setting where service is provided (Regular Class, Resource Room, Homebound, Detention Center, etc.).</param>
 ///
 public ServiceSetting( string codeType, ServiceSettingCode code )
     : base(ProgramsDTD.SERVICESETTING)
 {
     this.CodeType = codeType;
     this.SetCode( code );
 }
 /// <summary>
 /// Sets the value of the <c>&lt;Code&gt;</c> element.
 /// </summary>
 /// <param name="val">A ServiceSettingCode object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this element as: "Setting where service is provided (Regular Class, Resource Room, Homebound, Detention Center, etc.)."</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 1.5r1</para>
 /// </remarks>
 public void SetCode( ServiceSettingCode val )
 {
     SetField( ProgramsDTD.SERVICESETTING_CODE, val );
 }