View Javadoc
1   /*
2    * Copyright 2005 The Kuali Foundation
3    * 
4    * Licensed under the Educational Community License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    * 
8    * http://www.opensource.org/licenses/ecl2.php
9    * 
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  /*
17   * Created on Oct 12, 2005
18   *
19   */
20  package org.kuali.ole.gl.businessobject;
21  
22  import java.sql.Date;
23  
24  import org.kuali.ole.coa.businessobject.Account;
25  import org.kuali.ole.coa.businessobject.BalanceType;
26  import org.kuali.ole.coa.businessobject.Chart;
27  import org.kuali.ole.coa.businessobject.ObjectCode;
28  import org.kuali.ole.coa.businessobject.ObjectType;
29  import org.kuali.ole.coa.businessobject.SubAccount;
30  import org.kuali.ole.coa.businessobject.SubObjectCode;
31  import org.kuali.ole.sys.businessobject.SystemOptions;
32  import org.kuali.rice.core.api.util.type.KualiDecimal;
33  import org.kuali.rice.kew.doctype.bo.DocumentTypeEBO;
34  import org.kuali.rice.krad.bo.BusinessObject;
35  
36  /**
37   * This interface represents a financial transaction
38   */
39  public interface Transaction extends BusinessObject {
40      public String getAccountNumber();
41  
42      public String getFinancialBalanceTypeCode();
43  
44      public String getChartOfAccountsCode();
45  
46      public String getTransactionDebitCreditCode();
47  
48      public String getDocumentNumber();
49  
50      public Date getFinancialDocumentReversalDate();
51  
52      public String getFinancialDocumentTypeCode();
53  
54      public String getTransactionEncumbranceUpdateCode();
55  
56      public String getFinancialObjectCode();
57  
58      public String getFinancialObjectTypeCode();
59  
60      public String getOrganizationDocumentNumber();
61  
62      public String getOrganizationReferenceId();
63  
64      public String getFinancialSystemOriginationCode();
65  
66      public String getProjectCode();
67  
68      public String getReferenceFinancialDocumentNumber();
69  
70      public String getReferenceFinancialDocumentTypeCode();
71  
72      public String getReferenceFinancialSystemOriginationCode();
73  
74      public String getSubAccountNumber();
75  
76      public String getFinancialSubObjectCode();
77  
78      public Date getTransactionDate();
79  
80      public Integer getTransactionLedgerEntrySequenceNumber();
81  
82      public KualiDecimal getTransactionLedgerEntryAmount();
83  
84      public String getTransactionLedgerEntryDescription();
85  
86      public String getUniversityFiscalPeriodCode();
87  
88      public Integer getUniversityFiscalYear();
89  
90      // bo mappings
91      public Chart getChart();
92  
93      public Account getAccount();
94  
95      public ObjectCode getFinancialObject();
96  
97      public BalanceType getBalanceType();
98  
99      public SystemOptions getOption();
100 
101     public ObjectType getObjectType();
102 
103     public void refreshNonUpdateableReferences();
104 
105     public SubAccount getSubAccount();
106 
107     public SubObjectCode getFinancialSubObject();
108 
109     public DocumentTypeEBO getFinancialSystemDocumentTypeCode();
110     
111     public void setChart(Chart chart);
112 
113     public void setAccount(Account account);
114 
115     public void setFinancialObject(ObjectCode objectCode);
116 
117     public void setBalanceType(BalanceType balanceTyp);
118 
119     public void setOption(SystemOptions options);
120 
121     public void setObjectType(ObjectType objectType);
122 }