org.kuali.kfs.module.endow.businessobject
Class EndowmentAccountingLineBase

java.lang.Object
  extended by org.kuali.rice.kns.bo.BusinessObjectBase
      extended by org.kuali.rice.kns.bo.PersistableBusinessObjectBase
          extended by org.kuali.kfs.module.endow.businessobject.EndowmentAccountingLineBase
All Implemented Interfaces:
Serializable, org.apache.ojb.broker.PersistenceBrokerAware, EndowmentAccountingLine, org.kuali.rice.kns.bo.BusinessObject, org.kuali.rice.kns.bo.PersistableBusinessObject
Direct Known Subclasses:
SourceEndowmentAccountingLine, TargetEndowmentAccountingLine

public class EndowmentAccountingLineBase
extends org.kuali.rice.kns.bo.PersistableBusinessObjectBase
implements EndowmentAccountingLine

Provides basic implementation for the accounting lines used in the Transfer of Funds documents in the Endowment module.

See Also:
Serialized Form

Field Summary
protected  String financialDocumentLineTypeCode
           
 
Fields inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase
extension, versionNumber
 
Constructor Summary
EndowmentAccountingLineBase()
          This constructor sets up empty instances for the dependent objects.
 
Method Summary
 Account getAccount()
          Gets the account.
 Integer getAccountingLineNumber()
          Gets the accountingLineNumber.
 String getAccountNumber()
          Gets the accountNumber.
 org.kuali.rice.kns.util.KualiDecimal getAmount()
           
 Chart getChart()
           
 String getChartOfAccountsCode()
          Gets the chartOfAccountsCode.
 String getDocumentNumber()
           
 String getFinancialDocumentLineTypeCode()
           
 String getFinancialObjectCode()
          Gets the financialObjectCode.
 String getFinancialSubObjectCode()
          Gets the financialSubObjectCode.
 ObjectCodeCurrent getObjectCode()
          Gets the object code.
 String getOrganizationReferenceId()
           
 ProjectCode getProject()
           
 String getProjectCode()
          Gets the projectCode.
 SubAccount getSubAccount()
           
 String getSubAccountNumber()
          Gets the subAccountNumber.
 SubObjectCodeCurrent getSubObjectCode()
           
 boolean isSourceAccountingLine()
           
 boolean isTargetAccountingLine()
           
 void setAccount(Account account)
          Deprecated.  
 void setAccountingLineNumber(Integer accountingLineNumber)
          Sets the accountingLineNumber.
 void setAccountNumber(String accountNumber)
           
 void setAmount(org.kuali.rice.kns.util.KualiDecimal amount)
           
 void setChart(Chart chart)
          Deprecated.  
 void setChartOfAccountsCode(String chartOfAccountsCode)
           
 void setDocumentNumber(String documentNumber)
           
 void setFinancialDocumentLineTypeCode(String financialDocumentLineTypeCode)
           
 void setFinancialObjectCode(String financialObjectCode)
           
 void setFinancialSubObjectCode(String financialSubObjectCode)
           
 void setObjectCode(ObjectCodeCurrent objectCode)
          Deprecated.  
 void setOrganizationReferenceId(String organizationReferenceId)
           
 void setProject(ProjectCode project)
          Deprecated.  
 void setProjectCode(String projectCode)
           
 void setSubAccount(SubAccount subAccount)
          Deprecated.  
 void setSubAccountNumber(String subAccountNumber)
           
 void setSubObjectCode(SubObjectCodeCurrent subObjectCode)
          Deprecated.  
protected  LinkedHashMap toStringMapper()
           
 
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.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.kuali.rice.kns.bo.BusinessObject
prepareForWorkflow, refresh
 
Methods inherited from interface org.apache.ojb.broker.PersistenceBrokerAware
afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate
 

Field Detail

financialDocumentLineTypeCode

protected String financialDocumentLineTypeCode
Constructor Detail

