/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="status">A Status</param> ///<param name="gradeLevel">A GradeLevel</param> /// public Sif3HomeEnrollment( EnrollmentStatus status, YearLevel gradeLevel ) : base(Sif3assessmentDTD.SIF3HOMEENROLLMENT) { this.SetStatus( status ); this.GradeLevel = gradeLevel; }
/// <summary> /// Sets the value of the <c><Status></c> element. /// </summary> /// <param name="val">A EnrollmentStatus object</param> /// <remarks> /// <para>Version: 2.6</para> /// <para>Since: 2.6</para> /// </remarks> public void SetStatus( EnrollmentStatus val ) { SetField( Sif3assessmentDTD.SIF3HOMEENROLLMENT_STATUS, val ); }
///<summary>Sets the value of the <c><HomeEnrollment></c> element.</summary> /// <param name="Status">A Status</param> /// <param name="GradeLevel">A GradeLevel</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: 2.6</para> /// </remarks> public void SetHomeEnrollment( EnrollmentStatus Status, YearLevel GradeLevel ) { RemoveChild( Sif3assessmentDTD.SIF3ASSESSMENTSTUDENTSNAPSHOT_HOMEENROLLMENT); AddChild( Sif3assessmentDTD.SIF3ASSESSMENTSTUDENTSNAPSHOT_HOMEENROLLMENT, new Sif3HomeEnrollment( Status, GradeLevel ) ); }
///<summary>Sets the value of the <c><HomeEnrollment></c> element.</summary> /// <param name="Status">A Status</param> /// <param name="GradeLevel">A GradeLevel</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: 2.6</para> /// </remarks> public void SetHomeEnrollment(EnrollmentStatus Status, YearLevel GradeLevel) { RemoveChild(Sif3assessmentDTD.SIF3ASSESSMENTSTUDENTSNAPSHOT_HOMEENROLLMENT); AddChild(Sif3assessmentDTD.SIF3ASSESSMENTSTUDENTSNAPSHOT_HOMEENROLLMENT, new Sif3HomeEnrollment(Status, GradeLevel)); }
/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="status">A Status</param> ///<param name="gradeLevel">A GradeLevel</param> /// public Sif3HomeEnrollment(EnrollmentStatus status, YearLevel gradeLevel) : base(Sif3assessmentDTD.SIF3HOMEENROLLMENT) { this.SetStatus(status); this.GradeLevel = gradeLevel; }
/// <summary> /// Sets the value of the <c><Status></c> element. /// </summary> /// <param name="val">A EnrollmentStatus object</param> /// <remarks> /// <para>Version: 2.6</para> /// <para>Since: 2.6</para> /// </remarks> public void SetStatus(EnrollmentStatus val) { SetField(Sif3assessmentDTD.SIF3HOMEENROLLMENT_STATUS, val); }