///<summary>Sets the value of the <c><AssociatedRoleRefId></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 &lt;AssociatedRoleRefId&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 ) ); }
/// <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); }
/// <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 &lt;AssociatedRoleRefId&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 &lt;AssociatedRoleRefId&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 ); }
/// <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 ); }
///<summary>Sets the value of the <c><AssociatedRoleRefId></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 &lt;AssociatedRoleRefId&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)); }