EndowmentAccountingLineBase

public EndowmentAccountingLineBase()
This constructor sets up empty instances for the dependent objects.

Method Detail

getAccount

public Account getAccount()
Description copied from interface: EndowmentAccountingLine
Gets the account.

Specified by:
getAccount in interface EndowmentAccountingLine
Returns:
Returns the account.

setAccount

public void setAccount(Account account)
Deprecated. 

Specified by:
setAccount in interface EndowmentAccountingLine
Parameters:
account - The account to set.

getChart

public Chart getChart()
Specified by:
getChart in interface EndowmentAccountingLine
Returns:
Returns the chartOfAccountsCode.

setChart

public void setChart(Chart chart)
Deprecated. 

Specified by:
setChart in interface EndowmentAccountingLine
Parameters:
chart - The chartOfAccountsCode to set.

getDocumentNumber

public String getDocumentNumber()
Returns:
Returns the documentNumber.

getAmount

public org.kuali.rice.kns.util.KualiDecimal getAmount()
Specified by:
getAmount in interface EndowmentAccountingLine
Returns:
Returns the amount.

setAmount

public void setAmount(org.kuali.rice.kns.util.KualiDecimal amount)
Specified by:
setAmount in interface EndowmentAccountingLine
Parameters:
amount - The amount to set.

getObjectCode

public ObjectCodeCurrent getObjectCode()
Description copied from interface: EndowmentAccountingLine
Gets the object code.

Specified by:
getObjectCode in interface EndowmentAccountingLine
Returns:
Returns the objectCode.

setObjectCode

public void setObjectCode(ObjectCodeCurrent objectCode)
Deprecated. 

Specified by:
setObjectCode in interface EndowmentAccountingLine
Parameters:
objectCode - The objectCode to set.

getOrganizationReferenceId

public String getOrganizationReferenceId()
Returns:
Returns the organizationReferenceId.

setOrganizationReferenceId

public void setOrganizationReferenceId(String organizationReferenceId)
Specified by:
setOrganizationReferenceId in interface EndowmentAccountingLine
Parameters:
organizationReferenceId - The organizationReferenceId to set.

getAccountingLineNumber

public Integer getAccountingLineNumber()
Gets the accountingLineNumber.

Specified by:
getAccountingLineNumber in interface EndowmentAccountingLine
Returns:
accountingLineNumber

setAccountingLineNumber

public void setAccountingLineNumber(Integer accountingLineNumber)
Sets the accountingLineNumber.

Specified by:
setAccountingLineNumber in interface EndowmentAccountingLine
Parameters:
accountingLineNumber -

getProjectCode

public String getProjectCode()
Description copied from interface: EndowmentAccountingLine
Gets the projectCode.

Specified by:
getProjectCode in interface EndowmentAccountingLine
Returns:
Returns the projectCode.

setProjectCode

public void setProjectCode(String projectCode)
Specified by:
setProjectCode in interface EndowmentAccountingLine
Parameters:
projectCode - The projectCode to set.

getSubAccount

public SubAccount getSubAccount()
Specified by:
getSubAccount in interface EndowmentAccountingLine
Returns:
Returns the subAccount.

setSubAccount

public void setSubAccount(SubAccount subAccount)
Deprecated. 

Specified by:
setSubAccount in interface EndowmentAccountingLine
Parameters:
subAccount - The subAccount to set.

getSubObjectCode

public SubObjectCodeCurrent getSubObjectCode()
Specified by:
getSubObjectCode in interface EndowmentAccountingLine
Returns:
Returns the subObjectCode.

setSubObjectCode

public void setSubObjectCode(SubObjectCodeCurrent subObjectCode)
Deprecated. 

Specified by:
setSubObjectCode in interface EndowmentAccountingLine
Parameters:
subObjectCode - The subObjectCode to set.

setDocumentNumber

