org.kuali.kfs.gl.businessobject
Class OriginEntryFull

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.OriginEntryFull
All Implemented Interfaces:
Serializable, org.apache.ojb.broker.PersistenceBrokerAware, FlexibleAccountUpdateable, OriginEntryInformation, Transaction, org.kuali.rice.kns.bo.BusinessObject, org.kuali.rice.kns.bo.PersistableBusinessObject
Direct Known Subclasses:
LaborGeneralLedgerEntry, LaborOriginEntry

public class OriginEntryFull
extends org.kuali.rice.kns.bo.PersistableBusinessObjectBase
implements Transaction, OriginEntryInformation, FlexibleAccountUpdateable

This class represents a full origin entry

See Also:
Serialized Form

Field Summary
protected  String accountNumber
           
protected  String chartOfAccountsCode
           
protected  String documentNumber
           
protected  String financialBalanceTypeCode
           
protected  Date financialDocumentReversalDate
           
protected  String financialDocumentTypeCode
           
protected  String financialObjectCode
           
protected  String financialObjectTypeCode
           
protected  String financialSubObjectCode
           
protected  String financialSystemOriginationCode
           
static Pattern MATCH_CONTROL_CHARACTERS
           
protected  String organizationDocumentNumber
           
protected  String organizationReferenceId
           
protected  String projectCode
           
protected  String referenceFinancialDocumentNumber
           
protected  String referenceFinancialDocumentTypeCode
           
protected  String referenceFinancialSystemOriginationCode
           
static String REPLACE_MATCHED_CONTROL_CHARACTERS
           
protected  String subAccountNumber
           
protected  Date transactionDate
           
protected  String transactionDebitCreditCode
           
protected  String transactionEncumbranceUpdateCode
           
protected  org.kuali.rice.kns.util.KualiDecimal transactionLedgerEntryAmount
           
protected  String transactionLedgerEntryDescription
           
protected  Integer transactionLedgerEntrySequenceNumber
           
protected  String universityFiscalPeriodCode
           
protected  Integer universityFiscalYear
           
 
Fields inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase
extension, versionNumber
 
Constructor Summary
OriginEntryFull()
           
OriginEntryFull(GeneralLedgerPendingEntry glpe)
           
OriginEntryFull(String line)
           
OriginEntryFull(String financialDocumentTypeCode, String financialSystemOriginationCode)
           
OriginEntryFull(Transaction t)
           
 
Method Summary
 void clearTransactionLedgerEntryAmount()
           
 void copyFieldsFromTransaction(Transaction t)
           
static OriginEntryFull copyFromOriginEntryable(OriginEntryInformation oe)
           
protected  String formatDate(Date date)
           
 A21SubAccount getA21SubAccount()
           
 Account getAccount()
           
 AccountingPeriod getAccountingPeriod()
           
 String getAccountNumber()
          gets the accountNumber attribute value
 BalanceType getBalanceType()
           
 Chart getChart()
           
 String getChartOfAccountsCode()
          gets the chartOfAccountsCode attribute value
 String getDocumentNumber()
          gets the documentNumber attribute value
 Integer getEntryGroupId()
           
 Integer getEntryId()
           
protected  String getField(int size, String value)
           
 Object getFieldValue(String fieldName)
           
 String getFinancialBalanceTypeCode()
          gets the financialBalanceTypeCode attribute value
 Date getFinancialDocumentReversalDate()
          gets the financialDocumentReversalDate attribute value
 String getFinancialDocumentTypeCode()
          gets the financialDocumentTypeCode attribute value
 ObjectCode getFinancialObject()
           
 String getFinancialObjectCode()
          gets the financialObjectCode attribute value
 String getFinancialObjectTypeCode()
          gets the financialObjectTypeCode attribute value
 SubObjectCode getFinancialSubObject()
           
 String getFinancialSubObjectCode()
          gets the financialSubObjectCode attribute value
 org.kuali.rice.kew.doctype.bo.DocumentTypeEBO getFinancialSystemDocumentTypeCode()
           
 String getFinancialSystemOriginationCode()
          gets the financialSystemOriginationCode attribute value
 OriginEntryGroup getGroup()
           
 String getLine()
          This gets the origin entry in its standard string output form
 ObjectType getObjectType()
           
 SystemOptions getOption()
           
 String getOrganizationDocumentNumber()
          gets the organizationDocumentNumber attribute value
 String getOrganizationReferenceId()
          gets the organizationReferenceId attribute value
 OriginationCode getOrigination()
           
