public class OrgReversionUnitOfWork extends org.kuali.rice.krad.bo.PersistableBusinessObjectBase
Modifier and Type | Field and Description |
---|---|
String |
accountNumber |
Map<String,OrgReversionUnitOfWorkCategoryAmount> |
amounts |
String |
chartOfAccountsCode |
String |
subAccountNumber |
Constructor and Description |
---|
OrgReversionUnitOfWork() |
OrgReversionUnitOfWork(String chart,
String acct,
String subAcct) |
Modifier and Type | Method and Description |
---|---|
void |
addActualAmount(String categoryCode,
org.kuali.rice.core.api.util.type.KualiDecimal amount)
This method adds to the actual amount for a specific category code
|
void |
addBudgetAmount(String categoryCode,
org.kuali.rice.core.api.util.type.KualiDecimal amount)
This method adds to the budget amount for a specific category code
|
void |
addCarryForwardAmount(String categoryCode,
org.kuali.rice.core.api.util.type.KualiDecimal amount)
This method adds to the carry forward amount for a specific category code
|
void |
addEncumbranceAmount(String categoryCode,
org.kuali.rice.core.api.util.type.KualiDecimal amount)
This method adds to the encumbrance amount for a specific category code
|
void |
addTotalAvailable(org.kuali.rice.core.api.util.type.KualiDecimal amount) |
void |
addTotalCarryForward(org.kuali.rice.core.api.util.type.KualiDecimal amount) |
void |
addTotalCash(org.kuali.rice.core.api.util.type.KualiDecimal amount) |
void |
addTotalReversion(org.kuali.rice.core.api.util.type.KualiDecimal amount) |
void |
cascadeCategoryAmountKeys()
This method updates the category amount keys for the current unit of work
|
void |
clearAmounts()
This method clears all amounts for this unit of work
|
String |
getAccountNumber()
Gets the accountNumber attribute.
|
Map<String,OrgReversionUnitOfWorkCategoryAmount> |
getCategoryAmounts() |
String |
getChartOfAccountsCode()
Gets the chartOfAccountsCode attribute.
|
String |
getSubAccountNumber()
Gets the subAccountNumber attribute.
|
org.kuali.rice.core.api.util.type.KualiDecimal |
getTotalAccountAvailable() |
org.kuali.rice.core.api.util.type.KualiDecimal |
getTotalAvailable() |
org.kuali.rice.core.api.util.type.KualiDecimal |
getTotalCarryForward() |
org.kuali.rice.core.api.util.type.KualiDecimal |
getTotalCash() |
org.kuali.rice.core.api.util.type.KualiDecimal |
getTotalReversion() |
boolean |
isInitialized()
Returns true if COA code and account number are not blank.
|
boolean |
isSame(String chart,
String acct,
String subAcct)
This method returns true if this unit of work's chart of accounts code, account number, and sub account number match the passed in parameter values
|
void |
setAccountNumber(String accountNumber)
Sets the accountNumber attribute value.
|
void |
setCategories(List<OrganizationReversionCategory> cats)
Set category amounts
|
void |
setChartOfAccountsCode(String chartOfAccountsCode)
Sets the chartOfAccountsCode attribute value.
|
void |
setFields(String chart,
String acct,
String subAcct) |
void |
setSubAccountNumber(String subAccountNumber)
Sets the subAccountNumber attribute value.
|
void |
setTotalAvailable(org.kuali.rice.core.api.util.type.KualiDecimal totalAvailable) |
void |
setTotalCarryForward(org.kuali.rice.core.api.util.type.KualiDecimal totalCarryForward) |
void |
setTotalCash(org.kuali.rice.core.api.util.type.KualiDecimal totalCash) |
void |
setTotalReversion(org.kuali.rice.core.api.util.type.KualiDecimal totalReversion) |
LinkedHashMap |
toStringMapper() |
boolean |
wouldHold(Balance balance)
Return true of this unit of work has the same chart of accounts code, account number, and sub account number as the passed in balance
|
_persistence_get_objectId, _persistence_get_versionNumber, _persistence_get, _persistence_new, _persistence_post_clone, _persistence_set_objectId, _persistence_set_versionNumber, _persistence_set, afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, buildListOfDeletionAwareLists, getExtension, getLegacyDataAdapter, getObjectId, getVersionNumber, isNewCollectionRecord, linkEditableUserFields, postLoad, postPersist, postRemove, postUpdate, prePersist, preRemove, preUpdate, refresh, refreshNonUpdateableReferences, refreshReferenceObject, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber
_persistence_checkFetched, _persistence_checkFetchedForSet, _persistence_getCacheKey, _persistence_getFetchGroup, _persistence_getHref, _persistence_getId, _persistence_getPropertyChangeListener, _persistence_getRelationships, _persistence_getSession, _persistence_isAttributeFetched, _persistence_propertyChange, _persistence_resetFetchGroup, _persistence_setCacheKey, _persistence_setFetchGroup, _persistence_setHref, _persistence_setId, _persistence_setPropertyChangeListener, _persistence_setRelationships, _persistence_setSession, _persistence_setShouldRefreshFetchGroup, _persistence_shallow_clone, _persistence_shouldRefreshFetchGroup, toString
public String chartOfAccountsCode
public String accountNumber
public String subAccountNumber
public Map<String,OrgReversionUnitOfWorkCategoryAmount> amounts
public OrgReversionUnitOfWork()
public OrgReversionUnitOfWork(String chart, String acct, String subAcct)
public boolean isInitialized()
public void setCategories(List<OrganizationReversionCategory> cats)
cats
- list of organization reversion categoriespublic void addActualAmount(String categoryCode, org.kuali.rice.core.api.util.type.KualiDecimal amount)
categoryCode
- category codeamount
- amountpublic void addBudgetAmount(String categoryCode, org.kuali.rice.core.api.util.type.KualiDecimal amount)
categoryCode
- category codeamount
- amountpublic void addEncumbranceAmount(String categoryCode, org.kuali.rice.core.api.util.type.KualiDecimal amount)
categoryCode
- category codeamount
- amountpublic void addCarryForwardAmount(String categoryCode, org.kuali.rice.core.api.util.type.KualiDecimal amount)
categoryCode
- category codeamount
- amountpublic void clearAmounts()
public void cascadeCategoryAmountKeys()
public boolean isSame(String chart, String acct, String subAcct)
chart
- acct
- subAcct
- public boolean wouldHold(Balance balance)
balance
- public org.kuali.rice.core.api.util.type.KualiDecimal getTotalAccountAvailable()
public org.kuali.rice.core.api.util.type.KualiDecimal getTotalCarryForward()
public void setTotalCarryForward(org.kuali.rice.core.api.util.type.KualiDecimal totalCarryForward)
public org.kuali.rice.core.api.util.type.KualiDecimal getTotalReversion()
public void addTotalCarryForward(org.kuali.rice.core.api.util.type.KualiDecimal amount)
public void setTotalReversion(org.kuali.rice.core.api.util.type.KualiDecimal totalReversion)
public void addTotalReversion(org.kuali.rice.core.api.util.type.KualiDecimal amount)
public org.kuali.rice.core.api.util.type.KualiDecimal getTotalAvailable()
public void addTotalAvailable(org.kuali.rice.core.api.util.type.KualiDecimal amount)
public void setTotalAvailable(org.kuali.rice.core.api.util.type.KualiDecimal totalAvailable)
public void addTotalCash(org.kuali.rice.core.api.util.type.KualiDecimal amount)
public org.kuali.rice.core.api.util.type.KualiDecimal getTotalCash()
public void setTotalCash(org.kuali.rice.core.api.util.type.KualiDecimal totalCash)
public Map<String,OrgReversionUnitOfWorkCategoryAmount> getCategoryAmounts()
public LinkedHashMap toStringMapper()
org.kuali.rice.krad.bo.BusinessObjectBase#toStringMapper()
public String getAccountNumber()
public void setAccountNumber(String accountNumber)
accountNumber
- The accountNumber to set.public String getChartOfAccountsCode()
public void setChartOfAccountsCode(String chartOfAccountsCode)
chartOfAccountsCode
- The chartOfAccountsCode to set.public String getSubAccountNumber()
public void setSubAccountNumber(String subAccountNumber)
subAccountNumber
- The subAccountNumber to set.Copyright © 2004–2014 The Kuali Foundation. All rights reserved.