/// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="refId">This is the unique identification code</param>
 ///<param name="studentPersonalRefId">The GUID of the student that this object is linked to.</param>
 ///<param name="type">A Type</param>
 ///
 public StudentParticipation( string refId, string studentPersonalRefId, StudentParticipationType type )
     : base(Adk.SifVersion, ProgramsDTD.STUDENTPARTICIPATION)
 {
     this.RefId = refId;
     this.StudentPersonalRefId = studentPersonalRefId;
     this.SetType( type );
 }
 /// <summary>
 /// Sets the value of the <c>Type</c> attribute.
 /// </summary>
 /// <param name="val">A StudentParticipationType object</param>
 /// <remarks>
 /// <para>Version: 1.5r1</para>
 /// <para>Since: 1.5r1</para>
 /// </remarks>
 public void SetType( StudentParticipationType val )
 {
     SetField( ProgramsDTD.STUDENTPARTICIPATION_TYPE, val );
 }