/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="studentPersonalRefId">GUID that identifies the student that this element refers to.</param> ///<param name="status">Boarding status of this student</param> ///<param name="value">Gets or sets the content value of the &lt;TransStudent&gt; element</param> /// public TransStudent( string studentPersonalRefId, StudentBoardingStatus status, string value ) : base(TransDTD.TRANSSTUDENT) { this.StudentPersonalRefId = studentPersonalRefId; this.SetStatus( status ); this.Value = value; }
/// <summary> /// Sets the value of the <c>Status</c> attribute. /// </summary> /// <param name="val">A StudentBoardingStatus object</param> /// <remarks> /// <para>The SIF specification defines the meaning of this attribute as: "Boarding status of this student"</para> /// <para>Version: 2.6</para> /// <para>Since: 1.5r1</para> /// </remarks> public void SetStatus( StudentBoardingStatus val ) { SetField( TransDTD.TRANSSTUDENT_STATUS, val ); }
/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="studentPersonalRefId">GUID that identifies the student that this element refers to.</param> ///<param name="status">Boarding status of this student</param> ///<param name="value">Gets or sets the content value of the &lt;TransStudent&gt; element</param> /// public TransStudent(string studentPersonalRefId, StudentBoardingStatus status, string value) : base(TransDTD.TRANSSTUDENT) { this.StudentPersonalRefId = studentPersonalRefId; this.SetStatus(status); this.Value = value; }
///<summary>Adds the value of the <c><Student></c> element.</summary> /// <param name="StudentPersonalRefId">GUID that identifies the student that this element refers to.</param> /// <param name="Status">Boarding status of this student</param> /// <param name="Value">Gets or sets the content value of the &lt;TransStudent&gt; element</param> ///<remarks> /// <para>This form of <c>setStudent</c> is provided as a convenience method /// that is functionally equivalent to the method <c>AddStudent</c></para> /// <para>Version: 2.6</para> /// <para>Since: 1.5r1</para> /// </remarks> public void AddStudent(string StudentPersonalRefId, StudentBoardingStatus Status, string Value) { AddChild(TransDTD.TRANSSTUDENTS_STUDENT, new TransStudent(StudentPersonalRefId, Status, Value)); }
/// <summary> /// Sets the value of the <c>Status</c> attribute. /// </summary> /// <param name="val">A StudentBoardingStatus object</param> /// <remarks> /// <para>The SIF specification defines the meaning of this attribute as: "Boarding status of this student"</para> /// <para>Version: 2.6</para> /// <para>Since: 1.5r1</para> /// </remarks> public void SetStatus(StudentBoardingStatus val) { SetField(TransDTD.TRANSSTUDENT_STATUS, val); }