Example #1
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="refId">Unique GUID for this Timetable transfer</param>
 ///<param name="ttScopeName">A TTScopeName</param>
 ///<param name="supplierName">A SupplierName</param>
 ///<param name="product">A Product</param>
 ///<param name="version">A Version</param>
 ///<param name="schoolInfoRefId">The unique school ID, taken from the existing SchoolInfo object (requested from ZIS)</param>
 ///<param name="schoolName">A SchoolName</param>
 ///<param name="schoolYear">A SchoolYear</param>
 ///<param name="status">The "Status" of the timetable transfer 'BT' and 'ET' are sent by TTSoftware when sending a timetable. The others are sent by the MIS after receiving a timetable. (See also "Reasons for Status" below).</param>
 ///
 public Scope( string refId, string ttScopeName, string supplierName, string product, string version, string schoolInfoRefId, string schoolName, int? schoolYear, ScopeStatus status )
     : base(Adk.SifVersion, LearningDTD.SCOPE)
 {
     this.RefId = refId;
     this.TTScopeName = ttScopeName;
     this.SupplierName = supplierName;
     this.Product = product;
     this.Version = version;
     this.SchoolInfoRefId = schoolInfoRefId;
     this.SchoolName = schoolName;
     this.SchoolYear = schoolYear;
     this.SetStatus( status );
 }
Example #2
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="refId">Unique GUID for this Timetable transfer</param>
 ///<param name="ttScopeName">A TTScopeName</param>
 ///<param name="supplierName">A SupplierName</param>
 ///<param name="product">A Product</param>
 ///<param name="version">A Version</param>
 ///<param name="schoolInfoRefId">The unique school ID, taken from the existing SchoolInfo object (requested from ZIS)</param>
 ///<param name="schoolName">A SchoolName</param>
 ///<param name="schoolYear">A SchoolYear</param>
 ///<param name="status">The "Status" of the timetable transfer 'BT' and 'ET' are sent by TTSoftware when sending a timetable. The others are sent by the MIS after receiving a timetable. (See also "Reasons for Status" below).</param>
 ///
 public Scope(string refId, string ttScopeName, string supplierName, string product, string version, string schoolInfoRefId, string schoolName, int?schoolYear, ScopeStatus status) : base(Adk.SifVersion, LearningDTD.SCOPE)
 {
     this.RefId           = refId;
     this.TTScopeName     = ttScopeName;
     this.SupplierName    = supplierName;
     this.Product         = product;
     this.Version         = version;
     this.SchoolInfoRefId = schoolInfoRefId;
     this.SchoolName      = schoolName;
     this.SchoolYear      = schoolYear;
     this.SetStatus(status);
 }
Example #3
0
 /// <summary>
 /// Sets the value of the <c>&lt;Status&gt;</c> element.
 /// </summary>
 /// <param name="val">A ScopeStatus object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this element as: "The "Status" of the timetable transfer 'BT' and 'ET' are sent by TTSoftware when sending a timetable. The others are sent by the MIS after receiving a timetable. (See also "Reasons for Status" below)."</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.3</para>
 /// </remarks>
 public void SetStatus( ScopeStatus val )
 {
     SetField( LearningDTD.SCOPE_STATUS, val );
 }
Example #4
0
 /// <summary>
 /// Sets the value of the <c>&lt;Status&gt;</c> element.
 /// </summary>
 /// <param name="val">A ScopeStatus object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this element as: "The "Status" of the timetable transfer 'BT' and 'ET' are sent by TTSoftware when sending a timetable. The others are sent by the MIS after receiving a timetable. (See also "Reasons for Status" below)."</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.3</para>
 /// </remarks>
 public void SetStatus(ScopeStatus val)
 {
     SetField(LearningDTD.SCOPE_STATUS, val);
 }