protected static OriginEntryFieldUtil getOriginEntryFieldUtil()
           
 ProjectCode getProject()
           
 String getProjectCode()
          gets the projectCode attribute value
 String getReferenceFinancialDocumentNumber()
          gets the referenceFinancialDocumentNumber attribute value
 String getReferenceFinancialDocumentTypeCode()
          gets the referenceFinancialDocumentTypeCode attribute value
 org.kuali.rice.kew.doctype.bo.DocumentTypeEBO getReferenceFinancialSystemDocumentTypeCode()
           
 String getReferenceFinancialSystemOriginationCode()
          gets the referenceFinancialSystemOriginationCode attribute value
 UniversityDate getReversalDate()
           
 SubAccount getSubAccount()
           
 String getSubAccountNumber()
          gets the subAccountNumber attribute value
 Date getTransactionDate()
          gets the transactionDate attribute value
 String getTransactionDebitCreditCode()
          gets the transactionDebitCreditCode attribute value
 String getTransactionEncumbranceUpdateCode()
          gets transactionEncumbranceUpdateCode attribute value
 org.kuali.rice.kns.util.KualiDecimal getTransactionLedgerEntryAmount()
          gets the transactionLedgerEntryAmount attribute value
 String getTransactionLedgerEntryDescription()
          gets the transactionLedgerEntryDescription attribute value
 Integer getTransactionLedgerEntrySequenceNumber()
          gets the transactionLedgerEntrySequenceNumber attribute value
 UniversityDate getUniversityDate()
           
 String getUniversityFiscalPeriodCode()
          gets the universityFiscalPeriodCode attribute value
 Integer getUniversityFiscalYear()
          gets the universityFiscalYear attribute value
protected  String getValue(String line, int s, int e)
           
 boolean isCredit()
          true if this origin entry is a credit, false otherwise
 boolean isDebit()
          true if this origin entry is a debit, false otherwise
 boolean isTransactionScrubberOffsetGenerationIndicator()
           
