/// <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; }
/// <summary> /// Sets the value of the <c><Code></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><Service></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 ) ); }
///<summary>Sets the value of the <c><Service></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)); }
/// <summary> /// Sets the value of the <c><Code></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); }
/// <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; }