示例#1
0
 /// <summary>
 /// Sets the value of the <c>&lt;Value&gt;</c> element.
 /// </summary>
 /// <param name="val">A GeneralSubjects object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this of the content as: "Gets or sets the content value of the &amp;lt;SubjectArea&amp;gt; element"</para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetValue( GeneralSubjects val )
 {
     SetField( CommonDTD.SUBJECTAREA, val );
 }
示例#2
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="value">Gets or sets the content value of the &amp;lt;SubjectArea&amp;gt; element</param>
 ///
 public SubjectArea( GeneralSubjects value )
     : base(CommonDTD.SUBJECTAREA)
 {
     this.SetValue( value );
 }
示例#3
0
 /// <summary>
 /// Sets the value of the <c>&lt;Value&gt;</c> element.
 /// </summary>
 /// <param name="val">A GeneralSubjects object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this of the content as: "Gets or sets the content value of the &amp;lt;SubjectArea&amp;gt; element"</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetValue(GeneralSubjects val)
 {
     SetField(CommonDTD.SUBJECTAREA, val);
 }
示例#4
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="value">Gets or sets the content value of the &amp;lt;SubjectArea&amp;gt; element</param>
 ///
 public SubjectArea(GeneralSubjects value) : base(CommonDTD.SUBJECTAREA)
 {
     this.SetValue(value);
 }
示例#5
0
 ///<summary>Adds the value of the <c>&lt;SubjectArea&gt;</c> element.</summary>
 /// <param name="Value">Gets or sets the content value of the &amp;lt;SubjectArea&amp;gt; element</param>
 ///<remarks>
 /// <para>This form of <c>setSubjectArea</c> is provided as a convenience method
 /// that is functionally equivalent to the method <c>AddSubjectArea</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void AddSubjectArea(GeneralSubjects Value)
 {
     AddChild(CommonDTD.SUBJECTAREALIST_SUBJECTAREA, new SubjectArea(Value));
 }
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="modification">How is the National Curriculum used for this learner?</param>
 ///<param name="subject">National Curriculum subject(s) for which modification or disapplication applies.</param>
 ///
 public NationalCurriculum( Modification modification, GeneralSubjects subject )
     : base(LearnerDTD.NATIONALCURRICULUM)
 {
     this.SetModification( modification );
     this.SetSubject( subject );
 }
 /// <summary>
 /// Sets the value of the <c>&lt;Subject&gt;</c> element.
 /// </summary>
 /// <param name="val">A GeneralSubjects object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this element as: "National Curriculum subject(s) for which modification or disapplication applies."</para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetSubject( GeneralSubjects val )
 {
     SetField( LearnerDTD.NATIONALCURRICULUM_SUBJECT, val );
 }