protected  Date parseDate(String sdate, boolean beLenientWithDates)
           
 void resetEntryId()
          This method forces the origin entryable to reset its id to null
 void setA21SubAccount(A21SubAccount subAccount)
           
 void setAccount(Account account)
          Sets the business object's account attribute
 void setAccountingPeriod(AccountingPeriod accountingPeriod)
           
 void setAccountNumber(String accountNumber)
          sets the accountNumber attribute value
 void setBalanceType(BalanceType balanceType)
           
 void setChart(Chart chart)
           
 void setChartOfAccountsCode(String chartOfAccountsCode)
          sets the chartOfAccountsCode attribute value
 void setDocumentNumber(String documentNumber)
          sets the documentNumber attribute value
 void setEntryGroupId(Integer entryGroupId)
          sets the entryGroupId attribute value
 void setEntryId(Integer entryId)
           
 void setFieldValue(String fieldName, String fieldValue)
           
 void setFinancialBalanceTypeCode(String financialBalanceTypeCode)
          sets the financialBalanceTypeCode attribute value
 void setFinancialDocumentReversalDate(Date financialDocumentReversalDate)
          sets the financialDocumentReversalDate attribute value
 void setFinancialDocumentTypeCode(String financialDocumentTypeCode)
          sets the financialDocumentTypeCode attribute value
 void setFinancialObject(ObjectCode financialObject)
           
 void setFinancialObjectCode(String financialObjectCode)
          sets the financialObjectCode attribute value
 void setFinancialObjectTypeCode(String financialObjectTypeCode)
          sets the financialObjectTypeCode attribute value
 void setFinancialSubObject(SubObjectCode financialSubObject)
           
 void setFinancialSubObjectCode(String financialSubObjectCode)
          sets the financialSubObjectCode attribute value
 void setFinancialSystemOriginationCode(String financialSystemOriginationCode)
          sets the financialSystemOriginationCode attribute value
 List<Message> setFromTextFileForBatch(String line, int lineNumber)
          This method loads the fields of this origin entry by parsing the passed in the string It is assumed that the String does not contain the origin entry ID, but if it does, it will be ignored
 void setGroup(OriginEntryGroup oeg)
           
 void setObjectType(ObjectType objectType)
           
 void setOption(SystemOptions option)
           
 void setOrganizationDocumentNumber(String organizationDocumentNumber)
          sets the organizationDocumentNumber attribute value
 void setOrganizationReferenceId(String organizationReferenceId)
          sets the organizationReferenceId attribute value
 void setOrigination(OriginationCode origination)
           
 void setProject(ProjectCode project)
           
 void setProjectCode(String projectCode)
          sets the projectCode attribute value
 void setReferenceFinancialDocumentNumber(String referenceFinancialDocumentNumber)
          sets the referenceFinancialDocumentNumber attribute value
 void setReferenceFinancialDocumentTypeCode(String referenceFinancialDocumentTypeCode)
          sets the referenceFinancialDocumentTypeCode attribute value
 void setReferenceFinancialSystemOriginationCode(String referenceFinancialSystemOriginationCode)
          sets referenceFinancialSystemOriginationCode attribute value
 void setReversalDate(UniversityDate reversalDate)
           
 void setSubAccount(SubAccount subAccount)
           
 void setSubAccountNumber(String subAccountNumber)
          sets the subAccountNumber attribute value
 void setTransactionDate(Date transactionDate)
          sets the transactionDate attribute value
 void setTransactionDebitCreditCode(String transactionDebitCreditCode)
          sets the transactionDebitCreditCode attribute value
 void setTransactionEncumbranceUpdateCode(String transactionEncumbranceUpdateCode)
          sets transactionEncumbranceUpdateCode attribute value
 void setTransactionLedgerEntryAmount(org.kuali.rice.kns.util.KualiDecimal transactionLedgerEntryAmount)
          sets the transactionLedgerEntryAmount attribute value
 void setTransactionLedgerEntryAmount(String transactionLedgerEntryAmount)
           
 void setTransactionLedgerEntryDescription(String transactionLedgerEntryDescription)
          sets the transactionLedgerEntryDescription attribute value
 void setTransactionLedgerEntrySequenceNumber(Integer transactionLedgerEntrySequenceNumber)
          sets the transactionLedgerEntrySequenceNumber attribute value
 void setTransactionScrubberOffsetGenerationIndicator(boolean transactionScrubberOffsetGenerationIndicator)
          gets the transactionScrubberOffsetGenerationIndicator attribute value
 void setUniversityDate(UniversityDate universityDate)
           
 void setUniversityFiscalPeriodCode(String universityFiscalPeriodCode)
          sets the universityFiscalPeriodCode attribute value
 void setUniversityFiscalYear(Integer universityFiscalYear)
          sets the universityFiscalYear attribute value
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
 

Field Detail

MATCH_CONTROL_CHARACTERS

public static final Pattern MATCH_CONTROL_CHARACTERS

REPLACE_MATCHED_CONTROL_CHARACTERS

public static final String REPLACE_MATCHED_CONTROL_CHARACTERS
See Also:
Constant Field Values

accountNumber

protected String accountNumber

documentNumber

protected String documentNumber

referenceFinancialDocumentNumber

protected String referenceFinancialDocumentNumber

referenceFinancialDocumentTypeCode

protected String referenceFinancialDocumentTypeCode

financialDocumentReversalDate

protected Date financialDocumentReversalDate

financialDocumentTypeCode

protected String financialDocumentTypeCode

financialBalanceTypeCode

protected String financialBalanceTypeCode

chartOfAccountsCode

protected String chartOfAccountsCode

financialObjectTypeCode

protected String financialObjectTypeCode

financialObjectCode

protected String financialObjectCode

financialSubObjectCode

protected String financialSubObjectCode

financialSystemOriginationCode

protected String financialSystemOriginationCode

referenceFinancialSystemOriginationCode

protected String referenceFinancialSystemOriginationCode

organizationDocumentNumber

protected String organizationDocumentNumber

organizationReferenceId

protected String organizationReferenceId

projectCode

protected String projectCode

subAccountNumber

protected String subAccountNumber

transactionDate

protected Date transactionDate

transactionDebitCreditCode

protected String transactionDebitCreditCode

transactionEncumbranceUpdateCode

protected String transactionEncumbranceUpdateCode

transactionLedgerEntrySequenceNumber

protected Integer transactionLedgerEntrySequenceNumber

