001: /*
002: * Copyright 2005-2007 The Kuali Foundation.
003: *
004: * Licensed under the Educational Community License, Version 1.0 (the "License");
005: * you may not use this file except in compliance with the License.
006: * You may obtain a copy of the License at
007: *
008: * http://www.opensource.org/licenses/ecl1.php
009: *
010: * Unless required by applicable law or agreed to in writing, software
011: * distributed under the License is distributed on an "AS IS" BASIS,
012: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013: * See the License for the specific language governing permissions and
014: * limitations under the License.
015: */
016: /*
017: * Created on Oct 12, 2005
018: *
019: */
020: package org.kuali.module.gl.bo;
021:
022: import java.sql.Date;
023:
024: import org.kuali.core.bo.DocumentType;
025: import org.kuali.core.util.KualiDecimal;
026: import org.kuali.kfs.bo.Options;
027: import org.kuali.module.chart.bo.Account;
028: import org.kuali.module.chart.bo.Chart;
029: import org.kuali.module.chart.bo.ObjectCode;
030: import org.kuali.module.chart.bo.ObjectType;
031: import org.kuali.module.chart.bo.SubAccount;
032: import org.kuali.module.chart.bo.SubObjCd;
033: import org.kuali.module.chart.bo.codes.BalanceTyp;
034:
035: /**
036: * This interface represents a financial transaction
037: */
038: public interface Transaction {
039: public String getAccountNumber();
040:
041: public String getFinancialBalanceTypeCode();
042:
043: public String getChartOfAccountsCode();
044:
045: public String getTransactionDebitCreditCode();
046:
047: public String getDocumentNumber();
048:
049: public Date getFinancialDocumentReversalDate();
050:
051: public String getFinancialDocumentTypeCode();
052:
053: public String getTransactionEncumbranceUpdateCode();
054:
055: public String getFinancialObjectCode();
056:
057: public String getFinancialObjectTypeCode();
058:
059: public String getOrganizationDocumentNumber();
060:
061: public String getOrganizationReferenceId();
062:
063: public String getFinancialSystemOriginationCode();
064:
065: public String getProjectCode();
066:
067: public String getReferenceFinancialDocumentNumber();
068:
069: public String getReferenceFinancialDocumentTypeCode();
070:
071: public String getReferenceFinancialSystemOriginationCode();
072:
073: public String getSubAccountNumber();
074:
075: public String getFinancialSubObjectCode();
076:
077: public Date getTransactionDate();
078:
079: public Integer getTransactionLedgerEntrySequenceNumber();
080:
081: public KualiDecimal getTransactionLedgerEntryAmount();
082:
083: public String getTransactionLedgerEntryDescription();
084:
085: public String getUniversityFiscalPeriodCode();
086:
087: public Integer getUniversityFiscalYear();
088:
089: // bo mappings
090: public Chart getChart();
091:
092: public Account getAccount();
093:
094: public ObjectCode getFinancialObject();
095:
096: public BalanceTyp getBalanceType();
097:
098: public Options getOption();
099:
100: public ObjectType getObjectType();
101:
102: public void refreshNonUpdateableReferences();
103:
104: public SubAccount getSubAccount();
105:
106: public SubObjCd getFinancialSubObject();
107:
108: public DocumentType getDocumentType();
109: }
|