Ejemplo n.º 1
0
 ///<summary>Sets the value of the <c>&lt;CourseCredits&gt;</c> element.</summary>
 /// <param name="Type">The type of credit offered</param>
 /// <param name="Value">Gets or sets the content value of the &amp;lt;CourseCredits&amp;gt; element</param>
 ///<remarks>
 /// <para>This form of <c>setCourseCredits</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>CourseCredits</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 1.1</para>
 /// </remarks>
 public void SetCourseCredits(CreditType Type, decimal?Value)
 {
     RemoveChild(StudentDTD.SCHOOLCOURSEINFOOVERRIDE_COURSECREDITS);
     AddChild(StudentDTD.SCHOOLCOURSEINFOOVERRIDE_COURSECREDITS, new CourseCredits(Type, Value));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="type">A Type</param>
 ///<param name="value">Gets or sets the content value of the &amp;lt;CreditsAttempted&amp;gt; element</param>
 ///
 public CreditsAttempted(CreditType type, string value) : base(StudentDTD.CREDITSATTEMPTED)
 {
     this.SetType(type);
     this.Value = value;
 }
Ejemplo n.º 3
0
 ///<summary>Sets the value of the <c>&lt;CreditsAttempted&gt;</c> element.</summary>
 /// <param name="Type">A Type</param>
 /// <param name="Value">Gets or sets the content value of the &amp;lt;CreditsAttempted&amp;gt; element</param>
 ///<remarks>
 /// <para>This form of <c>setCreditsAttempted</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>CreditsAttempted</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 1.5r1</para>
 /// </remarks>
 public void SetCreditsAttempted(CreditType Type, string Value)
 {
     RemoveChild(StudentDTD.STUDENTSECTIONENROLLMENT_CREDITSATTEMPTED);
     AddChild(StudentDTD.STUDENTSECTIONENROLLMENT_CREDITSATTEMPTED, new CreditsAttempted(Type, Value));
 }
Ejemplo n.º 4
0
 ///<summary>Sets the value of the <c>&lt;CourseCredits&gt;</c> element.</summary>
 /// <param name="Type">The type of credit offered</param>
 /// <param name="Value">Gets or sets the content value of the &amp;lt;CourseCredits&amp;gt; element</param>
 ///<remarks>
 /// <para>This form of <c>setCourseCredits</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>CourseCredits</c></para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 1.1</para>
 /// </remarks>
 public void SetCourseCredits( CreditType Type, decimal? Value )
 {
     RemoveChild( StudentDTD.SCHOOLCOURSEINFO_COURSECREDITS);
     AddChild( StudentDTD.SCHOOLCOURSEINFO_COURSECREDITS, new CourseCredits( Type, Value ) );
 }
Ejemplo n.º 5
0
 /// <summary>
 /// Sets the value of the <c>Type</c> attribute.
 /// </summary>
 /// <param name="val">A CreditType object</param>
 /// <remarks>
 /// <para>This attribute is known by more than one tag name depending on the version of SIF in use.
 /// The ADK will use the tag names shown below when parsing and rendering attributes of this kind.</para>
 /// <list type="table"><listheader><term>Version</term><description>Tag</description></listheader>;
 /// <item><term>2.0 (and greater)</term><description>&lt;Type&gt;</description></item>
 /// </list>
 /// <para>Version: 2.6</para>
 /// <para>Since: 1.5r1</para>
 /// </remarks>
 public void SetType(CreditType val)
 {
     SetField(StudentDTD.CREDITSATTEMPTED_TYPE, val);
 }
Ejemplo n.º 6
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="type">The type of credit offered</param>
 ///<param name="value">Gets or sets the content value of the &amp;lt;CourseCredits&amp;gt; element</param>
 ///
 public CourseCredits( CreditType type, decimal? value )
     : base(StudentDTD.COURSECREDITS)
 {
     this.SetType( type );
     this.Value = value;
 }
 ///<summary>Sets the value of the <c>&lt;CreditsAttempted&gt;</c> element.</summary>
 /// <param name="Type">A Type</param>
 /// <param name="Value">Gets or sets the content value of the &amp;lt;CreditsAttempted&amp;gt; element</param>
 ///<remarks>
 /// <para>This form of <c>setCreditsAttempted</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>CreditsAttempted</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 1.5r1</para>
 /// </remarks>
 public void SetCreditsAttempted( CreditType Type, string Value )
 {
     RemoveChild( StudentDTD.STUDENTSECTIONENROLLMENT_CREDITSATTEMPTED);
     AddChild( StudentDTD.STUDENTSECTIONENROLLMENT_CREDITSATTEMPTED, new CreditsAttempted( Type, Value ) );
 }
Ejemplo n.º 8
0
 /// <summary>
 /// Sets the value of the <c>Type</c> attribute.
 /// </summary>
 /// <param name="val">A CreditType object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this attribute as: "The type of credit offered"</para>
 /// <para>This attribute is known by more than one tag name depending on the version of SIF in use. 
 /// The ADK will use the tag names shown below when parsing and rendering attributes of this kind.</para>
 /// <list type="table"><listheader><term>Version</term><description>Tag</description></listheader>;
 /// <item><term>2.0 (and greater)</term><description>&lt;Type&gt;</description></item>
 /// </list>
 /// <para>Version: 2.6</para>
 /// <para>Since: 1.1</para>
 /// </remarks>
 public void SetType( CreditType val )
 {
     SetField( StudentDTD.COURSECREDITS_TYPE, val );
 }
Ejemplo n.º 9
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="type">The type of credit offered</param>
 ///<param name="value">Gets or sets the content value of the &amp;lt;CourseCredits&amp;gt; element</param>
 ///
 public CourseCredits(CreditType type, decimal?value) : base(StudentDTD.COURSECREDITS)
 {
     this.SetType(type);
     this.Value = value;
 }
Ejemplo n.º 10
0
 /// <summary>
 /// Sets the value of the <c>Type</c> attribute.
 /// </summary>
 /// <param name="val">A CreditType object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this attribute as: "The type of credit offered"</para>
 /// <para>This attribute is known by more than one tag name depending on the version of SIF in use.
 /// The ADK will use the tag names shown below when parsing and rendering attributes of this kind.</para>
 /// <list type="table"><listheader><term>Version</term><description>Tag</description></listheader>;
 /// <item><term>2.0 (and greater)</term><description>&lt;Type&gt;</description></item>
 /// </list>
 /// <para>Version: 2.6</para>
 /// <para>Since: 1.1</para>
 /// </remarks>
 public void SetType(CreditType val)
 {
     SetField(StudentDTD.COURSECREDITS_TYPE, val);
 }
Ejemplo n.º 11
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="type">A Type</param>
 ///<param name="value">Gets or sets the content value of the &amp;lt;CreditsAttempted&amp;gt; element</param>
 ///
 public CreditsAttempted( CreditType type, string value )
     : base(StudentDTD.CREDITSATTEMPTED)
 {
     this.SetType( type );
     this.Value = value;
 }
Ejemplo n.º 12
0
 /// <summary>
 /// Sets the value of the <c>Type</c> attribute.
 /// </summary>
 /// <param name="val">A CreditType object</param>
 /// <remarks>
 /// <para>This attribute is known by more than one tag name depending on the version of SIF in use. 
 /// The ADK will use the tag names shown below when parsing and rendering attributes of this kind.</para>
 /// <list type="table"><listheader><term>Version</term><description>Tag</description></listheader>;
 /// <item><term>2.0 (and greater)</term><description>&lt;Type&gt;</description></item>
 /// </list>
 /// <para>Version: 2.6</para>
 /// <para>Since: 1.5r1</para>
 /// </remarks>
 public void SetType( CreditType val )
 {
     SetField( StudentDTD.CREDITSATTEMPTED_TYPE, val );
 }