transactionLedgerEntryAmount

protected org.kuali.rice.kns.util.KualiDecimal transactionLedgerEntryAmount

transactionLedgerEntryDescription

protected String transactionLedgerEntryDescription

universityFiscalPeriodCode

protected String universityFiscalPeriodCode

universityFiscalYear

protected Integer universityFiscalYear
Constructor Detail

OriginEntryFull

public OriginEntryFull(GeneralLedgerPendingEntry glpe)

OriginEntryFull

public OriginEntryFull(String financialDocumentTypeCode,
                       String financialSystemOriginationCode)

OriginEntryFull

public OriginEntryFull()

OriginEntryFull

public OriginEntryFull(Transaction t)

OriginEntryFull

public OriginEntryFull(String line)
Method Detail

copyFieldsFromTransaction

public void copyFieldsFromTransaction(Transaction t)

parseDate

protected Date parseDate(String sdate,
                         boolean beLenientWithDates)
                  throws ParseException
Throws:
ParseException

formatDate

protected String formatDate(Date date)

getValue

protected String getValue(String line,
                          int s,
                          int e)

setFromTextFileForBatch

public List<Message> setFromTextFileForBatch(String line,
                                             int lineNumber)
                                      throws LoadException
This method loads the fields of this origin entry by parsing the passed in the string It is assumed that the String does not contain the origin entry ID, but if it does, it will be ignored

Parameters:
line - a string representing an origin entry
lineNumber - used to render an error message by identifying this line
Throws:
LoadException

getField

protected String getField(int size,
                          String value)

getLine

public String getLine()
Description copied from interface: OriginEntryInformation
This gets the origin entry in its standard string output form

Specified by:
getLine in interface OriginEntryInformation
Returns:

isTransactionScrubberOffsetGenerationIndicator

public boolean isTransactionScrubberOffsetGenerationIndicator()

setTransactionScrubberOffsetGenerationIndicator

public void setTransactionScrubberOffsetGenerationIndicator(boolean transactionScrubberOffsetGenerationIndicator)
Description copied from interface: OriginEntryInformation
gets the transactionScrubberOffsetGenerationIndicator attribute value

Specified by:
setTransactionScrubberOffsetGenerationIndicator in interface OriginEntryInformation

getAccountNumber

public String getAccountNumber()
Description copied from interface: OriginEntryInformation
gets the accountNumber attribute value

Specified by:
getAccountNumber in interface FlexibleAccountUpdateable
Specified by:
getAccountNumber in interface OriginEntryInformation
Specified by:
getAccountNumber in interface Transaction
Returns:
a valid account number

setAccountNumber

public void setAccountNumber(String accountNumber)
Description copied from interface: OriginEntryInformation
sets the accountNumber attribute value

Specified by:
setAccountNumber in interface FlexibleAccountUpdateable
Specified by:
setAccountNumber in interface OriginEntryInformation
Parameters:
accountNumber - the account number to set

getFinancialBalanceTypeCode

public String getFinancialBalanceTypeCode()
Description copied from interface: OriginEntryInformation
gets the financialBalanceTypeCode attribute value

Specified by:
getFinancialBalanceTypeCode in interface FlexibleAccountUpdateable
Specified by:
getFinancialBalanceTypeCode in interface OriginEntryInformation
Specified by:
getFinancialBalanceTypeCode in interface Transaction
Returns:
a valid balance type code

setFinancialBalanceTypeCode

public void setFinancialBalanceTypeCode(String financialBalanceTypeCode)
Description copied from interface: OriginEntryInformation
sets the financialBalanceTypeCode attribute value

Specified by:
setFinancialBalanceTypeCode in interface OriginEntryInformation

getChartOfAccountsCode

public String getChartOfAccountsCode()
Description copied from interface: OriginEntryInformation
gets the chartOfAccountsCode attribute value

Specified by:
getChartOfAccountsCode in interface FlexibleAccountUpdateable
Specified by:
getChartOfAccountsCode in interface OriginEntryInformation
Specified by:
getChartOfAccountsCode in interface Transaction
Returns:
a valid chart of accounts code

setChartOfAccountsCode

public void setChartOfAccountsCode(String chartOfAccountsCode)
Description copied from interface: OriginEntryInformation
sets the chartOfAccountsCode attribute value

