/// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="type">The specific classification for the neglected or delinquent program.</param>
 ///
 public NeglectedOrDelinquentParticipation( NeglectedOrDelinquentParticipationType type )
     : base(ProgramsDTD.NEGLECTEDORDELINQUENTPARTICIPATION)
 {
     this.SetType( type );
 }
 /// <summary>
 /// Sets the value of the <c>&lt;Type&gt;</c> element.
 /// </summary>
 /// <param name="val">A NeglectedOrDelinquentParticipationType object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this element as: "The specific classification for the neglected or delinquent program."</para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 2.4</para>
 /// </remarks>
 public void SetType( NeglectedOrDelinquentParticipationType val )
 {
     SetField( ProgramsDTD.NEGLECTEDORDELINQUENTPARTICIPATION_TYPE, val );
 }
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="type">The specific classification for the neglected or delinquent program.</param>
 ///
 public NeglectedOrDelinquentParticipation(NeglectedOrDelinquentParticipationType type) : base(ProgramsDTD.NEGLECTEDORDELINQUENTPARTICIPATION)
 {
     this.SetType(type);
 }
 /// <summary>
 /// Sets the value of the <c>&lt;Type&gt;</c> element.
 /// </summary>
 /// <param name="val">A NeglectedOrDelinquentParticipationType object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this element as: "The specific classification for the neglected or delinquent program."</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.4</para>
 /// </remarks>
 public void SetType(NeglectedOrDelinquentParticipationType val)
 {
     SetField(ProgramsDTD.NEGLECTEDORDELINQUENTPARTICIPATION_TYPE, val);
 }
Example #5
0
 ///<summary>Adds the value of the <c>&lt;NeglectedOrDelinquentParticipation&gt;</c> element.</summary>
 /// <param name="Type">The specific classification for the neglected or delinquent program.</param>
 ///<remarks>
 /// <para>This form of <c>setNeglectedOrDelinquentParticipation</c> is provided as a convenience method
 /// that is functionally equivalent to the method <c>AddNeglectedOrDelinquentParticipation</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.4</para>
 /// </remarks>
 public void AddNeglectedOrDelinquentParticipation(NeglectedOrDelinquentParticipationType Type)
 {
     AddChild(ProgramsDTD.NEGLECTEDORDELINQUENTPARTICIPATIONLIST_NEGLECTEDORDELINQUENTPARTICIPATION, new NeglectedOrDelinquentParticipation(Type));
 }