/// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="refId">A RefId</param>
 ///<param name="schoolInfoRefId">A SchoolInfoRefId</param>
 ///<param name="resourceUsageContentType">A ResourceUsageContentType</param>
 ///<param name="resourceReportColumnList">A ResourceReportColumnList</param>
 ///<param name="resourceReportLineList">A ResourceReportLineList</param>
 ///
 public ResourceUsage( string refId, string schoolInfoRefId, ResourceUsageContentType resourceUsageContentType, ResourceReportColumn resourceReportColumnList, ResourceReportLine resourceReportLineList )
     : base(Adk.SifVersion, SchoolDTD.RESOURCEUSAGE)
 {
     this.RefId = refId;
     this.SchoolInfoRefId = schoolInfoRefId;
     this.ResourceUsageContentType = resourceUsageContentType;
     this.ResourceReportColumnList =  new ResourceReportColumnList( resourceReportColumnList );
     this.ResourceReportLineList =  new ResourceReportLineList( resourceReportLineList );
 }
Exemple #2
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="refId">A RefId</param>
 ///<param name="schoolInfoRefId">A SchoolInfoRefId</param>
 ///<param name="resourceUsageContentType">A ResourceUsageContentType</param>
 ///<param name="resourceReportColumnList">A ResourceReportColumnList</param>
 ///<param name="resourceReportLineList">A ResourceReportLineList</param>
 ///
 public ResourceUsage(string refId, string schoolInfoRefId, ResourceUsageContentType resourceUsageContentType, ResourceReportColumn resourceReportColumnList, ResourceReportLine resourceReportLineList) : base(Adk.SifVersion, SchoolDTD.RESOURCEUSAGE)
 {
     this.RefId                    = refId;
     this.SchoolInfoRefId          = schoolInfoRefId;
     this.ResourceUsageContentType = resourceUsageContentType;
     this.ResourceReportColumnList = new ResourceReportColumnList(resourceReportColumnList);
     this.ResourceReportLineList   = new ResourceReportLineList(resourceReportLineList);
 }
 ///<summary>Sets the value of the <c>&lt;ResourceReportLineList&gt;</c> element.</summary>
 /// <param name="ResourceReportLine">A ResourceReportLine</param>
 ///<remarks>
 /// <para>This form of <c>setResourceReportLineList</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>ResourceReportLineList</c></para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 2.5</para>
 /// </remarks>
 public void SetResourceReportLineList( ResourceReportLine ResourceReportLine )
 {
     RemoveChild( SchoolDTD.RESOURCEUSAGE_RESOURCEREPORTLINELIST);
     AddChild( SchoolDTD.RESOURCEUSAGE_RESOURCEREPORTLINELIST, new ResourceReportLineList( ResourceReportLine ) );
 }
Exemple #4
0
 ///<summary>Sets the value of the <c>&lt;ResourceReportLineList&gt;</c> element.</summary>
 /// <param name="ResourceReportLine">A ResourceReportLine</param>
 ///<remarks>
 /// <para>This form of <c>setResourceReportLineList</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>ResourceReportLineList</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.5</para>
 /// </remarks>
 public void SetResourceReportLineList(ResourceReportLine ResourceReportLine)
 {
     RemoveChild(SchoolDTD.RESOURCEUSAGE_RESOURCEREPORTLINELIST);
     AddChild(SchoolDTD.RESOURCEUSAGE_RESOURCEREPORTLINELIST, new ResourceReportLineList(ResourceReportLine));
 }