org.kuali.kfs.gl.businessobject
Class Reversal

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.Reversal
All Implemented Interfaces:
Serializable, org.apache.ojb.broker.PersistenceBrokerAware, Transaction, org.kuali.rice.kns.bo.BusinessObject, org.kuali.rice.kns.bo.PersistableBusinessObject

public class Reversal
extends org.kuali.rice.kns.bo.PersistableBusinessObjectBase
implements Transaction

This class represents a reversal of a transaction

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase
extension, versionNumber
 
Constructor Summary
Reversal()
          Default constructor.
Reversal(Transaction t)
           
 
Method Summary
 Account getAccount()
           
 AccountingPeriod getAccountingPeriod()
           
 String getAccountNumber()
          Gets the accountNumber attribute.
 BalanceType getBalanceType()
           
 Chart getChart()
           
 String getChartOfAccountsCode()
          Gets the chartOfAccountsCode attribute.
 String getDocumentNumber()
          Gets the documentNumber attribute.
 String getFinancialBalanceTypeCode()
          Gets the financialBalanceTypeCode attribute.
 Date getFinancialDocumentReversalDate()
          Gets the financialDocumentReversalDate attribute.
 String getFinancialDocumentTypeCode()
          Gets the financialDocumentTypeCode attribute.
 ObjectCode getFinancialObject()
           
 String getFinancialObjectCode()
          Gets the financialObjectCode attribute.
 String getFinancialObjectTypeCode()
          Gets the financialObjectTypeCode attribute.
 SubObjectCode getFinancialSubObject()
           
 String getFinancialSubObjectCode()
          Gets the financialSubObjectCode attribute.
 org.kuali.rice.kew.doctype.bo.DocumentTypeEBO getFinancialSystemDocumentTypeCode()
           
 String getFinancialSystemOriginationCode()
          Gets the financialSystemOriginationCode attribute.
 ObjectType getObjectType()
           
 SystemOptions getOption()
           
 String getOrganizationDocumentNumber()
          Gets the organizationDocumentNumber attribute.
 String getOrganizationReferenceId()
          Gets the organizationReferenceId attribute.
 ProjectCode getProject()
           
 String getProjectCode()
          Gets the projectCode attribute.
 String getReferenceFinancialDocumentNumber()
          Gets the referenceFinancialDocumentNumber attribute.
 String getReferenceFinancialDocumentTypeCode()
          Gets the referenceFinancialDocumentTypeCode attribute.
 String getReferenceFinancialSystemOriginationCode()
          Gets the referenceFinancialSystemOriginationCode attribute.
 UniversityDate getReversalDate()
           
 SubAccount getSubAccount()
           
 String getSubAccountNumber()
          Gets the subAccountNumber attribute.
 Date getTransactionDate()
          Gets the transactionDate attribute.
 String getTransactionDebitCreditCode()
          Gets the transactionDebitCreditCode attribute.
 String getTransactionEncumbranceUpdateCode()
          Gets the transactionEncumbranceUpdateCode attribute.
 org.kuali.rice.kns.util.KualiDecimal getTransactionLedgerEntryAmount()
          Gets the transactionLedgerEntryAmount attribute.
 String getTransactionLedgerEntryDescription()
          Gets the transactionLedgerEntryDescription attribute.
 Integer getTransactionLedgerEntrySequenceNumber()
          Gets the transactionLedgerEntrySequenceNumber attribute.
 Date getTransactionPostingDate()
          Gets the transactionPostingDate attribute.
 UniversityDate getUniversityDate()
           
 String getUniversityFiscalPeriodCode()
          Gets the universityFiscalPeriodCode attribute.
 Integer getUniversityFiscalYear()
          Gets the universityFiscalYear attribute.
 void setAccount(Account account)
           
 void setAccountingPeriod(AccountingPeriod accountingPeriod)
           
 void setAccountNumber(String accountNumber)
          Sets the accountNumber attribute.
 void setBalanceType(BalanceType balanceType)
           
 void setChart(Chart chart)
           
 void setChartOfAccountsCode(String chartOfAccountsCode)
          Sets the chartOfAccountsCode attribute.
 void setDocumentNumber(String documentNumber)
          Sets the documentNumber attribute.
 void setFinancialBalanceTypeCode(String financialBalanceTypeCode)
          Sets the financialBalanceTypeCode attribute.
 void setFinancialDocumentReversalDate(Date financialDocumentReversalDate)
          Sets the financialDocumentReversalDate attribute.
 void setFinancialDocumentTypeCode(String financialDocumentTypeCode)
          Sets the financialDocumentTypeCode attribute.
 void setFinancialObject(ObjectCode financialObject)
           
 void setFinancialObjectCode(String financialObjectCode)
          Sets the financialObjectCode attribute.
 void setFinancialObjectTypeCode(String financialObjectTypeCode)
          Sets the financialObjectTypeCode attribute.
 void setFinancialSubObject(SubObjectCode financialSubObject)
           
 void setFinancialSubObjectCode(String financialSubObjectCode)
          Sets the financialSubObjectCode attribute.
 void setFinancialSystemOriginationCode(String financialSystemOriginationCode)
          Sets the financialSystemOriginationCode attribute.
 void setObjectType(ObjectType objectType)
           
 void setOption(SystemOptions option)
           
 void setOrganizationDocumentNumber(String organizationDocumentNumber)
          Sets the organizationDocumentNumber attribute.
 void setOrganizationReferenceId(String organizationReferenceId)
          Sets the organizationReferenceId attribute.
 void setProject(ProjectCode project)
           
 void setProjectCode(String projectCode)
          Sets the projectCode attribute.
 void setReferenceFinancialDocumentNumber(String referenceFinancialDocumentNumber)
          Sets the referenceFinancialDocumentNumber attribute.
 void setReferenceFinancialDocumentTypeCode(String referenceFinancialDocumentTypeCode)
          Sets the referenceFinancialDocumentTypeCode attribute.
 void setReferenceFinancialSystemOriginationCode(String referenceFinancialSystemOriginationCode)
          Sets the referenceFinancialSystemOriginationCode attribute.
 void setReversalDate(UniversityDate reversalDate)
           
 void setSubAccount(SubAccount subAccount)
           
 void setSubAccountNumber(String subAccountNumber)
          Sets the subAccountNumber attribute.
 void setTransactionDate(Date transactionDate)
          Sets the transactionDate attribute.
 void setTransactionDebitCreditCode(String transactionDebitCreditCode)
          Sets the transactionDebitCreditCode attribute.
 void setTransactionEncumbranceUpdateCode(String transactionEncumbranceUpdateCode)
          Sets the transactionEncumbranceUpdateCode attribute.
 void setTransactionLedgerEntryAmount(org.kuali.rice.kns.util.KualiDecimal transactionLedgerEntryAmount)
          Sets the transactionLedgerEntryAmount attribute.
 void setTransactionLedgerEntryDescription(String transactionLedgerEntryDescription)
          Sets the transactionLedgerEntryDescription attribute.
 void setTransactionLedgerEntrySequenceNumber(Integer transactionLedgerEntrySequenceNumber)
          Sets the transactionLedgerEntrySequenceNumber attribute.
 void setTransactionPostingDate(Date transactionPostingDate)
          Sets the transactionPostingDate attribute.
 void setUniversityDate(UniversityDate universityDate)
           
 void setUniversityFiscalPeriodCode(String universityFiscalPeriodCode)
          Sets the universityFiscalPeriodCode attribute.
 void setUniversityFiscalYear(Integer universityFiscalYear)
          Sets the universityFiscalYear attribute.
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.kfs.gl.businessobject.Transaction
refreshNonUpdateableReferences
 
