/// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="code">
 /// Code representing the setting/environment in which the
 /// person resides</param>
 ///
 public DwellingArrangement( AU0600DwellingArrangementType code )
     : base(CommonDTD.DWELLINGARRANGEMENT)
 {
     this.SetCode( code );
 }
 /// <summary>
 /// Sets the value of the <c>&lt;Code&gt;</c> element.
 /// </summary>
 /// <param name="val">A AU0600DwellingArrangementType object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this element as: "
 /// Code representing the setting/environment in which the
 /// person resides"</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.3</para>
 /// </remarks>
 public void SetCode( AU0600DwellingArrangementType val )
 {
     SetField( CommonDTD.DWELLINGARRANGEMENT_CODE, val );
 }
Example #3
0
 /// <summary>
 /// Sets the value of the <c>&lt;Code&gt;</c> element.
 /// </summary>
 /// <param name="val">A AU0600DwellingArrangementType object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this element as: "
 /// Code representing the setting/environment in which the
 /// person resides"</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.3</para>
 /// </remarks>
 public void SetCode(AU0600DwellingArrangementType val)
 {
     SetField(CommonDTD.DWELLINGARRANGEMENT_CODE, val);
 }
Example #4
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="code">
 /// Code representing the setting/environment in which the
 /// person resides</param>
 ///
 public DwellingArrangement(AU0600DwellingArrangementType code) : base(CommonDTD.DWELLINGARRANGEMENT)
 {
     this.SetCode(code);
 }
Example #5
0
 ///<summary>Sets the value of the <c>&lt;DwellingArrangement&gt;</c> element.</summary>
 /// <param name="Code">
 /// Code representing the setting/environment in which the
 /// person resides</param>
 ///<remarks>
 /// <para>This form of <c>setDwellingArrangement</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>DwellingArrangement</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.3</para>
 /// </remarks>
 public void SetDwellingArrangement(AU0600DwellingArrangementType Code)
 {
     RemoveChild(CommonDTD.DEMOGRAPHICS_DWELLINGARRANGEMENT);
     AddChild(CommonDTD.DEMOGRAPHICS_DWELLINGARRANGEMENT, new DwellingArrangement(Code));
 }
Example #6
0
 ///<summary>Sets the value of the <c>&lt;DwellingArrangement&gt;</c> element.</summary>
 /// <param name="Code">
 /// Code representing the setting/environment in which the
 /// person resides</param>
 ///<remarks>
 /// <para>This form of <c>setDwellingArrangement</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>DwellingArrangement</c></para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 2.3</para>
 /// </remarks>
 public void SetDwellingArrangement( AU0600DwellingArrangementType Code )
 {
     RemoveChild( CommonDTD.DEMOGRAPHICS_DWELLINGARRANGEMENT);
     AddChild( CommonDTD.DEMOGRAPHICS_DWELLINGARRANGEMENT, new DwellingArrangement( Code ) );
 }