///<summary>Sets the value of the <c>&lt;Counselor&gt;</c> element.</summary>
 /// <param name="SifRefObject">The name of the object referenced.</param>
 /// <param name="Value">Gets or sets the content value of the &amp;lt;Counselor&amp;gt; element</param>
 ///<remarks>
 /// <para>This form of <c>setCounselor</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>Counselor</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.3</para>
 /// </remarks>
 public void SetCounselor( CounselorSIF_RefObject SifRefObject, string Value )
 {
     RemoveChild( StudentDTD.STUDENTSCHOOLENROLLMENT_COUNSELOR);
     AddChild( StudentDTD.STUDENTSCHOOLENROLLMENT_COUNSELOR, new Counselor( SifRefObject, Value ) );
 }
Exemplo n.º 2
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="sifRefObject">The name of the object referenced.</param>
 ///<param name="value">Gets or sets the content value of the &amp;lt;Counselor&amp;gt; element</param>
 ///
 public Counselor( CounselorSIF_RefObject sifRefObject, string value )
     : base(StudentDTD.COUNSELOR)
 {
     this.SetSIF_RefObject( sifRefObject );
     this.Value = value;
 }
Exemplo n.º 3
0
 /// <summary>
 /// Sets the value of the <c>SIF_RefObject</c> attribute.
 /// </summary>
 /// <param name="val">A CounselorSIF_RefObject object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this attribute as: "The name of the object referenced."</para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 2.3</para>
 /// </remarks>
 public void SetSIF_RefObject( CounselorSIF_RefObject val )
 {
     SetField( StudentDTD.COUNSELOR_SIF_REFOBJECT, val );
 }
Exemplo n.º 4
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="sifRefObject">The name of the object referenced.</param>
 ///<param name="value">Gets or sets the content value of the &amp;lt;Counselor&amp;gt; element</param>
 ///
 public Counselor(CounselorSIF_RefObject sifRefObject, string value) : base(StudentDTD.COUNSELOR)
 {
     this.SetSIF_RefObject(sifRefObject);
     this.Value = value;
 }
Exemplo n.º 5
0
 /// <summary>
 /// Sets the value of the <c>SIF_RefObject</c> attribute.
 /// </summary>
 /// <param name="val">A CounselorSIF_RefObject object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this attribute as: "The name of the object referenced."</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.3</para>
 /// </remarks>
 public void SetSIF_RefObject(CounselorSIF_RefObject val)
 {
     SetField(StudentDTD.COUNSELOR_SIF_REFOBJECT, val);
 }
Exemplo n.º 6
0
 ///<summary>Sets the value of the <c>&lt;Counselor&gt;</c> element.</summary>
 /// <param name="SifRefObject">The name of the object referenced.</param>
 /// <param name="Value">Gets or sets the content value of the &amp;lt;Counselor&amp;gt; element</param>
 ///<remarks>
 /// <para>This form of <c>setCounselor</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>Counselor</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.3</para>
 /// </remarks>
 public void SetCounselor(CounselorSIF_RefObject SifRefObject, string Value)
 {
     RemoveChild(StudentDTD.STUDENTSCHOOLENROLLMENT_COUNSELOR);
     AddChild(StudentDTD.STUDENTSCHOOLENROLLMENT_COUNSELOR, new Counselor(SifRefObject, Value));
 }