Specified by:
setChartOfAccountsCode in interface FlexibleAccountUpdateable
Specified by:
setChartOfAccountsCode in interface OriginEntryInformation
Parameters:
chartOfAccountsCode - the chart code to set

getTransactionDebitCreditCode

public String getTransactionDebitCreditCode()
Description copied from interface: OriginEntryInformation
gets the transactionDebitCreditCode attribute value

Specified by:
getTransactionDebitCreditCode in interface OriginEntryInformation
Specified by:
getTransactionDebitCreditCode in interface Transaction
Returns:

setTransactionDebitCreditCode

public void setTransactionDebitCreditCode(String transactionDebitCreditCode)
Description copied from interface: OriginEntryInformation
sets the transactionDebitCreditCode attribute value

Specified by:
setTransactionDebitCreditCode in interface OriginEntryInformation

getDocumentNumber

public String getDocumentNumber()
Description copied from interface: OriginEntryInformation
gets the documentNumber attribute value

Specified by:
getDocumentNumber in interface OriginEntryInformation
Specified by:
getDocumentNumber in interface Transaction
Returns:

setDocumentNumber

public void setDocumentNumber(String documentNumber)
Description copied from interface: OriginEntryInformation
sets the documentNumber attribute value

Specified by:
setDocumentNumber in interface OriginEntryInformation

getFinancialDocumentReversalDate

public Date getFinancialDocumentReversalDate()
Description copied from interface: OriginEntryInformation
gets the financialDocumentReversalDate attribute value

Specified by:
getFinancialDocumentReversalDate in interface OriginEntryInformation
Specified by:
getFinancialDocumentReversalDate in interface Transaction
Returns:

setFinancialDocumentReversalDate

public void setFinancialDocumentReversalDate(Date financialDocumentReversalDate)
Description copied from interface: OriginEntryInformation
sets the financialDocumentReversalDate attribute value

Specified by:
setFinancialDocumentReversalDate in interface OriginEntryInformation

getFinancialDocumentTypeCode

public String getFinancialDocumentTypeCode()
Description copied from interface: OriginEntryInformation
gets the financialDocumentTypeCode attribute value

Specified by:
getFinancialDocumentTypeCode in interface FlexibleAccountUpdateable
Specified by:
getFinancialDocumentTypeCode in interface OriginEntryInformation
Specified by:
getFinancialDocumentTypeCode in interface Transaction
Returns:
a valid document code

setFinancialDocumentTypeCode

public void setFinancialDocumentTypeCode(String financialDocumentTypeCode)
Description copied from interface: OriginEntryInformation
sets the financialDocumentTypeCode attribute value

Specified by:
setFinancialDocumentTypeCode in interface OriginEntryInformation

getTransactionEncumbranceUpdateCode

public String getTransactionEncumbranceUpdateCode()
Description copied from interface: OriginEntryInformation
gets transactionEncumbranceUpdateCode attribute value

Specified by:
getTransactionEncumbranceUpdateCode in interface OriginEntryInformation
Specified by:
getTransactionEncumbranceUpdateCode in interface Transaction
Returns:

setTransactionEncumbranceUpdateCode

public void setTransactionEncumbranceUpdateCode(String transactionEncumbranceUpdateCode)
Description copied from interface: OriginEntryInformation
sets transactionEncumbranceUpdateCode attribute value

Specified by:
setTransactionEncumbranceUpdateCode in interface OriginEntryInformation

getEntryGroupId

public Integer getEntryGroupId()

setEntryGroupId

public void setEntryGroupId(Integer entryGroupId)
Description copied from interface: OriginEntryInformation
sets the entryGroupId attribute value

Specified by:
setEntryGroupId in interface OriginEntryInformation

getEntryId

public Integer getEntryId()

setEntryId

public void setEntryId(Integer entryId)

resetEntryId

public void resetEntryId()
Description copied from interface: OriginEntryInformation
This method forces the origin entryable to reset its id to null

Specified by:
resetEntryId in interface OriginEntryInformation

getFinancialObjectCode

public String getFinancialObjectCode()
Description copied from interface: OriginEntryInformation
gets the financialObjectCode attribute value

Specified by:
getFinancialObjectCode in interface FlexibleAccountUpdateable
Specified by:
getFinancialObjectCode in interface OriginEntryInformation
Specified by:
getFinancialObjectCode in interface Transaction
Returns:
a valid object code

