/// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="type">This attribute indicates the source of the report definition.</param>
 ///<param name="queryLanguage">The vendor-defined query language used in the report definition (e.g. SQL, ExampleObject,        Description, com.vendor.format, etc.).  If the Type attribute is SIF_Query, then QueryLanguage should also be SIF_Query.        If the Type attribute is SIF_ExtendedQuery, then QueryLanguage should also be SIF_ExtendedQuery.</param>
 ///<param name="value">Gets or sets the content value of the &amp;lt;ReportDefinitionSource&amp;gt; element</param>
 ///
 public ReportDefinitionSource( ReportDefinitionSourceType type, string queryLanguage, string value )
     : base(ReportingDTD.REPORTDEFINITIONSOURCE)
 {
     this.SetType( type );
     this.QueryLanguage = queryLanguage;
     this.Value = value;
 }
Example #2
0
 ///<summary>Sets the value of the <c>&lt;ReportDefinitionSource&gt;</c> element.</summary>
 /// <param name="Type">This attribute indicates the source of the report definition.</param>
 /// <param name="QueryLanguage">The vendor-defined query language used in the report definition (e.g. SQL, ExampleObject,        Description, com.vendor.format, etc.).  If the Type attribute is SIF_Query, then QueryLanguage should also be SIF_Query.        If the Type attribute is SIF_ExtendedQuery, then QueryLanguage should also be SIF_ExtendedQuery.</param>
 /// <param name="Value">Gets or sets the content value of the &amp;lt;ReportDefinitionSource&amp;gt; element</param>
 ///<remarks>
 /// <para>This form of <c>setReportDefinitionSource</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>ReportDefinitionSource</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.3</para>
 /// </remarks>
 public void SetReportDefinitionSource(ReportDefinitionSourceType Type, string QueryLanguage, string Value)
 {
     RemoveChild(ReportingDTD.REPORTMANIFEST_REPORTDEFINITIONSOURCE);
     AddChild(ReportingDTD.REPORTMANIFEST_REPORTDEFINITIONSOURCE, new ReportDefinitionSource(Type, QueryLanguage, Value));
 }
 /// <summary>
 /// Sets the value of the <c>Type</c> attribute.
 /// </summary>
 /// <param name="val">A ReportDefinitionSourceType object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this attribute as: "This attribute indicates the source of the report definition."</para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 2.3</para>
 /// </remarks>
 public void SetType( ReportDefinitionSourceType val )
 {
     SetField( ReportingDTD.REPORTDEFINITIONSOURCE_TYPE, val );
 }
Example #4
0
 ///<summary>Sets the value of the <c>&lt;ReportDefinitionSource&gt;</c> element.</summary>
 /// <param name="Type">This attribute indicates the source of the report definition.</param>
 /// <param name="QueryLanguage">The vendor-defined query language used in the report definition (e.g. SQL, ExampleObject,        Description, com.vendor.format, etc.).  If the Type attribute is SIF_Query, then QueryLanguage should also be SIF_Query.        If the Type attribute is SIF_ExtendedQuery, then QueryLanguage should also be SIF_ExtendedQuery.</param>
 /// <param name="Value">Gets or sets the content value of the &amp;lt;ReportDefinitionSource&amp;gt; element</param>
 ///<remarks>
 /// <para>This form of <c>setReportDefinitionSource</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>ReportDefinitionSource</c></para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 2.3</para>
 /// </remarks>
 public void SetReportDefinitionSource( ReportDefinitionSourceType Type, string QueryLanguage, string Value )
 {
     RemoveChild( ReportingDTD.REPORTMANIFEST_REPORTDEFINITIONSOURCE);
     AddChild( ReportingDTD.REPORTMANIFEST_REPORTDEFINITIONSOURCE, new ReportDefinitionSource( Type, QueryLanguage, Value ) );
 }
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="type">This attribute indicates the source of the report definition.</param>
 ///<param name="queryLanguage">The vendor-defined query language used in the report definition (e.g. SQL, ExampleObject,        Description, com.vendor.format, etc.).  If the Type attribute is SIF_Query, then QueryLanguage should also be SIF_Query.        If the Type attribute is SIF_ExtendedQuery, then QueryLanguage should also be SIF_ExtendedQuery.</param>
 ///<param name="value">Gets or sets the content value of the &amp;lt;ReportDefinitionSource&amp;gt; element</param>
 ///
 public ReportDefinitionSource(ReportDefinitionSourceType type, string queryLanguage, string value) : base(ReportingDTD.REPORTDEFINITIONSOURCE)
 {
     this.SetType(type);
     this.QueryLanguage = queryLanguage;
     this.Value         = value;
 }
 /// <summary>
 /// Sets the value of the <c>Type</c> attribute.
 /// </summary>
 /// <param name="val">A ReportDefinitionSourceType object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this attribute as: "This attribute indicates the source of the report definition."</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.3</para>
 /// </remarks>
 public void SetType(ReportDefinitionSourceType val)
 {
     SetField(ReportingDTD.REPORTDEFINITIONSOURCE_TYPE, val);
 }