org.kuali.kfs.module.ld.businessobject
Class LedgerBalance

java.lang.Object
  extended by org.kuali.rice.kns.bo.BusinessObjectBase
      extended by org.kuali.rice.kns.bo.PersistableBusinessObjectBase
          extended by org.kuali.kfs.gl.businessobject.Balance
              extended by org.kuali.kfs.module.ld.businessobject.LedgerBalance
All Implemented Interfaces:
Serializable, org.apache.ojb.broker.PersistenceBrokerAware, LaborLedgerBalance, org.kuali.rice.kns.bo.BusinessObject, org.kuali.rice.kns.bo.ExternalizableBusinessObject, org.kuali.rice.kns.bo.PersistableBusinessObject
Direct Known Subclasses:
AccountStatusBaseFunds, AccountStatusCurrentFunds, EmployeeFunding, July1PositionFunding, LaborBalanceHistory, LedgerBalanceForBenefitExpenseTransfer, LedgerBalanceForEffortCertification, LedgerBalanceForSalaryExpenseTransfer

public class LedgerBalance
extends Balance
implements LaborLedgerBalance

Labor business object for LedgerBalance.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase
extension, versionNumber
 
Constructor Summary
LedgerBalance()
          Default constructor.
LedgerBalance(LaborBalanceHistory ledgerBalanceHistory)
          Constructs a LedgerBalance.java.
LedgerBalance(LaborTransaction transaction)
          Constructs a LedgerBalance.java.
 
Method Summary
 void addAmount(String period, org.kuali.rice.kns.util.KualiDecimal amount)
          Adds amounts in a period.
 org.kuali.rice.kns.util.KualiDecimal getAmountByPeriod(String periodCode)
          get the amount in the given period.
 String getBalanceTypeCode()
          Gets the getFinancialBalanceTypeCode
 Chart getChart()
          Gets the getChartOfAccounts
 Chart getChartOfAccounts()
          Gets the chartOfAccounts
 String getEmplid()
          Gets the emplid
 String getFinancialBalanceTypeCode()
          Gets the financialBalanceTypeCode
 org.kuali.rice.kns.util.KualiDecimal getFinancialBeginningBalanceLineAmount()
          Gets the financialBeginningBalanceLineAmount
 String getFinancialObjectCode()
          Gets the financialObjectCode
 ObjectType getFinancialObjectType()
          Gets the financialObjectType
 String getFinancialObjectTypeCode()
          Gets the financialObjectTypeCode
 String getFinancialSubObjectCode()
          Gets the financialSubObjectCode
 LaborLedgerObject getLaborLedgerObject()
          Gets the laborLedgerObject attribute.
 LaborObject getLaborObject()
          Gets the laborObject attribute.
 org.kuali.rice.kim.bo.Person getLedgerPerson()
          Gets the Person
 String getPositionNumber()
          Gets the positionNumber
static List<String> getPrimaryKeyList()
          construct the primary key list of the business object
 Timestamp getTransactionDateTimeStamp()
          Gets the transactionDateTimeStamp
 void setBalanceTypeCode(String balanceTypeCode)
          Sets the setFinancialBalanceTypeCode
 void setChart(Chart chart)
          Sets the setChartOfAccounts
 void setChartOfAccounts(Chart chartOfAccounts)
          Sets the chartOfAccounts
 void setEmplid(String emplid)
          Sets the emplid
 void setFinancialBalanceTypeCode(String financialBalanceTypeCode)
          Sets the financialBalanceTypeCode
 void setFinancialBeginningBalanceLineAmount(org.kuali.rice.kns.util.KualiDecimal financialBeginningBalanceLineAmount)
          Sets the financialBeginningBalanceLineAmount
 void setFinancialObjectCode(String financialObjectCode)
          Sets the financialObjectCode
 void setFinancialObjectType(ObjectType financialObjectType)
          Sets the financialObjectType
 void setFinancialObjectTypeCode(String financialObjectTypeCode)
          Sets the financialObjectTypeCode
 void setFinancialSubObjectCode(String financialSubObjectCode)
          Sets the financialSubObjectCode
 void setLaborLedgerObject(LaborLedgerObject laborLedgerObject)
          Deprecated. 
 void setLaborObject(LaborObject laborObject)
          Deprecated. 
 void setLedgerPerson(org.kuali.rice.kim.bo.Person ledgerPerson)
          Sets the ledgerPerson
 void setPositionNumber(String positionNumber)
          Sets the positionNumber
 void setTransactionDateTimeStamp(Timestamp transactionDateTimeStamp)
          Sets the transactionDateTimeStamp
