コード例 #1
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="code">Code representing the relationship.</param>
 ///
 public Relationship( AU0609RelationshipToStudentType code )
     : base(CommonDTD.RELATIONSHIP)
 {
     this.SetCode( code );
 }
コード例 #2
0
 /// <summary>
 /// Sets the value of the <c>&lt;Code&gt;</c> element.
 /// </summary>
 /// <param name="val">A AU0609RelationshipToStudentType object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this element as: "Code representing the relationship."</para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 2.3</para>
 /// </remarks>
 public void SetCode( AU0609RelationshipToStudentType val )
 {
     SetField( CommonDTD.RELATIONSHIP_CODE, val );
 }
コード例 #3
0
 /// <summary>
 /// Sets the value of the <c>&lt;Relationship&gt;</c> element.
 /// </summary>
 /// <param name="val">A AU0609RelationshipToStudentType object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this element as: "Defines the relationship of the contact to the student."</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.3</para>
 /// </remarks>
 public void SetRelationship( AU0609RelationshipToStudentType val )
 {
     SetField( StudentDTD.STUDENTCONTACT_RELATIONSHIP, val );
 }
コード例 #4
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.3</para>
 /// </remarks>
 public void SetRelationship( AU0609RelationshipToStudentType Code )
 {
     RemoveChild( StudentDTD.STUDENTCONTACTRELATIONSHIP_RELATIONSHIP);
     AddChild( StudentDTD.STUDENTCONTACTRELATIONSHIP_RELATIONSHIP, new Relationship( Code ) );
 }
コード例 #5
0
 /// <summary>
 /// Sets the value of the <c>&lt;Code&gt;</c> element.
 /// </summary>
 /// <param name="val">A AU0609RelationshipToStudentType object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this element as: "Code representing the relationship."</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.3</para>
 /// </remarks>
 public void SetCode(AU0609RelationshipToStudentType val)
 {
     SetField(CommonDTD.RELATIONSHIP_CODE, val);
 }
コード例 #6
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="code">Code representing the relationship.</param>
 ///
 public Relationship(AU0609RelationshipToStudentType code) : base(CommonDTD.RELATIONSHIP)
 {
     this.SetCode(code);
 }