Exemple #1
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="accountType">Classification of budgetary account code summary</param>
 ///<param name="fundType">Is the account a general or special account code designation?</param>
 ///<param name="function">Function break in account code for summarization.</param>
 ///<param name="amount">Summarized amount.</param>
 ///
 public AnnualItem(AccountClass accountType, FundType fundType, string function, MonetaryAmount amount) : base(HrfinDTD.ANNUALITEM)
 {
     this.SetAccountType(accountType);
     this.SetFundType(fundType);
     this.Function = function;
     this.Amount   = amount;
 }
Exemple #2
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="accountType">Classification of budgetary account code summary</param>
 ///<param name="fundType">Is the account a general or special account code designation?</param>
 ///<param name="function">Function break in account code for summarization.</param>
 ///<param name="amount">Summarized amount.</param>
 ///
 public AnnualItem( AccountClass accountType, FundType fundType, string function, MonetaryAmount amount )
     : base(HrfinDTD.ANNUALITEM)
 {
     this.SetAccountType( accountType );
     this.SetFundType( fundType );
     this.Function = function;
     this.Amount = amount;
 }
Exemple #3
0
 /// <summary>
 /// Sets the value of the <c>&lt;FundType&gt;</c> element.
 /// </summary>
 /// <param name="val">A FundType object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this element as: "Is the account a general or special account code designation?"</para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 1.5r1</para>
 /// </remarks>
 public void SetFundType( FundType val )
 {
     SetField( HrfinDTD.ANNUALITEM_FUNDTYPE, val );
 }
 ///<summary>Adds the value of the <c>&lt;AnnualItem&gt;</c> element.</summary>
 /// <param name="AccountType">Classification of budgetary account code summary</param>
 /// <param name="FundType">Is the account a general or special account code designation?</param>
 /// <param name="Function">Function break in account code for summarization.</param>
 /// <param name="Amount">Summarized amount.</param>
 ///<remarks>
 /// <para>This form of <c>setAnnualItem</c> is provided as a convenience method
 /// that is functionally equivalent to the method <c>AddAnnualItem</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 1.5r1</para>
 /// </remarks>
 public void AddAnnualItem(AccountClass AccountType, FundType FundType, string Function, MonetaryAmount Amount)
 {
     AddChild(HrfinDTD.ANNUALITEMS_ANNUALITEM, new AnnualItem(AccountType, FundType, Function, Amount));
 }
Exemple #5
0
 /// <summary>
 /// Sets the value of the <c>&lt;FundType&gt;</c> element.
 /// </summary>
 /// <param name="val">A FundType object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this element as: "Is the account a general or special account code designation?"</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 1.5r1</para>
 /// </remarks>
 public void SetFundType(FundType val)
 {
     SetField(HrfinDTD.ANNUALITEM_FUNDTYPE, val);
 }