Methods inherited from interface org.kuali.rice.kns.bo.BusinessObject
prepareForWorkflow, refresh
 

Constructor Detail

Reversal

public Reversal()
Default constructor.


Reversal

public Reversal(Transaction t)
Method Detail

getFinancialDocumentReversalDate

public Date getFinancialDocumentReversalDate()
Gets the financialDocumentReversalDate attribute.

Specified by:
getFinancialDocumentReversalDate in interface Transaction
Returns:
Returns the financialDocumentReversalDate

setFinancialDocumentReversalDate

public void setFinancialDocumentReversalDate(Date financialDocumentReversalDate)
Sets the financialDocumentReversalDate attribute.

Parameters:
financialDocumentReversalDate - The financialDocumentReversalDate to set.

getUniversityFiscalYear

public Integer getUniversityFiscalYear()
Gets the universityFiscalYear attribute.

Specified by:
getUniversityFiscalYear in interface Transaction
Returns:
Returns the universityFiscalYear

setUniversityFiscalYear

public void setUniversityFiscalYear(Integer universityFiscalYear)
Sets the universityFiscalYear attribute.

Parameters:
universityFiscalYear - The universityFiscalYear to set.

getChartOfAccountsCode

public String getChartOfAccountsCode()
Gets the chartOfAccountsCode attribute.

Specified by:
getChartOfAccountsCode in interface Transaction
Returns:
Returns the chartOfAccountsCode

