コード例 #1
0
ファイル: ReportInfo.cs プロジェクト: pgodwin/OpenADK-csharp
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="reportManifestRefId">The report manifest corresponding to this report.</param>
 ///<param name="calculationDate">The date on which the report was calculated.</param>
 ///<param name="submissionNumber">A number that identifies the submission; beginning at 1 and incremented each time a submission is done for a particular report; used to indicate resubmission(s).</param>
 ///<param name="submissionReason">Reason for the report submission.</param>
 ///
 public ReportInfo( string reportManifestRefId, DateTime? calculationDate, int? submissionNumber, SubmissionReason submissionReason )
     : base(ReportingDTD.REPORTINFO)
 {
     this.ReportManifestRefId = reportManifestRefId;
     this.CalculationDate = calculationDate;
     this.SubmissionNumber = submissionNumber;
     this.SetSubmissionReason( submissionReason );
 }
コード例 #2
0
 ///<summary>Sets the value of the <c>&lt;ReportInfo&gt;</c> element.</summary>
 /// <param name="ReportManifestRefId">The report manifest corresponding to this report.</param>
 /// <param name="CalculationDate">The date on which the report was calculated.</param>
 /// <param name="SubmissionNumber">A number that identifies the submission; beginning at 1 and incremented each time a submission is done for a particular report; used to indicate resubmission(s).</param>
 /// <param name="SubmissionReason">Reason for the report submission.</param>
 ///<remarks>
 /// <para>This form of <c>setReportInfo</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>ReportInfo</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetReportInfo(string ReportManifestRefId, DateTime?CalculationDate, int?SubmissionNumber, SubmissionReason SubmissionReason)
 {
     RemoveChild(ReportingDTD.SIF_REPORTOBJECT_REPORTINFO);
     AddChild(ReportingDTD.SIF_REPORTOBJECT_REPORTINFO, new ReportInfo(ReportManifestRefId, CalculationDate, SubmissionNumber, SubmissionReason));
 }
コード例 #3
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="reportManifestRefId">The report manifest corresponding to this report.</param>
 ///<param name="calculationDate">The date on which the report was calculated.</param>
 ///<param name="submissionNumber">A number that identifies the submission; beginning at 1 and incremented each time a submission is done for a particular report; used to indicate resubmission(s).</param>
 ///<param name="submissionReason">Reason for the report submission.</param>
 ///
 public ReportInfo(string reportManifestRefId, DateTime?calculationDate, int?submissionNumber, SubmissionReason submissionReason) : base(ReportingDTD.REPORTINFO)
 {
     this.ReportManifestRefId = reportManifestRefId;
     this.CalculationDate     = calculationDate;
     this.SubmissionNumber    = submissionNumber;
     this.SetSubmissionReason(submissionReason);
 }
コード例 #4
0
 /// <summary>
 /// Sets the value of the <c>&lt;SubmissionReason&gt;</c> element.
 /// </summary>
 /// <param name="val">A SubmissionReason object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this element as: "Reason for the report submission."</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.3</para>
 /// </remarks>
 public void SetSubmissionReason(SubmissionReason val)
 {
     SetField(ReportingDTD.REPORTINFO_SUBMISSIONREASON, val);
 }
コード例 #5
0
ファイル: ReportInfo.cs プロジェクト: pgodwin/OpenADK-csharp
 /// <summary>
 /// Sets the value of the <c>&lt;SubmissionReason&gt;</c> element.
 /// </summary>
 /// <param name="val">A SubmissionReason object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this element as: "Reason for the report submission."</para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 2.3</para>
 /// </remarks>
 public void SetSubmissionReason( SubmissionReason val )
 {
     SetField( ReportingDTD.REPORTINFO_SUBMISSIONREASON, val );
 }
コード例 #6
0
 ///<summary>Sets the value of the <c>&lt;ReportInfo&gt;</c> element.</summary>
 /// <param name="ReportManifestRefId">The report manifest corresponding to this report.</param>
 /// <param name="CalculationDate">The date on which the report was calculated.</param>
 /// <param name="SubmissionNumber">A number that identifies the submission; beginning at 1 and incremented each time a submission is done for a particular report; used to indicate resubmission(s).</param>
 /// <param name="SubmissionReason">Reason for the report submission.</param>
 ///<remarks>
 /// <para>This form of <c>setReportInfo</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>ReportInfo</c></para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetReportInfo( string ReportManifestRefId, DateTime? CalculationDate, int? SubmissionNumber, SubmissionReason SubmissionReason )
 {
     RemoveChild( ReportingDTD.SIF_REPORTOBJECT_REPORTINFO);
     AddChild( ReportingDTD.SIF_REPORTOBJECT_REPORTINFO, new ReportInfo( ReportManifestRefId, CalculationDate, SubmissionNumber, SubmissionReason ) );
 }