예제 #1
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="refId">The GUID that identifies this school.</param>
 ///<param name="schoolName">Name of school/campus.</param>
 ///<param name="schoolSector">(Government, or Non-Government).</param>
 ///
 public SchoolInfo( string refId, string schoolName, SchoolSectorCodeType schoolSector )
     : base(Adk.SifVersion, SchoolDTD.SCHOOLINFO)
 {
     this.RefId = refId;
     this.SchoolName = schoolName;
     this.SetSchoolSector( schoolSector );
 }
예제 #2
0
 /// <summary>
 /// Sets the value of the <c>&lt;SchoolSector&gt;</c> element.
 /// </summary>
 /// <param name="val">A SchoolSectorCodeType object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this element as: "(Government, or Non-Government)."</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.3</para>
 /// </remarks>
 public void SetSchoolSector(SchoolSectorCodeType val)
 {
     SetField(SchoolDTD.SCHOOLINFO_SCHOOLSECTOR, val);
 }
예제 #3
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="refId">The GUID that identifies this school.</param>
 ///<param name="schoolName">Name of school/campus.</param>
 ///<param name="schoolSector">(Government, or Non-Government).</param>
 ///
 public SchoolInfo(string refId, string schoolName, SchoolSectorCodeType schoolSector) : base(Adk.SifVersion, SchoolDTD.SCHOOLINFO)
 {
     this.RefId      = refId;
     this.SchoolName = schoolName;
     this.SetSchoolSector(schoolSector);
 }
예제 #4
0
 /// <summary>
 /// Sets the value of the <c>&lt;SchoolSector&gt;</c> element.
 /// </summary>
 /// <param name="val">A SchoolSectorCodeType object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this element as: "(Government, or Non-Government)."</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.3</para>
 /// </remarks>
 public void SetSchoolSector( SchoolSectorCodeType val )
 {
     SetField( SchoolDTD.SCHOOLINFO_SCHOOLSECTOR, val );
 }