setChartOfAccountsCode

public void setChartOfAccountsCode(String chartOfAccountsCode)
Sets the chartOfAccountsCode attribute.

Parameters:
chartOfAccountsCode - The chartOfAccountsCode to set.

getAccountNumber

public String getAccountNumber()
Gets the accountNumber attribute.

Specified by:
getAccountNumber in interface Transaction
Returns:
Returns the accountNumber

setAccountNumber

public void setAccountNumber(String accountNumber)
Sets the accountNumber attribute.

Parameters:
accountNumber - The accountNumber to set.

getSubAccountNumber

public String getSubAccountNumber()
Gets the subAccountNumber attribute.

Specified by:
getSubAccountNumber in interface Transaction
Returns:
Returns the subAccountNumber

setSubAccountNumber

public void setSubAccountNumber(String subAccountNumber)
Sets the subAccountNumber attribute.

Parameters:
subAccountNumber - The subAccountNumber to set.

getFinancialObjectCode

public String getFinancialObjectCode()
Gets the financialObjectCode attribute.

Specified by:
getFinancialObjectCode in interface Transaction
Returns:
Returns the financialObjectCode

setFinancialObjectCode

public void setFinancialObjectCode(String financialObjectCode)
Sets the financialObjectCode attribute.

Parameters:
financialObjectCode - The financialObjectCode to set.

getFinancialSubObjectCode

public String getFinancialSubObjectCode()
Gets the financialSubObjectCode attribute.

Specified by:
getFinancialSubObjectCode in interface Transaction
Returns:
Returns the financialSubObjectCode

setFinancialSubObjectCode

public void setFinancialSubObjectCode(String financialSubObjectCode)
Sets the financialSubObjectCode attribute.

Parameters:
financialSubObjectCode - The financialSubObjectCode to set.

getFinancialBalanceTypeCode

public String getFinancialBalanceTypeCode()
Gets the financialBalanceTypeCode attribute.

Specified by:
getFinancialBalanceTypeCode in interface Transaction
Returns:
Returns the financialBalanceTypeCode

setFinancialBalanceTypeCode

public void setFinancialBalanceTypeCode(String financialBalanceTypeCode)
Sets the financialBalanceTypeCode attribute.

Parameters:
financialBalanceTypeCode - The financialBalanceTypeCode to set.

getFinancialObjectTypeCode

public String getFinancialObjectTypeCode()
Gets the financialObjectTypeCode attribute.

Specified by:
getFinancialObjectTypeCode in interface Transaction
Returns:
Returns the financialObjectTypeCode

setFinancialObjectTypeCode

public void setFinancialObjectTypeCode(String financialObjectTypeCode)
Sets the financialObjectTypeCode attribute.

Parameters:
financialObjectTypeCode - The financialObjectTypeCode to set.

getUniversityFiscalPeriodCode

public String getUniversityFiscalPeriodCode()
Gets the universityFiscalPeriodCode attribute.

Specified by:
getUniversityFiscalPeriodCode in interface Transaction
Returns:
Returns the universityFiscalPeriodCode

setUniversityFiscalPeriodCode

public void setUniversityFiscalPeriodCode(String universityFiscalPeriodCode)
Sets the universityFiscalPeriodCode attribute.

Parameters:
universityFiscalPeriodCode - The universityFiscalPeriodCode to set.

getFinancialDocumentTypeCode

public String getFinancialDocumentTypeCode()
Gets the financialDocumentTypeCode attribute.

Specified by:
getFinancialDocumentTypeCode in interface Transaction
Returns:
Returns the financialDocumentTypeCode

setFinancialDocumentTypeCode

public void setFinancialDocumentTypeCode(String financialDocumentTypeCode)
Sets the financialDocumentTypeCode attribute.

Parameters:
financialDocumentTypeCode - The financialDocumentTypeCode to set.

getFinancialSystemOriginationCode

public String getFinancialSystemOriginationCode()
Gets the financialSystemOriginationCode attribute.

Specified by:
getFinancialSystemOriginationCode in interface Transaction
Returns:
Returns the financialSystemOriginationCode

setFinancialSystemOriginationCode

public void setFinancialSystemOriginationCode(String financialSystemOriginationCode)
Sets the financialSystemOriginationCode attribute.

Parameters:
financialSystemOriginationCode - The financialSystemOriginationCode to set.

getDocumentNumber

public String getDocumentNumber()
Gets the documentNumber attribute.

Specified by:
getDocumentNumber in interface Transaction
Returns:
Returns the documentNumber

setDocumentNumber

public void setDocumentNumber(String documentNumber)
Sets the documentNumber attribute.

