コード例 #1
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="refId">The GUID that uniquely identifies an instance of this object.</param>
 ///<param name="assessmentItemRefId">The first item in the association.</param>
 ///<param name="targetAssessmentItemRefId">The item being associated to the first item.</param>
 ///<param name="associationType">Indicates the type of association.</param>
 ///
 public Sif3AssessmentItemAssociation( string refId, string assessmentItemRefId, string targetAssessmentItemRefId, AssociationType associationType )
     : base(Adk.SifVersion, AssessmentDTD.SIF3ASSESSMENTITEMASSOCIATION)
 {
     this.RefId = refId;
     this.AssessmentItemRefId = assessmentItemRefId;
     this.TargetAssessmentItemRefId = targetAssessmentItemRefId;
     this.SetAssociationType( associationType );
 }
コード例 #2
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="refId">The GUID that uniquely identifies an instance of this object.</param>
 ///<param name="assessmentItemRefId">The first item in the association.</param>
 ///<param name="targetAssessmentItemRefId">The item being associated to the first item.</param>
 ///<param name="associationType">Indicates the type of association.</param>
 ///
 public Sif3AssessmentItemAssociation(string refId, string assessmentItemRefId, string targetAssessmentItemRefId, AssociationType associationType) : base(Adk.SifVersion, AssessmentDTD.SIF3ASSESSMENTITEMASSOCIATION)
 {
     this.RefId = refId;
     this.AssessmentItemRefId       = assessmentItemRefId;
     this.TargetAssessmentItemRefId = targetAssessmentItemRefId;
     this.SetAssociationType(associationType);
 }
コード例 #3
0
 /// <summary>
 /// Sets the value of the <c>&lt;AssociationType&gt;</c> element.
 /// </summary>
 /// <param name="val">A AssociationType object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this element as: "Indicates the type of association."</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.6</para>
 /// </remarks>
 public void SetAssociationType( AssociationType val )
 {
     SetField( AssessmentDTD.SIF3ASSESSMENTITEMASSOCIATION_ASSOCIATIONTYPE, val );
 }
コード例 #4
0
 /// <summary>
 /// Sets the value of the <c>&lt;AssociationType&gt;</c> element.
 /// </summary>
 /// <param name="val">A AssociationType object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this element as: "Indicates the type of association."</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.6</para>
 /// </remarks>
 public void SetAssociationType(AssociationType val)
 {
     SetField(AssessmentDTD.SIF3ASSESSMENTITEMASSOCIATION_ASSOCIATIONTYPE, val);
 }