Example #1
0
 /// <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.6</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>&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.6</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetMealStatus(FreeReducedStatus Type)
 {
     RemoveChild(FoodDTD.SALEQUANTITY_MEALSTATUS);
     AddChild(FoodDTD.SALEQUANTITY_MEALSTATUS, new MealStatus(Type));
 }
Example #3
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 #4
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 #5
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.6</para>
 /// <para>Since: 1.5r1</para>
 /// </remarks>
 public void SetMealStatus(FreeReducedStatus Type)
 {
     RemoveChild(FoodDTD.CUSTOMER_MEALSTATUS);
     AddChild(FoodDTD.CUSTOMER_MEALSTATUS, new MealStatus(Type));
 }
 ///<summary>Adds 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 method <c>AddMealStatus</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void AddMealStatus(FreeReducedStatus Type)
 {
     AddChild(FoodDTD.HISTORICALMEALSTATUS_MEALSTATUS, new MealStatus(Type));
 }