setFinancialObjectCode

public void setFinancialObjectCode(String financialObjectCode)
Description copied from interface: OriginEntryInformation
sets the financialObjectCode attribute value

Specified by:
setFinancialObjectCode in interface OriginEntryInformation

getFinancialObjectTypeCode

public String getFinancialObjectTypeCode()
Description copied from interface: OriginEntryInformation
gets the financialObjectTypeCode attribute value

Specified by:
getFinancialObjectTypeCode in interface OriginEntryInformation
Specified by:
getFinancialObjectTypeCode in interface Transaction
Returns:

setFinancialObjectTypeCode

public void setFinancialObjectTypeCode(String financialObjectTypeCode)
Description copied from interface: OriginEntryInformation
sets the financialObjectTypeCode attribute value

Specified by:
setFinancialObjectTypeCode in interface OriginEntryInformation

getOrganizationDocumentNumber

public String getOrganizationDocumentNumber()
Description copied from interface: OriginEntryInformation
gets the organizationDocumentNumber attribute value

Specified by:
getOrganizationDocumentNumber in interface OriginEntryInformation
Specified by:
getOrganizationDocumentNumber in interface Transaction
Returns:

setOrganizationDocumentNumber

public void setOrganizationDocumentNumber(String organizationDocumentNumber)
Description copied from interface: OriginEntryInformation
sets the organizationDocumentNumber attribute value

Specified by:
setOrganizationDocumentNumber in interface OriginEntryInformation

getOrganizationReferenceId

public String getOrganizationReferenceId()
Description copied from interface: OriginEntryInformation
gets the organizationReferenceId attribute value

Specified by:
getOrganizationReferenceId in interface OriginEntryInformation
Specified by:
getOrganizationReferenceId in interface Transaction
Returns:

setOrganizationReferenceId

public void setOrganizationReferenceId(String organizationReferenceId)
Description copied from interface: OriginEntryInformation
sets the organizationReferenceId attribute value

Specified by:
setOrganizationReferenceId in interface OriginEntryInformation

getFinancialSystemOriginationCode

public String getFinancialSystemOriginationCode()
Description copied from interface: OriginEntryInformation
gets the financialSystemOriginationCode attribute value

Specified by:
getFinancialSystemOriginationCode in interface OriginEntryInformation
Specified by:
getFinancialSystemOriginationCode in interface Transaction
Returns:

setFinancialSystemOriginationCode

public void setFinancialSystemOriginationCode(String financialSystemOriginationCode)
Description copied from interface: OriginEntryInformation
sets the financialSystemOriginationCode attribute value

Specified by:
setFinancialSystemOriginationCode in interface OriginEntryInformation

getProjectCode

public String getProjectCode()
Description copied from interface: OriginEntryInformation
gets the projectCode attribute value

Specified by:
getProjectCode in interface OriginEntryInformation
Specified by:
getProjectCode in interface Transaction
Returns:

setProjectCode

public void setProjectCode(String projectCode)
Description copied from interface: OriginEntryInformation
sets the projectCode attribute value

Specified by:
setProjectCode in interface OriginEntryInformation

getReferenceFinancialDocumentNumber

public String getReferenceFinancialDocumentNumber()
Description copied from interface: OriginEntryInformation
gets the referenceFinancialDocumentNumber attribute value

Specified by:
getReferenceFinancialDocumentNumber in interface OriginEntryInformation
Specified by:
getReferenceFinancialDocumentNumber in interface Transaction
Returns:

setReferenceFinancialDocumentNumber

public void setReferenceFinancialDocumentNumber(String referenceFinancialDocumentNumber)
Description copied from interface: OriginEntryInformation
sets the referenceFinancialDocumentNumber attribute value

Specified by:
setReferenceFinancialDocumentNumber in interface OriginEntryInformation

getReferenceFinancialDocumentTypeCode

public String getReferenceFinancialDocumentTypeCode()
Description copied from interface: OriginEntryInformation
gets the referenceFinancialDocumentTypeCode attribute value

Specified by:
getReferenceFinancialDocumentTypeCode in interface OriginEntryInformation
Specified by:
getReferenceFinancialDocumentTypeCode in interface Transaction
Returns:

setReferenceFinancialDocumentTypeCode

