コード例 #1
0
 ///<summary>Sets the value of the <c>&lt;HomeEnrollment&gt;</c> element.</summary>
 /// <param name="Status">Enrollment status as of the SnapDate.</param>
 /// <param name="GradeLevel">Grade or academic level of student.</param>
 ///<remarks>
 /// <para>This form of <c>setHomeEnrollment</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>HomeEnrollment</c></para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 1.5r1</para>
 /// </remarks>
 public void SetHomeEnrollment( HomeEnrollmentStatus Status, GradeLevel GradeLevel )
 {
     RemoveChild( StudentDTD.STUDENTSNAPSHOT_HOMEENROLLMENT);
     AddChild( StudentDTD.STUDENTSNAPSHOT_HOMEENROLLMENT, new HomeEnrollment( Status, GradeLevel ) );
 }
コード例 #2
0
 ///<summary>Sets the value of the <c>&lt;HomeEnrollment&gt;</c> element.</summary>
 /// <param name="Status">Enrollment status as of the SnapDate.</param>
 /// <param name="GradeLevel">Grade or academic level of student.</param>
 ///<remarks>
 /// <para>This form of <c>setHomeEnrollment</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>HomeEnrollment</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 1.5r1</para>
 /// </remarks>
 public void SetHomeEnrollment(HomeEnrollmentStatus Status, GradeLevel GradeLevel)
 {
     RemoveChild(StudentDTD.STUDENTSNAPSHOT_HOMEENROLLMENT);
     AddChild(StudentDTD.STUDENTSNAPSHOT_HOMEENROLLMENT, new HomeEnrollment(Status, GradeLevel));
 }
コード例 #3
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="status">Enrollment status as of the SnapDate.</param>
 ///<param name="gradeLevel">Grade or academic level of student.</param>
 ///
 public HomeEnrollment( HomeEnrollmentStatus status, GradeLevel gradeLevel )
     : base(StudentDTD.HOMEENROLLMENT)
 {
     this.SetStatus( status );
     this.GradeLevel = gradeLevel;
 }
コード例 #4
0
 /// <summary>
 /// Sets the value of the <c>&lt;Status&gt;</c> element.
 /// </summary>
 /// <param name="val">A HomeEnrollmentStatus object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this element as: "Enrollment status as of the SnapDate."</para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 1.5r1</para>
 /// </remarks>
 public void SetStatus( HomeEnrollmentStatus val )
 {
     SetField( StudentDTD.HOMEENROLLMENT_STATUS, val );
 }
コード例 #5
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="status">Enrollment status as of the SnapDate.</param>
 ///<param name="gradeLevel">Grade or academic level of student.</param>
 ///
 public HomeEnrollment(HomeEnrollmentStatus status, GradeLevel gradeLevel) : base(StudentDTD.HOMEENROLLMENT)
 {
     this.SetStatus(status);
     this.GradeLevel = gradeLevel;
 }
コード例 #6
0
 /// <summary>
 /// Sets the value of the <c>&lt;Status&gt;</c> element.
 /// </summary>
 /// <param name="val">A HomeEnrollmentStatus object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this element as: "Enrollment status as of the SnapDate."</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 1.5r1</para>
 /// </remarks>
 public void SetStatus(HomeEnrollmentStatus val)
 {
     SetField(StudentDTD.HOMEENROLLMENT_STATUS, val);
 }