示例#1
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="code">Specialized instruction or related / transitional service provided to this student.</param>
 ///<param name="codeType">(SIF 1.5r1 Only) Values: "NCES","StateDOE","Local","Text"</param>
 ///<param name="type">InstructionalService, RelatedService, Other</param>
 ///
 public Service( ServiceCode code, string codeType, string type )
     : base(CommonDTD.SERVICE)
 {
     this.SetCode( code );
     this.CodeType = codeType;
     this.Type = type;
 }
示例#2
0
 /// <summary>
 /// Sets the value of the <c>&lt;Code&gt;</c> element.
 /// </summary>
 /// <param name="val">A ServiceCode object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this element as: "Specialized instruction or related / transitional service provided to this student."</para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetCode( ServiceCode val )
 {
     SetField( CommonDTD.SERVICE_CODE, val );
 }
 ///<summary>Sets the value of the <c>&lt;Service&gt;</c> element.</summary>
 /// <param name="Code">Specialized instruction or related / transitional service provided to this student.</param>
 /// <param name="CodeType">(SIF 1.5r1 Only) Values: "NCES","StateDOE","Local","Text"</param>
 /// <param name="Type">InstructionalService, RelatedService, Other</param>
 ///<remarks>
 /// <para>This form of <c>setService</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>Service</c></para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 1.5r1</para>
 /// </remarks>
 public void SetService( ServiceCode Code, string CodeType, string Type )
 {
     RemoveChild( ProgramsDTD.STUDENTPLACEMENT_SERVICE);
     AddChild( ProgramsDTD.STUDENTPLACEMENT_SERVICE, new Service( Code, CodeType, Type ) );
 }
示例#4
0
 ///<summary>Sets the value of the <c>&lt;Service&gt;</c> element.</summary>
 /// <param name="Code">Specialized instruction or related / transitional service provided to this student.</param>
 /// <param name="CodeType">(SIF 1.5r1 Only) Values: "NCES","StateDOE","Local","Text"</param>
 /// <param name="Type">InstructionalService, RelatedService, Other</param>
 ///<remarks>
 /// <para>This form of <c>setService</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>Service</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.4</para>
 /// </remarks>
 public void SetService(ServiceCode Code, string CodeType, string Type)
 {
     RemoveChild(CommonDTD.STUDENTPLACEMENTDATA_SERVICE);
     AddChild(CommonDTD.STUDENTPLACEMENTDATA_SERVICE, new Service(Code, CodeType, Type));
 }
示例#5
0
 /// <summary>
 /// Sets the value of the <c>&lt;Code&gt;</c> element.
 /// </summary>
 /// <param name="val">A ServiceCode object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this element as: "Specialized instruction or related / transitional service provided to this student."</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetCode(ServiceCode val)
 {
     SetField(CommonDTD.SERVICE_CODE, val);
 }
示例#6
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="code">Specialized instruction or related / transitional service provided to this student.</param>
 ///<param name="codeType">(SIF 1.5r1 Only) Values: "NCES","StateDOE","Local","Text"</param>
 ///<param name="type">InstructionalService, RelatedService, Other</param>
 ///
 public Service(ServiceCode code, string codeType, string type) : base(CommonDTD.SERVICE)
 {
     this.SetCode(code);
     this.CodeType = codeType;
     this.Type     = type;
 }