protected  LinkedHashMap toStringMapper()
           
 
Methods inherited from class org.kuali.kfs.gl.businessobject.Balance
getAccount, getAccountLineAnnualBalanceAmount, getAccountNumber, getAmount, getBalanceType, getBeginningBalanceLineAmount, getChartOfAccountsCode, getCombinedBeginningBalanceAmount, getContractsGrantsBeginningBalanceAmount, getDummyBusinessObject, getFinancialObject, getFinancialSubObject, getFundGroup, getMonth10Amount, getMonth11Amount, getMonth12Amount, getMonth13Amount, getMonth1Amount, getMonth2Amount, getMonth3Amount, getMonth4Amount, getMonth5Amount, getMonth6Amount, getMonth7Amount, getMonth8Amount, getMonth9Amount, getObjectCode, getObjectType, getObjectTypeCode, getOption, getPriorYearAccount, getSubAccount, getSubAccountNumber, getSubObjectCode, getTimestamp, getUniversityFiscalYear, getYearBalance, getYearToDayBalance, setAccount, setAccountLineAnnualBalanceAmount, setAccountNumber, setBalanceType, setBeginningBalanceLineAmount, setChartOfAccountsCode, setContractsGrantsBeginningBalanceAmount, setDummyBusinessObject, setFinancialObject, setFinancialSubObject, setFundGroup, setMonth10Amount, setMonth11Amount, setMonth12Amount, setMonth13Amount, setMonth1Amount, setMonth2Amount, setMonth3Amount, setMonth4Amount, setMonth5Amount, setMonth6Amount, setMonth7Amount, setMonth8Amount, setMonth9Amount, setObjectCode, setObjectType, setObjectTypeCode, setOption, setPriorYearAccount, setSubAccount, setSubAccountNumber, setSubObjectCode, setTimestamp, setUniversityFiscalYear, setYearBalance, setYearToDayBalance
 
Methods inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase
addNote, afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeInsert, beforeUpdate, beforeUpdate, buildListOfDeletionAwareLists, deleteNote, getAttachmentService, getBoNote, getBoNotes, getExtension, getNoteService, getObjectId, getPersistenceService, getPersistenceStructureService, getVersionNumber, isAutoIncrementSet, isBoNotesSupport, isNewCollectionRecord, linkEditableUserFields, refresh, refreshNonUpdateableReferences, refreshReferenceObject, setAutoIncrementSet, setBoNotes, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber, supportsBoNotes
 
Methods inherited from class org.kuali.rice.kns.bo.BusinessObjectBase
prepareForWorkflow, toString, toStringBuilder
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.kuali.kfs.integration.ld.LaborLedgerBalance
getAccount, getAccountLineAnnualBalanceAmount, getAccountNumber, getBalanceType, getBeginningBalanceLineAmount, getChartOfAccountsCode, getContractsGrantsBeginningBalanceAmount, getFinancialObject, getFinancialSubObject, getMonth10Amount, getMonth11Amount, getMonth12Amount, getMonth13Amount, getMonth1Amount, getMonth2Amount, getMonth3Amount, getMonth4Amount, getMonth5Amount, getMonth6Amount, getMonth7Amount, getMonth8Amount, getMonth9Amount, getObjectType, getOption, getSubAccount, getSubAccountNumber, getTimestamp, getUniversityFiscalYear, setAccount, setAccountLineAnnualBalanceAmount, setAccountNumber, setBalanceType, setBeginningBalanceLineAmount, setChartOfAccountsCode, setContractsGrantsBeginningBalanceAmount, setFinancialObject, setFinancialSubObject, setMonth10Amount, setMonth11Amount, setMonth12Amount, setMonth13Amount, setMonth1Amount, setMonth2Amount, setMonth3Amount, setMonth4Amount, setMonth5Amount, setMonth6Amount, setMonth7Amount, setMonth8Amount, setMonth9Amount, setObjectType, setOption, setSubAccount, setSubAccountNumber, setTimestamp, setUniversityFiscalYear
 
Methods inherited from interface org.kuali.rice.kns.bo.PersistableBusinessObject
addNote, buildListOfDeletionAwareLists, deleteNote, getBoNote, getBoNotes, getExtension, getObjectId, getVersionNumber, isBoNotesSupport, isNewCollectionRecord, linkEditableUserFields, refreshNonUpdateableReferences, refreshReferenceObject, setAutoIncrementSet, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber
 
Methods inherited from interface org.apache.ojb.broker.PersistenceBrokerAware
afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate
 
Methods inherited from interface org.kuali.rice.kns.bo.BusinessObject
prepareForWorkflow, refresh
 

