コード例 #1
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="refId">The GUID that uniquely identifies a school group type, such as a course. </param>
 ///<param name="schoolInfoRefId">The ID (GUID) that references the school or establishment where the course is offered or the registration group exists. </param>
 ///<param name="schoolYear">School year for which the information is applicable, expressed as the four-digit year in which the school year ends (e.g. 2007 for the 2006/07 school year). Where a group membership is valid across multiple years, the current year at the time of publication will be used. </param>
 ///<param name="groupType">The group type.  Teaching groups are used to teach subjects while other groups are organised for various other reasons.</param>
 ///
 public SchoolGroupType( string refId, string schoolInfoRefId, int? schoolYear, GroupTypeCode groupType )
     : base(Adk.SifVersion, SchoolDTD.SCHOOLGROUPTYPE)
 {
     this.RefId = refId;
     this.SchoolInfoRefId = schoolInfoRefId;
     this.SchoolYear = schoolYear;
     this.SetGroupType( groupType );
 }
コード例 #2
0
 /// <summary>
 /// Sets the value of the <c>GroupType</c> attribute.
 /// </summary>
 /// <param name="val">A GroupTypeCode object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this attribute as: "The group type.  Teaching groups are used to teach subjects while other groups are organised for various other reasons."</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetGroupType( GroupTypeCode val )
 {
     SetField( SchoolDTD.SCHOOLGROUPTYPE_GROUPTYPE, val );
 }