///<summary>Sets the value of the <c>&lt;SchoolAddress&gt;</c> element.</summary>
 /// <param name="Type">Code that defines the address type. CBDS: 100102, 100173</param>
 /// <param name="Paon">An element defining the Primary Addressable Object Name (PAON), typically a building number or house name.</param>
 ///<remarks>
 /// <para>This form of <c>setSchoolAddress</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>SchoolAddress</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetSchoolAddress( AddressType Type, AddressableObjectName Paon )
 {
     RemoveChild( SchoolDTD.SCHOOLINFO_SCHOOLADDRESS);
     AddChild( SchoolDTD.SCHOOLINFO_SCHOOLADDRESS, new Address( Type, Paon ) );
 }
 ///<summary>Sets the value of the <c>&lt;Address&gt;</c> element.</summary>
 /// <param name="Type">Code that defines the address type. CBDS: 100102, 100173</param>
 /// <param name="Paon">An element defining the Primary Addressable Object Name (PAON), typically a building number or house name.</param>
 ///<remarks>
 /// <para>This form of <c>setAddress</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>Address</c></para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetAddress( AddressType Type, AddressableObjectName Paon )
 {
     RemoveChild( CommonDTD.PERSONALINFORMATION_ADDRESS);
     AddChild( CommonDTD.PERSONALINFORMATION_ADDRESS, new Address( Type, Paon ) );
 }
Exemple #3
0
 /// <summary>
 /// Sets the value of the <c>Type</c> attribute.
 /// </summary>
 /// <param name="val">A AddressType object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this attribute as: "Code that defines the address type. CBDS: 100102, 100173"</para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetType( AddressType val )
 {
     SetField( CommonDTD.ADDRESS_TYPE, val );
 }
Exemple #4
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="type">Code that defines the address type. CBDS: 100102, 100173</param>
 ///<param name="paon">An element defining the Primary Addressable Object Name (PAON), typically a building number or house name.</param>
 ///
 public Address( AddressType type, AddressableObjectName paon )
     : base(CommonDTD.ADDRESS)
 {
     this.SetType( type );
     this.PAON = paon;
 }
 ///<summary>Sets the value of the <c>&lt;Address&gt;</c> element.</summary>
 /// <param name="Type">Code that defines the address type. CBDS: 100102, 100173</param>
 /// <param name="Paon">An element defining the Primary Addressable Object Name (PAON), typically a building number or house name.</param>
 ///<remarks>
 /// <para>This form of <c>setAddress</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>Address</c></para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetAddress( AddressType Type, AddressableObjectName Paon )
 {
     RemoveChild( CommonDTD.CONTACTINFO_ADDRESS);
     AddChild( CommonDTD.CONTACTINFO_ADDRESS, new Address( Type, Paon ) );
 }
Exemple #6
0
 ///<summary>Sets the value of the <c>&lt;LAAddress&gt;</c> element.</summary>
 /// <param name="Type">Code that defines the address type. CBDS: 100102, 100173</param>
 /// <param name="Paon">An element defining the Primary Addressable Object Name (PAON), typically a building number or house name.</param>
 ///<remarks>
 /// <para>This form of <c>setLAAddress</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>LAAddress</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetLAAddress( AddressType Type, AddressableObjectName Paon )
 {
     RemoveChild( SchoolDTD.LAINFO_LAADDRESS);
     AddChild( SchoolDTD.LAINFO_LAADDRESS, new Address( Type, Paon ) );
 }
 ///<summary>Sets the value of the <c>&lt;Address&gt;</c> element.</summary>
 /// <param name="Type">Code that defines the address type. CBDS: 100102, 100173</param>
 /// <param name="Paon">An element defining the Primary Addressable Object Name (PAON), typically a building number or house name.</param>
 ///<remarks>
 /// <para>This form of <c>setAddress</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>Address</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetAddress(AddressType Type, AddressableObjectName Paon)
 {
     RemoveChild(CommonDTD.CONTACTINFO_ADDRESS);
     AddChild(CommonDTD.CONTACTINFO_ADDRESS, new Address(Type, Paon));
 }