Constructor Detail

LedgerBalance

public LedgerBalance()
Default constructor.


LedgerBalance

public LedgerBalance(LaborTransaction transaction)
Constructs a LedgerBalance.java.

Parameters:
transaction -

LedgerBalance

public LedgerBalance(LaborBalanceHistory ledgerBalanceHistory)
Constructs a LedgerBalance.java.

Parameters:
transaction -
Method Detail

getEmplid

public String getEmplid()
Gets the emplid

Specified by:
getEmplid in interface LaborLedgerBalance
Returns:
Returns the emplid.

setEmplid

public void setEmplid(String emplid)
Sets the emplid

Specified by:
setEmplid in interface LaborLedgerBalance
Parameters:
emplid - The emplid to set.

getFinancialBalanceTypeCode

public String getFinancialBalanceTypeCode()
Gets the financialBalanceTypeCode

Specified by:
getFinancialBalanceTypeCode in interface LaborLedgerBalance
Returns:
Returns the financialBalanceTypeCode.

setFinancialBalanceTypeCode

public void setFinancialBalanceTypeCode(String financialBalanceTypeCode)
Sets the financialBalanceTypeCode

Specified by:
setFinancialBalanceTypeCode in interface LaborLedgerBalance
Parameters:
financialBalanceTypeCode - The financialBalanceTypeCode to set.

getFinancialBeginningBalanceLineAmount

public org.kuali.rice.kns.util.KualiDecimal getFinancialBeginningBalanceLineAmount()
Gets the financialBeginningBalanceLineAmount

Specified by:
getFinancialBeginningBalanceLineAmount in interface LaborLedgerBalance
Returns:
Returns the financialBeginningBalanceLineAmount.

setFinancialBeginningBalanceLineAmount

public void setFinancialBeginningBalanceLineAmount(org.kuali.rice.kns.util.KualiDecimal financialBeginningBalanceLineAmount)
Sets the financialBeginningBalanceLineAmount

Specified by:
setFinancialBeginningBalanceLineAmount in interface LaborLedgerBalance
Parameters:
financialBeginningBalanceLineAmount - The financialBeginningBalanceLineAmount to set.

getFinancialObjectCode

public String getFinancialObjectCode()
Gets the financialObjectCode

Specified by:
getFinancialObjectCode in interface LaborLedgerBalance
Returns:
Returns the financialObjectCode.

setFinancialObjectCode

public void setFinancialObjectCode(String financialObjectCode)
Sets the financialObjectCode

Specified by:
setFinancialObjectCode in interface LaborLedgerBalance
Parameters:
financialObjectCode - The financialObjectCode to set.

getFinancialObjectTypeCode

public String getFinancialObjectTypeCode()
Gets the financialObjectTypeCode

Specified by:
getFinancialObjectTypeCode in interface LaborLedgerBalance
Returns:
Returns the financialObjectTypeCode.

setFinancialObjectTypeCode

public void setFinancialObjectTypeCode(String financialObjectTypeCode)
Sets the financialObjectTypeCode

Specified by:
setFinancialObjectTypeCode in interface LaborLedgerBalance
Parameters:
financialObjectTypeCode - The financialObjectTypeCode to set.

getFinancialSubObjectCode

public String getFinancialSubObjectCode()
Gets the financialSubObjectCode

Specified by:
getFinancialSubObjectCode in interface LaborLedgerBalance
Returns:
Returns the financialSubObjectCode.

setFinancialSubObjectCode

public void setFinancialSubObjectCode(String financialSubObjectCode)
Sets the financialSubObjectCode

Specified by:
setFinancialSubObjectCode in interface LaborLedgerBalance
Parameters:
financialSubObjectCode - The financialSubObjectCode to set.

getPositionNumber

public String getPositionNumber()
Gets the positionNumber

Specified by:
getPositionNumber in interface LaborLedgerBalance
Returns:
Returns the positionNumber.

setPositionNumber

public void setPositionNumber(String positionNumber)
Sets the positionNumber

Specified by:
setPositionNumber in interface LaborLedgerBalance
Parameters:
positionNumber - The positionNumber to set.

getTransactionDateTimeStamp

public Timestamp getTransactionDateTimeStamp()
Gets the transactionDateTimeStamp

Specified by:
getTransactionDateTimeStamp in interface LaborLedgerBalance
Returns:
Returns the transactionDateTimeStamp.

setTransactionDateTimeStamp

public void setTransactionDateTimeStamp(Timestamp transactionDateTimeStamp)
Sets the transactionDateTimeStamp

Specified by:
setTransactionDateTimeStamp in interface LaborLedgerBalance
Parameters:
transactionDateTimeStamp - The transactionDateTimeStamp to set.

