Example #1
0
 /// <summary>
 /// Sets the value of the <c>&lt;SessionType&gt;</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 );
 }
Example #2
0
 ///<summary>Sets the value of the <c>&lt;TermSpan&gt;</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 ) );
 }
Example #3
0
 ///<summary>Sets the value of the <c>&lt;TermSpan&gt;</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 ) );
 }
Example #4
0
 /// <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 );
 }
Example #5
0
 /// <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 );
 }
Example #6
0
 /// <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);
 }
Example #7
0
 /// <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);
 }