/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="code">A Code</param> /// public ProgramAvailability( AUCodeSets0211ProgramAvailabilityType code ) : base(ProgramsDTD.PROGRAMAVAILABILITY) { this.SetCode( code ); }
/// <summary> /// Sets the value of the <c><Code></c> element. /// </summary> /// <param name="val">A AUCodeSets0211ProgramAvailabilityType object</param> /// <remarks> /// <para>Version: 2.5</para> /// <para>Since: 2.4</para> /// </remarks> public void SetCode( AUCodeSets0211ProgramAvailabilityType val ) { SetField( ProgramsDTD.PROGRAMAVAILABILITY_CODE, val ); }
///<summary>Sets the value of the <c><ProgramAvailability></c> element.</summary> /// <param name="Code">A Code</param> ///<remarks> /// <para>This form of <c>setProgramAvailability</c> is provided as a convenience method /// that is functionally equivalent to the <c>ProgramAvailability</c></para> /// <para>Version: 2.6</para> /// <para>Since: 2.4</para> /// </remarks> public void SetProgramAvailability( AUCodeSets0211ProgramAvailabilityType Code ) { RemoveChild( ProgramsDTD.STUDENTPARTICIPATION_PROGRAMAVAILABILITY); AddChild( ProgramsDTD.STUDENTPARTICIPATION_PROGRAMAVAILABILITY, new ProgramAvailability( Code ) ); }
///<summary>Sets the value of the <c><ProgramAvailability></c> element.</summary> /// <param name="Code">A Code</param> ///<remarks> /// <para>This form of <c>setProgramAvailability</c> is provided as a convenience method /// that is functionally equivalent to the <c>ProgramAvailability</c></para> /// <para>Version: 2.6</para> /// <para>Since: 2.4</para> /// </remarks> public void SetProgramAvailability(AUCodeSets0211ProgramAvailabilityType Code) { RemoveChild(ProgramsDTD.STUDENTPARTICIPATION_PROGRAMAVAILABILITY); AddChild(ProgramsDTD.STUDENTPARTICIPATION_PROGRAMAVAILABILITY, new ProgramAvailability(Code)); }
/// <summary> /// Sets the value of the <c><Code></c> element. /// </summary> /// <param name="val">A AUCodeSets0211ProgramAvailabilityType object</param> /// <remarks> /// <para>Version: 2.6</para> /// <para>Since: 2.4</para> /// </remarks> public void SetCode(AUCodeSets0211ProgramAvailabilityType val) { SetField(ProgramsDTD.PROGRAMAVAILABILITY_CODE, val); }
/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="code">A Code</param> /// public ProgramAvailability(AUCodeSets0211ProgramAvailabilityType code) : base(ProgramsDTD.PROGRAMAVAILABILITY) { this.SetCode(code); }