public void setReferenceFinancialDocumentTypeCode(String referenceFinancialDocumentTypeCode)
Description copied from interface: OriginEntryInformation
sets the referenceFinancialDocumentTypeCode attribute value

Specified by:
setReferenceFinancialDocumentTypeCode in interface OriginEntryInformation

getReferenceFinancialSystemOriginationCode

public String getReferenceFinancialSystemOriginationCode()
Description copied from interface: OriginEntryInformation
gets the referenceFinancialSystemOriginationCode attribute value

Specified by:
getReferenceFinancialSystemOriginationCode in interface OriginEntryInformation
Specified by:
getReferenceFinancialSystemOriginationCode in interface Transaction
Returns:

setReferenceFinancialSystemOriginationCode

public void setReferenceFinancialSystemOriginationCode(String referenceFinancialSystemOriginationCode)
Description copied from interface: OriginEntryInformation
sets referenceFinancialSystemOriginationCode attribute value

Specified by:
setReferenceFinancialSystemOriginationCode in interface OriginEntryInformation

getSubAccountNumber

public String getSubAccountNumber()
Description copied from interface: OriginEntryInformation
gets the subAccountNumber attribute value

Specified by:
getSubAccountNumber in interface OriginEntryInformation
Specified by:
getSubAccountNumber in interface Transaction
Returns:

setSubAccountNumber

public void setSubAccountNumber(String subAccountNumber)
Description copied from interface: OriginEntryInformation
sets the subAccountNumber attribute value

Specified by:
setSubAccountNumber in interface FlexibleAccountUpdateable
Specified by:
setSubAccountNumber in interface OriginEntryInformation
Parameters:
subAccountNumber - the sub account number to set

getFinancialSubObjectCode

public String getFinancialSubObjectCode()
Description copied from interface: OriginEntryInformation
gets the financialSubObjectCode attribute value

Specified by:
getFinancialSubObjectCode in interface OriginEntryInformation
Specified by:
getFinancialSubObjectCode in interface Transaction
Returns:

setFinancialSubObjectCode

public void setFinancialSubObjectCode(String financialSubObjectCode)
Description copied from interface: OriginEntryInformation
sets the financialSubObjectCode attribute value

Specified by:
setFinancialSubObjectCode in interface FlexibleAccountUpdateable
Specified by:
setFinancialSubObjectCode in interface OriginEntryInformation
Parameters:
financialSubObjectCode - the financial sub-object code to set

getTransactionDate

public Date getTransactionDate()
Description copied from interface: OriginEntryInformation
gets the transactionDate attribute value

Specified by:
getTransactionDate in interface OriginEntryInformation
Specified by:
getTransactionDate in interface Transaction
Returns:

setTransactionDate

public void setTransactionDate(Date transactionDate)
Description copied from interface: OriginEntryInformation
sets the transactionDate attribute value

Specified by:
setTransactionDate in interface OriginEntryInformation

getTransactionLedgerEntrySequenceNumber

public Integer getTransactionLedgerEntrySequenceNumber()
Description copied from interface: OriginEntryInformation
gets the transactionLedgerEntrySequenceNumber attribute value

Specified by:
getTransactionLedgerEntrySequenceNumber in interface OriginEntryInformation
Specified by:
getTransactionLedgerEntrySequenceNumber in interface Transaction
Returns:

setTransactionLedgerEntrySequenceNumber

public void setTransactionLedgerEntrySequenceNumber(Integer transactionLedgerEntrySequenceNumber)
Description copied from interface: OriginEntryInformation
sets the transactionLedgerEntrySequenceNumber attribute value

Specified by:
setTransactionLedgerEntrySequenceNumber in interface OriginEntryInformation

getTransactionLedgerEntryAmount

public org.kuali.rice.kns.util.KualiDecimal getTransactionLedgerEntryAmount()
Description copied from interface: OriginEntryInformation
gets the transactionLedgerEntryAmount attribute value

Specified by:
getTransactionLedgerEntryAmount in interface OriginEntryInformation
Specified by:
getTransactionLedgerEntryAmount in interface Transaction
Returns:

setTransactionLedgerEntryAmount

public void setTransactionLedgerEntryAmount(org.kuali.rice.kns.util.KualiDecimal transactionLedgerEntryAmount)
Description copied from interface: OriginEntryInformation
sets the transactionLedgerEntryAmount attribute value