Parameters:
documentNumber - The documentNumber to set.

getTransactionLedgerEntrySequenceNumber

public Integer getTransactionLedgerEntrySequenceNumber()
Gets the transactionLedgerEntrySequenceNumber attribute.

Specified by:
getTransactionLedgerEntrySequenceNumber in interface Transaction
Returns:
Returns the transactionLedgerEntrySequenceNumber

setTransactionLedgerEntrySequenceNumber

public void setTransactionLedgerEntrySequenceNumber(Integer transactionLedgerEntrySequenceNumber)
Sets the transactionLedgerEntrySequenceNumber attribute.

Parameters:
transactionLedgerEntrySequenceNumber - The transactionLedgerEntrySequenceNumber to set.

getTransactionLedgerEntryDescription

public String getTransactionLedgerEntryDescription()
Gets the transactionLedgerEntryDescription attribute.

Specified by:
getTransactionLedgerEntryDescription in interface Transaction
Returns:
Returns the transactionLedgerEntryDescription

setTransactionLedgerEntryDescription

public void setTransactionLedgerEntryDescription(String transactionLedgerEntryDescription)
Sets the transactionLedgerEntryDescription attribute.

Parameters:
transactionLedgerEntryDescription - The transactionLedgerEntryDescription to set.

getTransactionLedgerEntryAmount

public org.kuali.rice.kns.util.KualiDecimal getTransactionLedgerEntryAmount()
Gets the transactionLedgerEntryAmount attribute.

Specified by:
getTransactionLedgerEntryAmount in interface Transaction
Returns:
Returns the transactionLedgerEntryAmount

setTransactionLedgerEntryAmount

public void setTransactionLedgerEntryAmount(org.kuali.rice.kns.util.KualiDecimal transactionLedgerEntryAmount)
Sets the transactionLedgerEntryAmount attribute.

Parameters:
transactionLedgerEntryAmount - The transactionLedgerEntryAmount to set.

getTransactionDebitCreditCode

public String getTransactionDebitCreditCode()
Gets the transactionDebitCreditCode attribute.

Specified by:
getTransactionDebitCreditCode in interface Transaction
Returns:
Returns the transactionDebitCreditCode

setTransactionDebitCreditCode

public void setTransactionDebitCreditCode(String transactionDebitCreditCode)
Sets the transactionDebitCreditCode attribute.

Parameters:
transactionDebitCreditCode - The transactionDebitCreditCode to set.

getTransactionDate

public Date getTransactionDate()
Gets the transactionDate attribute.

Specified by:
getTransactionDate in interface Transaction
Returns:
Returns the transactionDate

setTransactionDate

public void setTransactionDate(Date transactionDate)
Sets the transactionDate attribute.

Parameters:
transactionDate - The transactionDate to set.

getOrganizationDocumentNumber

public String getOrganizationDocumentNumber()
Gets the organizationDocumentNumber attribute.

Specified by:
getOrganizationDocumentNumber in interface Transaction
Returns:
Returns the organizationDocumentNumber

setOrganizationDocumentNumber

public void setOrganizationDocumentNumber(String organizationDocumentNumber)
Sets the organizationDocumentNumber attribute.

Parameters:
organizationDocumentNumber - The organizationDocumentNumber to set.

getProjectCode

public String getProjectCode()
Gets the projectCode attribute.

Specified by:
getProjectCode in interface Transaction
Returns:
Returns the projectCode

setProjectCode

public void setProjectCode(String projectCode)
Sets the projectCode attribute.

Parameters:
projectCode - The projectCode to set.

getOrganizationReferenceId

public String getOrganizationReferenceId()
Gets the organizationReferenceId attribute.

Specified by:
getOrganizationReferenceId in interface Transaction
Returns:
Returns the organizationReferenceId

setOrganizationReferenceId

public void setOrganizationReferenceId(String organizationReferenceId)
Sets the organizationReferenceId attribute.

Parameters:
organizationReferenceId - The organizationReferenceId to set.

getReferenceFinancialDocumentTypeCode

public String getReferenceFinancialDocumentTypeCode()
Gets the referenceFinancialDocumentTypeCode attribute.

Specified by:
getReferenceFinancialDocumentTypeCode in interface Transaction
Returns:
Returns the referenceFinancialDocumentTypeCode

setReferenceFinancialDocumentTypeCode

public void setReferenceFinancialDocumentTypeCode(String referenceFinancialDocumentTypeCode)
Sets the referenceFinancialDocumentTypeCode attribute.

Parameters:
referenceFinancialDocumentTypeCode - The referenceFinancialDocumentTypeCode to set.

