/// <summary>
 /// Sets the value of the <c>&lt;FreeAndReducedStatus&gt;</c> element.
 /// </summary>
 /// <param name="val">A FreeReducedStatus object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this element as: "Student's eligibility for free and reduced meals."</para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetFreeAndReducedStatus( FreeReducedStatus val )
 {
     SetField( StudentDTD.STUDENTSNAPSHOT_FREEANDREDUCEDSTATUS, val );
 }
Example #2
0
 /// <summary>
 /// Sets the value of the <c>Type</c> attribute.
 /// </summary>
 /// <param name="val">A FreeReducedStatus object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this attribute as: "Meal status type."</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 1.1</para>
 /// </remarks>
 public void SetType( FreeReducedStatus val )
 {
     SetField( FoodDTD.MEALSTATUS_TYPE, val );
 }
Example #3
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="type">Meal status type.</param>
 ///
 public MealStatus( FreeReducedStatus type )
     : base(FoodDTD.MEALSTATUS)
 {
     this.SetType( type );
 }
Example #4
0
 ///<summary>Sets the value of the <c>&lt;MealStatus&gt;</c> element.</summary>
 /// <param name="Type">Meal status type.</param>
 ///<remarks>
 /// <para>This form of <c>setMealStatus</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>MealStatus</c></para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 1.5r1</para>
 /// </remarks>
 public void SetMealStatus( FreeReducedStatus Type )
 {
     RemoveChild( FoodDTD.RATE_MEALSTATUS);
     AddChild( FoodDTD.RATE_MEALSTATUS, new MealStatus( Type ) );
 }