/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="refId">A RefId</param> ///<param name="responseType">A ResponseType</param> ///<param name="itemName">An ItemName</param> ///<param name="assessmentItemRefId">An AssessmentItemRefId</param> ///<param name="itemWeightCorrect">An ItemWeightCorrect</param> ///<param name="itemWeightIncorrect">An ItemWeightIncorrect</param> ///<param name="itemWeightNotAttempted">An ItemWeightNotAttempted</param> /// public Sif3AssessmentItem( string refId, ResponseType responseType, string itemName, string assessmentItemRefId, decimal? itemWeightCorrect, decimal? itemWeightIncorrect, decimal? itemWeightNotAttempted ) : base(Sif3assessmentDTD.SIF3ASSESSMENTITEM) { this.RefId = refId; this.SetResponseType( responseType ); this.ItemName = itemName; this.AssessmentItemRefId = assessmentItemRefId; this.ItemWeightCorrect = itemWeightCorrect; this.ItemWeightIncorrect = itemWeightIncorrect; this.ItemWeightNotAttempted = itemWeightNotAttempted; }
/// <summary> /// Sets the value of the <c>ResponseType</c> attribute. /// </summary> /// <param name="val">A ResponseType object</param> /// <remarks> /// <para>Version: 2.6</para> /// <para>Since: 2.6</para> /// </remarks> public void SetResponseType( ResponseType val ) { SetField( Sif3assessmentDTD.SIF3ASSESSMENTITEM_RESPONSETYPE, val ); }