Exemplo n.º 1
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="refId">A RefId</param>
 ///<param name="assessmentFormRefId">This RefId points to the assessment form of which the item is a part.</param>
 ///<param name="responseType">A value that indicates the response type for the item.</param>
 ///<param name="itemLabel">An item number or other identifier for the item. It may be used to indicate the order or grouping of
 ///                 items.
 ///             </param>
 ///
 public AssessmentItem( string refId, string assessmentFormRefId, ResponseType responseType, string itemLabel )
     : base(Adk.SifVersion, AssessmentDTD.ASSESSMENTITEM)
 {
     this.RefId = refId;
     this.AssessmentFormRefId = assessmentFormRefId;
     this.SetResponseType( responseType );
     this.ItemLabel = itemLabel;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Sets the value of the <c>ResponseType</c> attribute.
 /// </summary>
 /// <param name="val">A ResponseType object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this attribute as: "A value that indicates the response type for the item."</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.6</para>
 /// </remarks>
 public void SetResponseType( ResponseType val )
 {
     SetField( AssessmentDTD.SIF3ASSESSMENTITEM_RESPONSETYPE, val );
 }
Exemplo n.º 3
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="refId">A RefId</param>
 ///<param name="responseType">A value that indicates the response type for the item.</param>
 ///
 public Sif3AssessmentItem( string refId, ResponseType responseType )
     : base(Adk.SifVersion, AssessmentDTD.SIF3ASSESSMENTITEM)
 {
     this.RefId = refId;
     this.SetResponseType( responseType );
 }
Exemplo n.º 4
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="refId">A RefId</param>
 ///<param name="responseType">A value that indicates the response type for the item.</param>
 ///
 public Sif3AssessmentItem(string refId, ResponseType responseType) : base(Adk.SifVersion, AssessmentDTD.SIF3ASSESSMENTITEM)
 {
     this.RefId = refId;
     this.SetResponseType(responseType);
 }
Exemplo n.º 5
0
 /// <summary>
 /// Sets the value of the <c>ResponseType</c> attribute.
 /// </summary>
 /// <param name="val">A ResponseType object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this attribute as: "A value that indicates the response type for the item."</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.6</para>
 /// </remarks>
 public void SetResponseType(ResponseType val)
 {
     SetField(AssessmentDTD.SIF3ASSESSMENTITEM_RESPONSETYPE, val);
 }