///<summary>Sets the value of the <c>&lt;Relationship&gt;</c> element.</summary>
 /// <param name="Code">Code representing the relationship.</param>
 ///<remarks>
 /// <para>This form of <c>setRelationship</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>Relationship</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.4</para>
 /// </remarks>
 public void SetRelationship( RelationshipCode Code )
 {
     RemoveChild( StudentDTD.STUDENTCONTACTRELATIONSHIP_RELATIONSHIP);
     AddChild( StudentDTD.STUDENTCONTACTRELATIONSHIP_RELATIONSHIP, new Relationship( Code ) );
 }
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="code">Code representing the relationship.</param>
 ///
 public Relationship( RelationshipCode code )
     : base(CommonDTD.RELATIONSHIP)
 {
     this.SetCode( code );
 }
Exemple #3
0
 ///<summary>Sets the value of the <c>&lt;Relationship&gt;</c> element.</summary>
 /// <param name="Code">Code representing the relationship.</param>
 ///<remarks>
 /// <para>This form of <c>setRelationship</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>Relationship</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 1.5r1</para>
 /// </remarks>
 public void SetRelationship( RelationshipCode Code )
 {
     RemoveChild( ReportingDTD.SLCONTACT_RELATIONSHIP);
     AddChild( ReportingDTD.SLCONTACT_RELATIONSHIP, new Relationship( Code ) );
 }
 /// <summary>
 /// Sets the value of the <c>Code</c> attribute.
 /// </summary>
 /// <param name="val">A RelationshipCode object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this attribute as: "Code representing the relationship."</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 1.1</para>
 /// </remarks>
 public void SetCode( RelationshipCode val )
 {
     SetField( CommonDTD.RELATIONSHIP_CODE, val );
 }
Exemple #5
0
 ///<summary>Sets the value of the <c>&lt;Relationship&gt;</c> element.</summary>
 /// <param name="Code">Code representing the relationship.</param>
 ///<remarks>
 /// <para>This form of <c>setRelationship</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>Relationship</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.4</para>
 /// </remarks>
 public void SetRelationship(RelationshipCode Code)
 {
     RemoveChild(CommonDTD.CONTACT_RELATIONSHIP);
     AddChild(CommonDTD.CONTACT_RELATIONSHIP, new Relationship(Code));
 }
Exemple #6
0
 ///<summary>Sets the value of the <c>&lt;Relationship&gt;</c> element.</summary>
 /// <param name="Code">Code representing the relationship.</param>
 ///<remarks>
 /// <para>This form of <c>setRelationship</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>Relationship</c></para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 2.4</para>
 /// </remarks>
 public void SetRelationship( RelationshipCode Code )
 {
     RemoveChild( CommonDTD.CONTACT_RELATIONSHIP);
     AddChild( CommonDTD.CONTACT_RELATIONSHIP, new Relationship( Code ) );
 }
Exemple #7
0
 /// <summary>
 /// Sets the value of the <c>Code</c> attribute.
 /// </summary>
 /// <param name="val">A RelationshipCode object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this attribute as: "Code representing the relationship."</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 1.1</para>
 /// </remarks>
 public void SetCode(RelationshipCode val)
 {
     SetField(CommonDTD.RELATIONSHIP_CODE, val);
 }
Exemple #8
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="code">Code representing the relationship.</param>
 ///
 public Relationship(RelationshipCode code) : base(CommonDTD.RELATIONSHIP)
 {
     this.SetCode(code);
 }