/// <summary> /// Sets the value of the <c><Code></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><CorrelationType></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)); }
/// <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); }