/// <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 &lt;Homeroom&gt; element</param> /// public Homeroom( SIF_RefObject sifRefObject, string value ) : base(StudentDTD.HOMEROOM) { this.SetSIF_RefObject( sifRefObject ); this.Value = value; }
///<summary>Sets the value of the <c><Homeroom></c> element.</summary> /// <param name="SifRefObject">The name of the object referenced.</param> /// <param name="Value">Gets or sets the content value of the &lt;Homeroom&gt; element</param> ///<remarks> /// <para>This form of <c>setHomeroom</c> is provided as a convenience method /// that is functionally equivalent to the <c>Homeroom</c></para> /// <para>Version: 2.6</para> /// <para>Since: 2.3</para> /// </remarks> public void SetHomeroom( SIF_RefObject SifRefObject, string Value ) { RemoveChild( StudentDTD.STUDENTSCHOOLENROLLMENT_HOMEROOM); AddChild( StudentDTD.STUDENTSCHOOLENROLLMENT_HOMEROOM, new Homeroom( SifRefObject, Value ) ); }
/// <summary> /// Sets the value of the <c>SIF_RefObject</c> attribute. /// </summary> /// <param name="val">A SIF_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( SIF_RefObject val ) { SetField( StudentDTD.HOMEROOM_SIF_REFOBJECT, val ); }