public void setDocumentNumber(String documentNumber)
Specified by:
setDocumentNumber in interface EndowmentAccountingLine
Parameters:
documentNumber - The documentNumber to set.

getAccountNumber

public String getAccountNumber()
Description copied from interface: EndowmentAccountingLine
Gets the accountNumber.

Specified by:
getAccountNumber in interface EndowmentAccountingLine
Returns:
Returns the accountNumber.

setAccountNumber

public void setAccountNumber(String accountNumber)
Specified by:
setAccountNumber in interface EndowmentAccountingLine
Parameters:
accountNumber - The accountNumber to set.

getChartOfAccountsCode

public String getChartOfAccountsCode()
Description copied from interface: EndowmentAccountingLine
Gets the chartOfAccountsCode.

Specified by:
getChartOfAccountsCode in interface EndowmentAccountingLine
Returns:
Returns the chartOfAccountsCode.

setChartOfAccountsCode

public void setChartOfAccountsCode(String chartOfAccountsCode)
Specified by:
setChartOfAccountsCode in interface EndowmentAccountingLine
Parameters:
chartOfAccountsCode - The chartOfAccountsCode to set.

getFinancialObjectCode

public String getFinancialObjectCode()
Description copied from interface: EndowmentAccountingLine
Gets the financialObjectCode.

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

setFinancialObjectCode

public void setFinancialObjectCode(String financialObjectCode)
Specified by:
setFinancialObjectCode in interface EndowmentAccountingLine
Parameters:
financialObjectCode - The financialObjectCode to set.

getFinancialSubObjectCode

public String getFinancialSubObjectCode()
Description copied from interface: EndowmentAccountingLine
Gets the financialSubObjectCode.

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

setFinancialSubObjectCode

public void setFinancialSubObjectCode(String financialSubObjectCode)
Specified by:
setFinancialSubObjectCode in interface EndowmentAccountingLine
Parameters:
financialSubObjectCode - The financialSubObjectCode to set.

getFinancialDocumentLineTypeCode

public String getFinancialDocumentLineTypeCode()
Specified by:
getFinancialDocumentLineTypeCode in interface EndowmentAccountingLine
Returns:
Returns the financialDocumentLineTypeCode.

setFinancialDocumentLineTypeCode

public void setFinancialDocumentLineTypeCode(String financialDocumentLineTypeCode)
Specified by:
setFinancialDocumentLineTypeCode in interface EndowmentAccountingLine
Parameters:
financialDocumentLineTypeCode - The financialDocumentLineTypeCode to set.

getProject

public ProjectCode getProject()
Specified by:
getProject in interface EndowmentAccountingLine
Returns:
Returns the project.

setProject

public void setProject(ProjectCode project)
Deprecated. 

Specified by:
setProject in interface EndowmentAccountingLine
Parameters:
project - The project to set.

getSubAccountNumber

public String getSubAccountNumber()
Description copied from interface: EndowmentAccountingLine
Gets the subAccountNumber.

Specified by:
getSubAccountNumber in interface EndowmentAccountingLine
Returns:
Returns the subAccountNumber.

setSubAccountNumber

public void setSubAccountNumber(String subAccountNumber)
Specified by:
setSubAccountNumber in interface EndowmentAccountingLine
Parameters:
subAccountNumber - The subAccountNumber to set.

toStringMapper

protected LinkedHashMap toStringMapper()
Specified by:
toStringMapper in class org.kuali.rice.kns.bo.BusinessObjectBase
See Also:
BusinessObjectBase.toStringMapper()

isSourceAccountingLine

public boolean isSourceAccountingLine()
Specified by:
isSourceAccountingLine in interface EndowmentAccountingLine
See Also:
EndowmentAccountingLine.isSourceAccountingLine()

isTargetAccountingLine

public boolean isTargetAccountingLine()
Specified by:
isTargetAccountingLine in interface EndowmentAccountingLine
See Also:
EndowmentAccountingLine.isTargetAccountingLine()


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