/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="refId">GUID that identifies this object.</param> ///<param name="studentPersonalRefId">GUID that identifies the student that this object refers to.</param> ///<param name="type">The direction of transportation that this object refers to.</param> ///<param name="dayOfWeek">This attribute indicates the day(s) of the week to which this object refers.</param> ///<param name="schoolInfoRefId">GUID referring to the school that the student attends on these day(s) of the week.</param> /// public StudentTransportInfo(string refId, string studentPersonalRefId, StudentTransportInfoType type, string dayOfWeek, string schoolInfoRefId) : base(Adk.SifVersion, TransDTD.STUDENTTRANSPORTINFO) { this.RefId = refId; this.StudentPersonalRefId = studentPersonalRefId; this.SetType(type); this.DayOfWeek = dayOfWeek; this.SchoolInfoRefId = schoolInfoRefId; }
/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="refId">GUID that identifies this object.</param> ///<param name="studentPersonalRefId">GUID that identifies the student that this object refers to.</param> ///<param name="type">The direction of transportation that this object refers to.</param> ///<param name="dayOfWeek">This attribute indicates the day(s) of the week to which this object refers.</param> ///<param name="schoolInfoRefId">GUID referring to the school that the student attends on these day(s) of the week.</param> /// public StudentTransportInfo( string refId, string studentPersonalRefId, StudentTransportInfoType type, string dayOfWeek, string schoolInfoRefId ) : base(Adk.SifVersion, TransDTD.STUDENTTRANSPORTINFO) { this.RefId = refId; this.StudentPersonalRefId = studentPersonalRefId; this.SetType( type ); this.DayOfWeek = dayOfWeek; this.SchoolInfoRefId = schoolInfoRefId; }
/// <summary> /// Sets the value of the <c>Type</c> attribute. /// </summary> /// <param name="val">A StudentTransportInfoType object</param> /// <remarks> /// <para>The SIF specification defines the meaning of this attribute as: "The direction of transportation that this object refers to."</para> /// <para>Version: 2.5</para> /// <para>Since: 1.1</para> /// </remarks> public void SetType( StudentTransportInfoType val ) { SetField( TransDTD.STUDENTTRANSPORTINFO_TYPE, val ); }
/// <summary> /// Sets the value of the <c>Type</c> attribute. /// </summary> /// <param name="val">A StudentTransportInfoType object</param> /// <remarks> /// <para>The SIF specification defines the meaning of this attribute as: "The direction of transportation that this object refers to."</para> /// <para>Version: 2.6</para> /// <para>Since: 1.1</para> /// </remarks> public void SetType(StudentTransportInfoType val) { SetField(TransDTD.STUDENTTRANSPORTINFO_TYPE, val); }