コード例 #1
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="residencyStatus">A ResidencyStatus</param>
 ///<param name="providingInstruction">Flag that indicates if the reporting organization is providing instruction to the student.</param>
 ///<param name="providingServices">Flag that indicates if the reporting organization is providing services that are not related to instruction to the student. An example of a non-instructional service is transportation.</param>
 ///<param name="financiallyResponsible">Flag that indicates if the reporting organization is financially responsible for the student.</param>
 ///
 public OrganizationRelationshipType(ResidencyStatus residencyStatus, bool?providingInstruction, bool?providingServices, bool?financiallyResponsible) : base(CommonDTD.ORGANIZATIONRELATIONSHIPTYPE)
 {
     this.ResidencyStatus        = residencyStatus;
     this.ProvidingInstruction   = providingInstruction;
     this.ProvidingServices      = providingServices;
     this.FinanciallyResponsible = financiallyResponsible;
 }
コード例 #2
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="residencyStatus">A ResidencyStatus</param>
 ///<param name="providingInstruction">Flag that indicates if the reporting organization is providing instruction to the student.</param>
 ///<param name="providingServices">Flag that indicates if the reporting organization is providing services that are not related to instruction to the student. An example of a non-instructional service is transportation.</param>
 ///<param name="financiallyResponsible">Flag that indicates if the reporting organization is financially responsible for the student.</param>
 ///
 public OrganizationRelationshipType( ResidencyStatus residencyStatus, bool? providingInstruction, bool? providingServices, bool? financiallyResponsible )
     : base(CommonDTD.ORGANIZATIONRELATIONSHIPTYPE)
 {
     this.ResidencyStatus = residencyStatus;
     this.ProvidingInstruction = providingInstruction;
     this.ProvidingServices = providingServices;
     this.FinanciallyResponsible = financiallyResponsible;
 }
コード例 #3
0
 ///<summary>Sets the value of the <c>&lt;LEARelationshipType&gt;</c> element.</summary>
 /// <param name="ResidencyStatus">A ResidencyStatus</param>
 /// <param name="ProvidingInstruction">Flag that indicates if the reporting organization is providing instruction to the student.</param>
 /// <param name="ProvidingServices">Flag that indicates if the reporting organization is providing services that are not related to instruction to the student. An example of a non-instructional service is transportation.</param>
 /// <param name="FinanciallyResponsible">Flag that indicates if the reporting organization is financially responsible for the student.</param>
 ///<remarks>
 /// <para>This form of <c>setLEARelationshipType</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>LEARelationshipType</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.2</para>
 /// </remarks>
 public void SetLEARelationshipType(ResidencyStatus ResidencyStatus, bool?ProvidingInstruction, bool?ProvidingServices, bool?FinanciallyResponsible)
 {
     RemoveChild(CommonDTD.STUDENTLEARELATIONSHIP_LEARELATIONSHIPTYPE);
     AddChild(CommonDTD.STUDENTLEARELATIONSHIP_LEARELATIONSHIPTYPE, new OrganizationRelationshipType(ResidencyStatus, ProvidingInstruction, ProvidingServices, FinanciallyResponsible));
 }
コード例 #4
0
 ///<summary>Sets the value of the <c>&lt;LEARelationshipType&gt;</c> element.</summary>
 /// <param name="ResidencyStatus">A ResidencyStatus</param>
 /// <param name="ProvidingInstruction">Flag that indicates if the reporting organization is providing instruction to the student.</param>
 /// <param name="ProvidingServices">Flag that indicates if the reporting organization is providing services that are not related to instruction to the student. An example of a non-instructional service is transportation.</param>
 /// <param name="FinanciallyResponsible">Flag that indicates if the reporting organization is financially responsible for the student.</param>
 ///<remarks>
 /// <para>This form of <c>setLEARelationshipType</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>LEARelationshipType</c></para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 2.2</para>
 /// </remarks>
 public void SetLEARelationshipType( ResidencyStatus ResidencyStatus, bool? ProvidingInstruction, bool? ProvidingServices, bool? FinanciallyResponsible )
 {
     RemoveChild( CommonDTD.STUDENTLEARELATIONSHIP_LEARELATIONSHIPTYPE);
     AddChild( CommonDTD.STUDENTLEARELATIONSHIP_LEARELATIONSHIPTYPE, new OrganizationRelationshipType( ResidencyStatus, ProvidingInstruction, ProvidingServices, FinanciallyResponsible ) );
 }