示例#1
0
 /// <summary>
 /// Sets the value of the <c>&lt;Code&gt;</c> element.
 /// </summary>
 /// <param name="val">A CodeCorrelation object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this element as: "The code for the type of correlation"</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.6</para>
 /// </remarks>
 public void SetCode(CodeCorrelation val)
 {
     SetField(StudentDTD.CORRELATIONTYPE_CODE, val);
 }
 ///<summary>Sets the value of the <c>&lt;CorrelationType&gt;</c> element.</summary>
 /// <param name="Code">The code for the type of correlation</param>
 ///<remarks>
 /// <para>This form of <c>setCorrelationType</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>CorrelationType</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.6</para>
 /// </remarks>
 public void SetCorrelationType(CodeCorrelation Code)
 {
     RemoveChild(StudentDTD.SECTIONCORRELATION_CORRELATIONTYPE);
     AddChild(StudentDTD.SECTIONCORRELATION_CORRELATIONTYPE, new CorrelationType(Code));
 }
示例#3
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="code">The code for the type of correlation</param>
 ///
 public CorrelationType(CodeCorrelation code) : base(StudentDTD.CORRELATIONTYPE)
 {
     this.SetCode(code);
 }