/// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="refId">The ID (GUID) of this result.</param>
 ///<param name="assessmentComponentRefId">The assessment component that the result is for.</param>
 ///<param name="learnerPersonalRefId">The ID (GUID) of the learner achieving the results.</param>
 ///<param name="schoolInfoRefId">The school at which the assessment was taken.</param>
 ///<param name="achievementDate">The date the results were achieved.</param>
 ///<param name="result">A grade title, a comment, or a mark (dependent on ComponentType of associated aspect). Marks and grades should be valid in the grade set or mark set on the date the assessment was achieved.</param>
 ///<param name="resultStatus">Indicates whether the result is estimated, an interim result, provisional, actual result or a target.</param>
 ///
 public LearnerAssessmentResult( string refId, string assessmentComponentRefId, string learnerPersonalRefId, string schoolInfoRefId, DateTime? achievementDate, string result, AssessmentResultStatusType resultStatus )
     : base(Adk.SifVersion, AssessmentDTD.LEARNERASSESSMENTRESULT)
 {
     this.RefId = refId;
     this.AssessmentComponentRefId = assessmentComponentRefId;
     this.LearnerPersonalRefId = learnerPersonalRefId;
     this.SchoolInfoRefId = schoolInfoRefId;
     this.AchievementDate = achievementDate;
     this.Result = result;
     this.SetResultStatus( resultStatus );
 }
Exemple #2
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="refId">The ID (GUID) of this result.</param>
 ///<param name="assessmentComponentRefId">The assessment component that the result is for.</param>
 ///<param name="learnerPersonalRefId">The ID (GUID) of the learner achieving the results.</param>
 ///<param name="schoolInfoRefId">The school at which the assessment was taken.</param>
 ///<param name="achievementDate">The date the results were achieved.</param>
 ///<param name="result">A grade title, a comment, or a mark (dependent on ComponentType of associated aspect). Marks and grades should be valid in the grade set or mark set on the date the assessment was achieved.</param>
 ///<param name="resultStatus">Indicates whether the result is estimated, an interim result, provisional, actual result or a target.</param>
 ///
 public LearnerAssessmentResult(string refId, string assessmentComponentRefId, string learnerPersonalRefId, string schoolInfoRefId, DateTime?achievementDate, string result, AssessmentResultStatusType resultStatus) : base(Adk.SifVersion, AssessmentDTD.LEARNERASSESSMENTRESULT)
 {
     this.RefId = refId;
     this.AssessmentComponentRefId = assessmentComponentRefId;
     this.LearnerPersonalRefId     = learnerPersonalRefId;
     this.SchoolInfoRefId          = schoolInfoRefId;
     this.AchievementDate          = achievementDate;
     this.Result = result;
     this.SetResultStatus(resultStatus);
 }
Exemple #3
0
 /// <summary>
 /// Sets the value of the <c>&lt;ResultStatus&gt;</c> element.
 /// </summary>
 /// <param name="val">A AssessmentResultStatusType object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this element as: "Indicates whether the result is estimated, an interim result, provisional, actual result or a target."</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.1</para>
 /// </remarks>
 public void SetResultStatus(AssessmentResultStatusType val)
 {
     SetField(AssessmentDTD.LEARNERASSESSMENTRESULT_RESULTSTATUS, val);
 }
 /// <summary>
 /// Sets the value of the <c>&lt;ResultStatus&gt;</c> element.
 /// </summary>
 /// <param name="val">A AssessmentResultStatusType object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this element as: "Indicates whether the result is estimated, an interim result, provisional, actual result or a target."</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.1</para>
 /// </remarks>
 public void SetResultStatus( AssessmentResultStatusType val )
 {
     SetField( AssessmentDTD.LEARNERASSESSMENTRESULT_RESULTSTATUS, val );
 }