示例#1
0
 ///<summary>Sets the value of the <c>&lt;Traveller&gt;</c> element.</summary>
 /// <param name="Code">Code to identify type of traveller/gypsy.</param>
 ///<remarks>
 /// <para>This form of <c>setTraveller</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>Traveller</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetTraveller( TravellerCode Code )
 {
     RemoveChild( CommonDTD.DEMOGRAPHICS_TRAVELLER);
     AddChild( CommonDTD.DEMOGRAPHICS_TRAVELLER, new Traveller( Code ) );
 }
示例#2
0
 ///<summary>Sets the value of the <c>&lt;Traveller&gt;</c> element.</summary>
 /// <param name="Code">Code to identify type of traveller/gypsy.</param>
 ///<remarks>
 /// <para>This form of <c>setTraveller</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>Traveller</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetTraveller(TravellerCode Code)
 {
     RemoveChild(CommonDTD.DEMOGRAPHICS_TRAVELLER);
     AddChild(CommonDTD.DEMOGRAPHICS_TRAVELLER, new Traveller(Code));
 }
示例#3
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="code">Code to identify type of traveller/gypsy.</param>
 ///
 public Traveller( TravellerCode code )
     : base(CommonDTD.TRAVELLER)
 {
     this.SetCode( code );
 }
示例#4
0
 /// <summary>
 /// Sets the value of the <c>&lt;Code&gt;</c> element.
 /// </summary>
 /// <param name="val">A TravellerCode object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this element as: "Code to identify type of traveller/gypsy."</para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetCode( TravellerCode val )
 {
     SetField( CommonDTD.TRAVELLER_CODE, val );
 }
示例#5
0
 /// <summary>
 /// Sets the value of the <c>&lt;Code&gt;</c> element.
 /// </summary>
 /// <param name="val">A TravellerCode object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this element as: "Code to identify type of traveller/gypsy."</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetCode(TravellerCode val)
 {
     SetField(CommonDTD.TRAVELLER_CODE, val);
 }
示例#6
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="code">Code to identify type of traveller/gypsy.</param>
 ///
 public Traveller(TravellerCode code) : base(CommonDTD.TRAVELLER)
 {
     this.SetCode(code);
 }