getReferenceFinancialSystemOriginationCode

public String getReferenceFinancialSystemOriginationCode()
Gets the referenceFinancialSystemOriginationCode attribute.

Specified by:
getReferenceFinancialSystemOriginationCode in interface Transaction
Returns:
Returns the referenceFinancialSystemOriginationCode

setReferenceFinancialSystemOriginationCode

public void setReferenceFinancialSystemOriginationCode(String referenceFinancialSystemOriginationCode)
Sets the referenceFinancialSystemOriginationCode attribute.

Parameters:
referenceFinancialSystemOriginationCode - The referenceFinancialSystemOriginationCode to set.

getReferenceFinancialDocumentNumber

public String getReferenceFinancialDocumentNumber()
Gets the referenceFinancialDocumentNumber attribute.

Specified by:
getReferenceFinancialDocumentNumber in interface Transaction
Returns:
Returns the referenceFinancialDocumentNumber

setReferenceFinancialDocumentNumber

public void setReferenceFinancialDocumentNumber(String referenceFinancialDocumentNumber)
Sets the referenceFinancialDocumentNumber attribute.

Parameters:
referenceFinancialDocumentNumber - The referenceFinancialDocumentNumber to set.

getTransactionEncumbranceUpdateCode

public String getTransactionEncumbranceUpdateCode()
Gets the transactionEncumbranceUpdateCode attribute.

Specified by:
getTransactionEncumbranceUpdateCode in interface Transaction
Returns:
Returns the transactionEncumbranceUpdateCode

setTransactionEncumbranceUpdateCode

public void setTransactionEncumbranceUpdateCode(String transactionEncumbranceUpdateCode)
Sets the transactionEncumbranceUpdateCode attribute.

Parameters:
transactionEncumbranceUpdateCode - The transactionEncumbranceUpdateCode to set.

getTransactionPostingDate

public Date getTransactionPostingDate()
Gets the transactionPostingDate attribute.

Returns:
Returns the transactionPostingDate

setTransactionPostingDate

public void setTransactionPostingDate(Date transactionPostingDate)
Sets the transactionPostingDate attribute.

Parameters:
transactionPostingDate - The transactionPostingDate to set.

getAccount

public Account getAccount()
Specified by:
getAccount in interface Transaction

setAccount

public void setAccount(Account account)
Specified by:
setAccount in interface Transaction

getAccountingPeriod

public AccountingPeriod getAccountingPeriod()

setAccountingPeriod

public void setAccountingPeriod(AccountingPeriod accountingPeriod)

getBalanceType

public BalanceType getBalanceType()
Specified by:
getBalanceType in interface Transaction

setBalanceType

public void setBalanceType(BalanceType balanceType)
Specified by:
setBalanceType in interface Transaction

getChart

public Chart getChart()
Specified by:
getChart in interface Transaction

setChart

public void setChart(Chart chart)
Specified by:
setChart in interface Transaction

getFinancialSystemDocumentTypeCode

public org.kuali.rice.kew.doctype.bo.DocumentTypeEBO getFinancialSystemDocumentTypeCode()
Specified by:
getFinancialSystemDocumentTypeCode in interface Transaction

getFinancialObject

public ObjectCode getFinancialObject()
Specified by:
getFinancialObject in interface Transaction

setFinancialObject

public void setFinancialObject(ObjectCode financialObject)
Specified by:
setFinancialObject in interface Transaction

getFinancialSubObject

public SubObjectCode getFinancialSubObject()
Specified by:
getFinancialSubObject in interface Transaction

setFinancialSubObject

public void setFinancialSubObject(SubObjectCode financialSubObject)

getObjectType

public ObjectType getObjectType()
Specified by:
getObjectType in interface Transaction

setObjectType

public void setObjectType(ObjectType objectType)
Specified by:
setObjectType in interface Transaction

getOption

public SystemOptions getOption()
Specified by:
getOption in interface Transaction

setOption

public void setOption(SystemOptions option)
Specified by:
setOption in interface Transaction

getProject

public ProjectCode getProject()

setProject

public void setProject(ProjectCode project)

getReversalDate

public UniversityDate getReversalDate()

setReversalDate

public void setReversalDate(UniversityDate reversalDate)

getSubAccount

public SubAccount getSubAccount()
Specified by:
getSubAccount in interface Transaction

setSubAccount

public void setSubAccount(SubAccount subAccount)

getUniversityDate

public UniversityDate getUniversityDate()

setUniversityDate

public void setUniversityDate(UniversityDate universityDate)

toStringMapper

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


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