/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="refId">The ID (GUID) of this grade set.</param> ///<param name="name">The descriptive identifier for the grade set.</param> ///<param name="gradeSets">A GradeSets</param> /// public AssessmentResultGradeSet( string refId, string name, GradeSet gradeSets ) : base(Adk.SifVersion, AssessmentDTD.ASSESSMENTRESULTGRADESET) { this.RefId = refId; this.Name = name; this.GradeSets = new GradeSets( gradeSets ); }
/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="refId">The ID (GUID) of this grade set.</param> ///<param name="name">The descriptive identifier for the grade set.</param> ///<param name="gradeSets">A GradeSets</param> /// public AssessmentResultGradeSet(string refId, string name, GradeSet gradeSets) : base(Adk.SifVersion, AssessmentDTD.ASSESSMENTRESULTGRADESET) { this.RefId = refId; this.Name = name; this.GradeSets = new GradeSets(gradeSets); }
///<summary>Sets the value of the <c><GradeSets></c> element.</summary> /// <param name="GradeSet">A GradeSet</param> ///<remarks> /// <para>This form of <c>setGradeSets</c> is provided as a convenience method /// that is functionally equivalent to the <c>GradeSets</c></para> /// <para>Version: 2.6</para> /// <para>Since: 2.1</para> /// </remarks> public void SetGradeSets( GradeSet GradeSet ) { RemoveChild( AssessmentDTD.ASSESSMENTRESULTGRADESET_GRADESETS); AddChild( AssessmentDTD.ASSESSMENTRESULTGRADESET_GRADESETS, new GradeSets( GradeSet ) ); }
///<summary>Sets the value of the <c><GradeSets></c> element.</summary> /// <param name="GradeSet">A GradeSet</param> ///<remarks> /// <para>This form of <c>setGradeSets</c> is provided as a convenience method /// that is functionally equivalent to the <c>GradeSets</c></para> /// <para>Version: 2.6</para> /// <para>Since: 2.1</para> /// </remarks> public void SetGradeSets(GradeSet GradeSet) { RemoveChild(AssessmentDTD.ASSESSMENTRESULTGRADESET_GRADESETS); AddChild(AssessmentDTD.ASSESSMENTRESULTGRADESET_GRADESETS, new GradeSets(GradeSet)); }