/// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="refId">A RefId</param>
 ///<param name="assetType">An AssetType</param>
 ///<param name="assetContent">An AssetContent</param>
 ///
 public Sif3AssessmentAsset( string refId, AssetType assetType, AbstractContentElementType assetContent )
     : base(Adk.SifVersion, Sif3assessmentDTD.SIF3ASSESSMENTASSET)
 {
     this.RefId = refId;
     this.SetAssetType( assetType );
     this.AssetContent = assetContent;
 }
示例#2
0
 ///<summary>Sets the value of the <c>&lt;ScoreDescriptions&gt;</c> element.</summary>
 /// <param name="ScoreDescription">An individual statement that defines the specific expectations that the response must illustrate in order to achieve this score point. This is a complex content type in order to support math or other subjects that may require non-text representations of expectations.</param>
 ///<remarks>
 /// <para>This form of <c>setScoreDescriptions</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>ScoreDescriptions</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.6</para>
 /// </remarks>
 public void SetScoreDescriptions( AbstractContentElementType ScoreDescription )
 {
     RemoveChild( Sif3assessmentDTD.SIF3SCORE_SCOREDESCRIPTIONS);
     AddChild( Sif3assessmentDTD.SIF3SCORE_SCOREDESCRIPTIONS, new ScoreDescriptionList( ScoreDescription ) );
 }
示例#3
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="choiceContent">The number of responses.</param>
 ///
 public Choice( AbstractContentElementType choiceContent )
     : base(AssessmentDTD.CHOICE)
 {
     this.ChoiceContent = choiceContent;
 }
示例#4
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="commentCode">A CommentCode</param>
 ///<param name="comment">A Comment</param>
 ///
 public ScoreComment( string commentCode, AbstractContentElementType comment )
     : base(Sif3assessmentDTD.SCORECOMMENT)
 {
     this.CommentCode = commentCode;
     this.Comment = comment;
 }