Пример #1
0
 /// <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 &amp;lt;TransStudent&amp;gt; element</param>
 ///
 public TransStudent( string studentPersonalRefId, StudentBoardingStatus status, string value )
     : base(TransDTD.TRANSSTUDENT)
 {
     this.StudentPersonalRefId = studentPersonalRefId;
     this.SetStatus( status );
     this.Value = value;
 }
Пример #2
0
 /// <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 );
 }
Пример #3
0
 /// <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 &amp;lt;TransStudent&amp;gt; element</param>
 ///
 public TransStudent(string studentPersonalRefId, StudentBoardingStatus status, string value) : base(TransDTD.TRANSSTUDENT)
 {
     this.StudentPersonalRefId = studentPersonalRefId;
     this.SetStatus(status);
     this.Value = value;
 }
Пример #4
0
 ///<summary>Adds the value of the <c>&lt;Student&gt;</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 &amp;lt;TransStudent&amp;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));
 }
Пример #5
0
 /// <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);
 }