Specified by:
setTransactionLedgerEntryAmount in interface OriginEntryInformation

setTransactionLedgerEntryAmount

public void setTransactionLedgerEntryAmount(String transactionLedgerEntryAmount)

clearTransactionLedgerEntryAmount

public void clearTransactionLedgerEntryAmount()

getTransactionLedgerEntryDescription

public String getTransactionLedgerEntryDescription()
Description copied from interface: OriginEntryInformation
gets the transactionLedgerEntryDescription attribute value

Specified by:
getTransactionLedgerEntryDescription in interface OriginEntryInformation
Specified by:
getTransactionLedgerEntryDescription in interface Transaction
Returns:

setTransactionLedgerEntryDescription

public void setTransactionLedgerEntryDescription(String transactionLedgerEntryDescription)
Description copied from interface: OriginEntryInformation
sets the transactionLedgerEntryDescription attribute value

Specified by:
setTransactionLedgerEntryDescription in interface OriginEntryInformation

getUniversityFiscalPeriodCode

public String getUniversityFiscalPeriodCode()
Description copied from interface: OriginEntryInformation
gets the universityFiscalPeriodCode attribute value

Specified by:
getUniversityFiscalPeriodCode in interface OriginEntryInformation
Specified by:
getUniversityFiscalPeriodCode in interface Transaction
Returns:

setUniversityFiscalPeriodCode

public void setUniversityFiscalPeriodCode(String universityFiscalPeriodCode)
Description copied from interface: OriginEntryInformation
sets the universityFiscalPeriodCode attribute value

Specified by:
setUniversityFiscalPeriodCode in interface OriginEntryInformation

getUniversityFiscalYear

public Integer getUniversityFiscalYear()
Description copied from interface: OriginEntryInformation
gets the universityFiscalYear attribute value

Specified by:
getUniversityFiscalYear in interface FlexibleAccountUpdateable
Specified by:
getUniversityFiscalYear in interface OriginEntryInformation
Specified by:
getUniversityFiscalYear in interface Transaction
Returns:
a valid university fiscal year

setUniversityFiscalYear

public void setUniversityFiscalYear(Integer universityFiscalYear)
Description copied from interface: OriginEntryInformation
sets the universityFiscalYear attribute value

Specified by:
setUniversityFiscalYear in interface OriginEntryInformation

isDebit

public boolean isDebit()
Description copied from interface: OriginEntryInformation
true if this origin entry is a debit, false otherwise

Specified by:
isDebit in interface OriginEntryInformation
Returns:

isCredit

public boolean isCredit()
Description copied from interface: OriginEntryInformation
true if this origin entry is a credit, false otherwise

Specified by:
isCredit in interface OriginEntryInformation
Returns:

setFieldValue

public void setFieldValue(String fieldName,
                          String fieldValue)

getFieldValue

public Object getFieldValue(String fieldName)

toStringMapper

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

getGroup

public OriginEntryGroup getGroup()

setGroup

public void setGroup(OriginEntryGroup oeg)

getA21SubAccount

public A21SubAccount getA21SubAccount()

setA21SubAccount

public void setA21SubAccount(A21SubAccount subAccount)

getAccount

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

setAccount

public void setAccount(Account account)
Description copied from interface: FlexibleAccountUpdateable
Sets the business object's account attribute

Specified by:
setAccount in interface FlexibleAccountUpdateable
Specified by:
setAccount in interface Transaction
Parameters:
account - an account business object to set

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)

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)

getAccountingPeriod

public AccountingPeriod getAccountingPeriod()

setAccountingPeriod

public void setAccountingPeriod(AccountingPeriod accountingPeriod)

getReversalDate

public UniversityDate getReversalDate()

setReversalDate

public void setReversalDate(UniversityDate reversalDate)

getOrigination

public OriginationCode getOrigination()

setOrigination

public void setOrigination(OriginationCode origination)

getReferenceFinancialSystemDocumentTypeCode

public org.kuali.rice.kew.doctype.bo.DocumentTypeEBO getReferenceFinancialSystemDocumentTypeCode()

copyFromOriginEntryable

public static OriginEntryFull copyFromOriginEntryable(OriginEntryInformation oe)

getOriginEntryFieldUtil

protected static OriginEntryFieldUtil getOriginEntryFieldUtil()
Returns:
the static instance of the OriginEntryFieldUtil


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