Пример #1
0
	/// <summary>
	/// Constructor that accepts values for all mandatory fields
	/// </summary>
	///<param name="refId">The unique identifier for this agency/report authority.</param>
	///<param name="authorityName">Name of the agency/report authority.</param>
	///<param name="authorityId">The zone unique case-sensitive identifier for the authority. This will be the contents of the SIF_SourceId element in the header of requests for reports.</param>
	///<param name="authorityLevel">Level of the authority.</param>
	///
	public ReportAuthorityInfo( string refId, string authorityName, string authorityId, AuthorityLevel authorityLevel ) : base( Adk.SifVersion, ReportingDTD.REPORTAUTHORITYINFO )
	{
		this.RefId = refId;
		this.AuthorityName = authorityName;
		this.AuthorityId = authorityId;
		this.SetAuthorityLevel( authorityLevel );
	}
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="refId">The unique identifier for this agency/report authority.</param>
 ///<param name="authorityName">Name of the agency/report authority.</param>
 ///<param name="authorityId">The zone unique case-sensitive identifier for the authority. This will be the contents of the SIF_SourceId element in the header of requests for reports.</param>
 ///<param name="authorityLevel">Level of the authority.</param>
 ///
 public ReportAuthorityInfo( string refId, string authorityName, string authorityId, AuthorityLevel authorityLevel )
     : base(Adk.SifVersion, ReportingDTD.REPORTAUTHORITYINFO)
 {
     this.RefId = refId;
     this.AuthorityName = authorityName;
     this.AuthorityId = authorityId;
     this.SetAuthorityLevel( authorityLevel );
 }
 /// <summary>
 /// Sets the value of the <c>&lt;AuthorityLevel&gt;</c> element.
 /// </summary>
 /// <param name="val">A AuthorityLevel object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this element as: "Level of the authority."</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.3</para>
 /// </remarks>
 public void SetAuthorityLevel( AuthorityLevel val )
 {
     SetField( ReportingDTD.REPORTAUTHORITYINFO_AUTHORITYLEVEL, val );
 }
Пример #4
0
	/// <summary>
	/// Sets the value of the <c>&lt;AuthorityLevel&gt;</c> element.
	/// </summary>
	/// <param name="val">A AuthorityLevel object</param>
	/// <remarks>
	/// <para>The SIF specification defines the meaning of this element as: "Level of the authority."</para>
	/// <para>Version: 2.6</para>
	/// <para>Since: 2.3</para>
	/// </remarks>
	public void SetAuthorityLevel( AuthorityLevel val )
	{
		SetField( ReportingDTD.REPORTAUTHORITYINFO_AUTHORITYLEVEL, val );
	}