getBalanceTypeCode

public String getBalanceTypeCode()
Gets the getFinancialBalanceTypeCode

Overrides:
getBalanceTypeCode in class Balance
Returns:
getFinancialBalanceTypeCode
See Also:
Balance.getBalanceTypeCode()

setBalanceTypeCode

public void setBalanceTypeCode(String balanceTypeCode)
Sets the setFinancialBalanceTypeCode

Overrides:
setBalanceTypeCode in class Balance
Parameters:
balanceTypeCode -
See Also:
Balance.setBalanceTypeCode(java.lang.String)

getChart

public Chart getChart()
Gets the getChartOfAccounts

Overrides:
getChart in class Balance
Returns:
getChartOfAccounts
See Also:
Balance.getChart()

setChart

public void setChart(Chart chart)
Sets the setChartOfAccounts

Overrides:
setChart in class Balance
Parameters:
chart -
See Also:
Balance.setChart(org.kuali.kfs.coa.businessobject.Chart)

getChartOfAccounts

public Chart getChartOfAccounts()
Gets the chartOfAccounts

Specified by:
getChartOfAccounts in interface LaborLedgerBalance
Returns:
Returns the chartOfAccounts.

setChartOfAccounts

public void setChartOfAccounts(Chart chartOfAccounts)
Sets the chartOfAccounts

Specified by:
setChartOfAccounts in interface LaborLedgerBalance
Parameters:
chartOfAccounts - The chartOfAccounts to set.

getFinancialObjectType

public ObjectType getFinancialObjectType()
Gets the financialObjectType

Specified by:
getFinancialObjectType in interface LaborLedgerBalance
Returns:
Returns the financialObjectType.

setFinancialObjectType

public void setFinancialObjectType(ObjectType financialObjectType)
Sets the financialObjectType

Specified by:
setFinancialObjectType in interface LaborLedgerBalance
Parameters:
financialObjectType - The financialObjectType to set.

addAmount

public void addAmount(String period,
                      org.kuali.rice.kns.util.KualiDecimal amount)
Adds amounts in a period.

Specified by:
addAmount in interface LaborLedgerBalance
Overrides:
addAmount in class Balance
Parameters:
period, - amount
See Also:
Balance.addAmount(java.lang.String, org.kuali.rice.kns.util.KualiDecimal)

getAmountByPeriod

public org.kuali.rice.kns.util.KualiDecimal getAmountByPeriod(String periodCode)
get the amount in the given period.

Specified by:
getAmountByPeriod in interface LaborLedgerBalance
Parameters:
periodCode - the given period code

getLaborLedgerObject

public LaborLedgerObject getLaborLedgerObject()
Description copied from interface: LaborLedgerBalance
Gets the laborLedgerObject attribute.

Specified by:
getLaborLedgerObject in interface LaborLedgerBalance
Returns:
Returns the laborLedgerObject.
See Also:
org.kuali.module.effort.bo.LaborLedgerEntry#getLaborLedgerObject()

setLaborLedgerObject

@Deprecated
public void setLaborLedgerObject(LaborLedgerObject laborLedgerObject)
Deprecated. 

Description copied from interface: LaborLedgerBalance
Sets the laborLedgerObject attribute value.

Specified by:
setLaborLedgerObject in interface LaborLedgerBalance
See Also:
org.kuali.module.effort.bo.LaborLedgerEntry#setLaborLedgerObject(org.kuali.kfs.bo.LaborLedgerObject)

getLaborObject

public LaborObject getLaborObject()
Gets the laborObject attribute.

Returns:
Returns the laborObject.

setLaborObject

@Deprecated
public void setLaborObject(LaborObject laborObject)
Deprecated. 

Sets the laborObject attribute value.

Parameters:
laborObject - The laborObject to set.

getLedgerPerson

public org.kuali.rice.kim.bo.Person getLedgerPerson()
Gets the Person

Specified by:
getLedgerPerson in interface LaborLedgerBalance
Returns:
Returns the Person

setLedgerPerson

public void setLedgerPerson(org.kuali.rice.kim.bo.Person ledgerPerson)
Sets the ledgerPerson

Specified by:
setLedgerPerson in interface LaborLedgerBalance
Parameters:
ledgerPerson - The ledgerPerson to set.

getPrimaryKeyList

public static List<String> getPrimaryKeyList()
construct the primary key list of the business object

Returns:
the primary key list of the business object

toStringMapper

protected LinkedHashMap toStringMapper()
Overrides:
toStringMapper in class Balance
See Also:
Balance.toStringMapper()


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.