/// <summary> /// Sets the value of the <c><SessionType></c> element. /// </summary> /// <param name="val">A SessionTypeCode object</param> /// <remarks> /// <para>The SIF specification defines the meaning of this element as: "Code that specifies the session type."</para> /// <para>Version: 2.5</para> /// <para>Since: 1.1</para> /// </remarks> public void SetSessionType( SessionTypeCode val ) { SetField( StudentDTD.SCHOOLINFO_SESSIONTYPE, val ); }
///<summary>Sets the value of the <c><TermSpan></c> element.</summary> /// <param name="Code">Code for session type.</param> ///<remarks> /// <para>This form of <c>setTermSpan</c> is provided as a convenience method /// that is functionally equivalent to the <c>TermSpan</c></para> /// <para>Version: 2.5</para> /// <para>Since: 2.0</para> /// </remarks> public void SetTermSpan( SessionTypeCode Code ) { RemoveChild( EtranscriptsDTD.TERMINFODATA_TERMSPAN); AddChild( EtranscriptsDTD.TERMINFODATA_TERMSPAN, new TermSpan( Code ) ); }
///<summary>Sets the value of the <c><TermSpan></c> element.</summary> /// <param name="Code">Code for session type.</param> ///<remarks> /// <para>This form of <c>setTermSpan</c> is provided as a convenience method /// that is functionally equivalent to the <c>TermSpan</c></para> /// <para>Version: 2.5</para> /// <para>Since: 1.1</para> /// </remarks> public void SetTermSpan( SessionTypeCode Code ) { RemoveChild( StudentDTD.TERMINFO_TERMSPAN); AddChild( StudentDTD.TERMINFO_TERMSPAN, new TermSpan( Code ) ); }
/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="code">Code for session type.</param> /// public TermSpan( SessionTypeCode code ) : base(CommonDTD.TERMSPAN) { this.SetCode( code ); }
/// <summary> /// Sets the value of the <c>Code</c> attribute. /// </summary> /// <param name="val">A SessionTypeCode object</param> /// <remarks> /// <para>The SIF specification defines the meaning of this attribute as: "Code for session type."</para> /// <para>Version: 2.5</para> /// <para>Since: 1.1</para> /// </remarks> public void SetCode( SessionTypeCode val ) { SetField( CommonDTD.TERMSPAN_CODE, val ); }
/// <summary> /// Sets the value of the <c>Code</c> attribute. /// </summary> /// <param name="val">A SessionTypeCode object</param> /// <remarks> /// <para>The SIF specification defines the meaning of this attribute as: "Code for session type."</para> /// <para>Version: 2.6</para> /// <para>Since: 1.1</para> /// </remarks> public void SetCode(SessionTypeCode val) { SetField(CommonDTD.TERMSPAN_CODE, val); }
/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="code">Code for session type.</param> /// public TermSpan(SessionTypeCode code) : base(CommonDTD.TERMSPAN) { this.SetCode(code); }