Exemple #1
0
 ///<summary>Sets the value of the <c>&lt;AssociatedRoleRefId&gt;</c> element.</summary>
 /// <param name="Type">The object type of the Person's associated role.</param>
 /// <param name="Value">Gets or sets the content value of the &amp;lt;AssociatedRoleRefId&amp;gt; element</param>
 ///<remarks>
 /// <para>This form of <c>setAssociatedRoleRefId</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>AssociatedRoleRefId</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.6</para>
 /// </remarks>
 public void SetAssociatedRoleRefId( TypeRole Type, string Value )
 {
     RemoveChild( InstrDTD.PERSON_ASSOCIATEDROLEREFID);
     AddChild( InstrDTD.PERSON_ASSOCIATEDROLEREFID, new AssociatedRoleRefId( Type, Value ) );
 }
Exemple #2
0
 /// <summary>
 /// Sets the value of the <c>Type</c> attribute.
 /// </summary>
 /// <param name="val">A TypeRole object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this attribute as: "The object type of the Person's associated role."</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.6</para>
 /// </remarks>
 public void SetType(TypeRole val)
 {
     SetField(InstrDTD.ASSOCIATEDROLEREFID_TYPE, val);
 }
Exemple #3
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="type">The object type of the Person's associated role.</param>
 ///<param name="value">Gets or sets the content value of the &amp;lt;AssociatedRoleRefId&amp;gt; element</param>
 ///
 public AssociatedRoleRefId(TypeRole type, string value) : base(InstrDTD.ASSOCIATEDROLEREFID)
 {
     this.SetType(type);
     this.Value = value;
 }
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="type">The object type of the Person's associated role.</param>
 ///<param name="value">Gets or sets the content value of the &amp;lt;AssociatedRoleRefId&amp;gt; element</param>
 ///
 public AssociatedRoleRefId( TypeRole type, string value )
     : base(InstrDTD.ASSOCIATEDROLEREFID)
 {
     this.SetType( type );
     this.Value = value;
 }
 /// <summary>
 /// Sets the value of the <c>Type</c> attribute.
 /// </summary>
 /// <param name="val">A TypeRole object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this attribute as: "The object type of the Person's associated role."</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.6</para>
 /// </remarks>
 public void SetType( TypeRole val )
 {
     SetField( InstrDTD.ASSOCIATEDROLEREFID_TYPE, val );
 }
Exemple #6
0
 /// <summary>
 /// Sets the value of the <c>Type</c> attribute.
 /// </summary>
 /// <param name="val">A TypeRole object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this attribute as: "The type of the object representing the Creator."</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.6</para>
 /// </remarks>
 public void SetType(TypeRole val)
 {
     SetField(InstrDTD.CREATORPERSON_TYPE, val);
 }
 /// <summary>
 /// Sets the value of the <c>Type</c> attribute.
 /// </summary>
 /// <param name="val">A TypeRole object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this attribute as: "The type of the object representing the Creator."</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.6</para>
 /// </remarks>
 public void SetType( TypeRole val )
 {
     SetField( InstrDTD.CREATORPERSON_TYPE, val );
 }
Exemple #8
0
 ///<summary>Sets the value of the <c>&lt;AssociatedRoleRefId&gt;</c> element.</summary>
 /// <param name="Type">The object type of the Person's associated role.</param>
 /// <param name="Value">Gets or sets the content value of the &amp;lt;AssociatedRoleRefId&amp;gt; element</param>
 ///<remarks>
 /// <para>This form of <c>setAssociatedRoleRefId</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>AssociatedRoleRefId</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.6</para>
 /// </remarks>
 public void SetAssociatedRoleRefId(TypeRole Type, string Value)
 {
     RemoveChild(InstrDTD.PERSON_ASSOCIATEDROLEREFID);
     AddChild(InstrDTD.PERSON_ASSOCIATEDROLEREFID, new AssociatedRoleRefId(Type, Value));
 }