/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="code">Code indicating the destination type. CBDS: 100072</param> /// public Destination( LeavingDestination code ) : base(LearnerDTD.DESTINATION) { this.SetCode( code ); }
/// <summary> /// Sets the value of the <c><Code></c> element. /// </summary> /// <param name="val">A LeavingDestination object</param> /// <remarks> /// <para>The SIF specification defines the meaning of this element as: "Code indicating the destination type. CBDS: 100072"</para> /// <para>Version: 2.6</para> /// <para>Since: 2.0</para> /// </remarks> public void SetCode( LeavingDestination val ) { SetField( LearnerDTD.DESTINATION_CODE, val ); }
///<summary>Sets the value of the <c><Destination></c> element.</summary> /// <param name="Code">Code indicating the destination type. CBDS: 100072</param> ///<remarks> /// <para>This form of <c>setDestination</c> is provided as a convenience method /// that is functionally equivalent to the <c>Destination</c></para> /// <para>Version: 2.6</para> /// <para>Since: 2.0</para> /// </remarks> public void SetDestination( LeavingDestination Code ) { RemoveChild( LearnerDTD.EXITTYPE_DESTINATION); AddChild( LearnerDTD.EXITTYPE_DESTINATION, new Destination( Code ) ); }
/// <summary> /// Sets the value of the <c><Code></c> element. /// </summary> /// <param name="val">A LeavingDestination object</param> /// <remarks> /// <para>The SIF specification defines the meaning of this element as: "Code indicating the destination type. CBDS: 100072"</para> /// <para>Version: 2.6</para> /// <para>Since: 2.0</para> /// </remarks> public void SetCode(LeavingDestination val) { SetField(LearnerDTD.DESTINATION_CODE, val); }
/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="code">Code indicating the destination type. CBDS: 100072</param> /// public Destination(LeavingDestination code) : base(LearnerDTD.DESTINATION) { this.SetCode(code); }
///<summary>Sets the value of the <c><Destination></c> element.</summary> /// <param name="Code">Code indicating the destination type. CBDS: 100072</param> ///<remarks> /// <para>This form of <c>setDestination</c> is provided as a convenience method /// that is functionally equivalent to the <c>Destination</c></para> /// <para>Version: 2.6</para> /// <para>Since: 2.0</para> /// </remarks> public void SetDestination(LeavingDestination Code) { RemoveChild(LearnerDTD.EXITTYPE_DESTINATION); AddChild(LearnerDTD.EXITTYPE_DESTINATION, new Destination(Code)); }