/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="accountClass">Classification of budgetary account code summary</param> ///<param name="functionBreakdown">Function breakdown of account code for summarization.</param> ///<param name="budgetAmount">Summarized, positive amount without cents for breakdowns</param> /// public BudgetAccount( AccountClass accountClass, string functionBreakdown, MonetaryAmount budgetAmount ) : base(HrfinDTD.BUDGETACCOUNT) { this.SetAccountClass( accountClass ); this.FunctionBreakdown = functionBreakdown; this.BudgetAmount = budgetAmount; }
/// <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; }
/// <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; }
/// <summary> /// Sets the value of the <c><AccountType></c> element. /// </summary> /// <param name="val">A AccountClass object</param> /// <remarks> /// <para>The SIF specification defines the meaning of this element as: "Classification of budgetary account code summary"</para> /// <para>This element is known by more than one tag name depending on the version of SIF in use. /// The ADK will use the tag names shown below when parsing and rendering elements of this kind.</para> /// <list type="table"><listheader><term>Version</term><description>Tag</description></listheader>; /// <item><term>2.0 (and greater)</term><description><AccountType></description></item> /// </list> /// <para>Version: 2.5</para> /// <para>Since: 1.5r1</para> /// </remarks> public void SetAccountType( AccountClass val ) { SetField( HrfinDTD.ANNUALITEM_ACCOUNTTYPE, val ); }
/// <summary> /// Sets the value of the <c><AccountClass></c> element. /// </summary> /// <param name="val">A AccountClass object</param> /// <remarks> /// <para>The SIF specification defines the meaning of this element as: "Classification of budgetary account code summary"</para> /// <para>Version: 2.5</para> /// <para>Since: 1.5r1</para> /// </remarks> public void SetAccountClass( AccountClass val ) { SetField( HrfinDTD.BUDGETACCOUNT_ACCOUNTCLASS, val ); }
///<summary>Adds the value of the <c><AnnualItem></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)); }
/// <summary> /// Sets the value of the <c><AccountType></c> element. /// </summary> /// <param name="val">A AccountClass object</param> /// <remarks> /// <para>The SIF specification defines the meaning of this element as: "Classification of budgetary account code summary"</para> /// <para>This element is known by more than one tag name depending on the version of SIF in use. /// The ADK will use the tag names shown below when parsing and rendering elements of this kind.</para> /// <list type="table"><listheader><term>Version</term><description>Tag</description></listheader>; /// <item><term>2.0 (and greater)</term><description><AccountType></description></item> /// </list> /// <para>Version: 2.6</para> /// <para>Since: 1.5r1</para> /// </remarks> public void SetAccountType(AccountClass val) { SetField(HrfinDTD.ANNUALITEM_ACCOUNTTYPE, val); }
///<summary>Adds the value of the <c><BudgetAccount></c> element.</summary> /// <param name="AccountClass">Classification of budgetary account code summary</param> /// <param name="FunctionBreakdown">Function breakdown of account code for summarization.</param> /// <param name="BudgetAmount">Summarized, positive amount without cents for breakdowns</param> ///<remarks> /// <para>This form of <c>setBudgetAccount</c> is provided as a convenience method /// that is functionally equivalent to the method <c>AddBudgetAccount</c></para> /// <para>Version: 2.6</para> /// <para>Since: 1.5r1</para> /// </remarks> public void AddBudgetAccount(AccountClass AccountClass, string FunctionBreakdown, MonetaryAmount BudgetAmount) { AddChild(HrfinDTD.BUDGETACCOUNTS_BUDGETACCOUNT, new BudgetAccount(AccountClass, FunctionBreakdown, BudgetAmount)); }
/// <summary> /// Sets the value of the <c><AccountClass></c> element. /// </summary> /// <param name="val">A AccountClass object</param> /// <remarks> /// <para>The SIF specification defines the meaning of this element as: "Classification of budgetary account code summary"</para> /// <para>Version: 2.6</para> /// <para>Since: 1.5r1</para> /// </remarks> public void SetAccountClass(AccountClass val) { SetField(HrfinDTD.BUDGETACCOUNT_ACCOUNTCLASS, val); }
/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="accountClass">Classification of budgetary account code summary</param> ///<param name="functionBreakdown">Function breakdown of account code for summarization.</param> ///<param name="budgetAmount">Summarized, positive amount without cents for breakdowns</param> /// public BudgetAccount(AccountClass accountClass, string functionBreakdown, MonetaryAmount budgetAmount) : base(HrfinDTD.BUDGETACCOUNT) { this.SetAccountClass(accountClass); this.FunctionBreakdown = functionBreakdown; this.BudgetAmount = budgetAmount; }