001    /*
002     * Copyright 2011 The Kuali Foundation.
003     * 
004     * Licensed under the Educational Community License, Version 2.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/ecl2.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    package org.kuali.kfs.integration.cg;
017    
018    import java.sql.Date;
019    import java.sql.Timestamp;
020    
021    import org.kuali.rice.kns.bo.ExternalizableBusinessObject;
022    import org.kuali.rice.kns.util.KualiDecimal;
023    
024    
025    public interface ContractAndGrantsProposal extends ExternalizableBusinessObject {
026    
027        public static final String PROPOSAL_CODE = "P";
028        public static final String AWARD_CODE = "A";
029    
030        /**
031         * Gets the award awarded to a proposal instance.
032         * 
033         * @return the award corresponding to a proposal instance if the proposal has been awarded.
034         */
035        public ContractsAndGrantsAward getAward();
036    
037        /**
038         * Gets the proposalNumber attribute.
039         * 
040         * @return Returns the proposalNumber
041         */
042        public Long getProposalNumber();
043    
044        /**
045         * Gets the proposalBeginningDate attribute.
046         * 
047         * @return Returns the proposalBeginningDate
048         */
049        public Date getProposalBeginningDate();
050    
051        /**
052         * Gets the proposalEndingDate attribute.
053         * 
054         * @return Returns the proposalEndingDate
055         */
056        public Date getProposalEndingDate();
057    
058        /**
059         * Gets the proposalTotalAmount attribute.
060         * 
061         * @return Returns the proposalTotalAmount
062         */
063        public KualiDecimal getProposalTotalAmount();
064    
065        /**
066         * Gets the proposalDirectCostAmount attribute.
067         * 
068         * @return Returns the proposalDirectCostAmount
069         */
070        public KualiDecimal getProposalDirectCostAmount();
071    
072        /**
073         * Gets the proposalIndirectCostAmount attribute.
074         * 
075         * @return Returns the proposalIndirectCostAmount
076         */
077        public KualiDecimal getProposalIndirectCostAmount();
078    
079        /**
080         * Gets the proposalRejectedDate attribute.
081         * 
082         * @return Returns the proposalRejectedDate
083         */
084        public Date getProposalRejectedDate();
085    
086        /**
087         * Gets the proposalLastUpdateDate attribute.
088         * 
089         * @return Returns the proposalLastUpdateDate
090         */
091        public Timestamp getProposalLastUpdateDate();
092    
093        /**
094         * Gets the proposalDueDate attribute.
095         * 
096         * @return Returns the proposalDueDate
097         */
098        public Date getProposalDueDate();
099    
100        /**
101         * Gets the proposalTotalProjectAmount attribute.
102         * 
103         * @return Returns the proposalTotalProjectAmount
104         */
105        public KualiDecimal getProposalTotalProjectAmount();
106    
107        /**
108         * Gets the proposalSubmissionDate attribute.
109         * 
110         * @return Returns the proposalSubmissionDate
111         */
112        public Date getProposalSubmissionDate();
113    
114        /**
115         * Gets the proposalFederalPassThroughIndicator attribute.
116         * 
117         * @return Returns the proposalFederalPassThroughIndicator
118         */
119        public boolean getProposalFederalPassThroughIndicator();
120    
121        /**
122         * Gets the oldProposalNumber attribute.
123         * 
124         * @return Returns the oldProposalNumber
125         */
126        public String getOldProposalNumber();
127    
128        /**
129         * Gets the proposalClosingDate attribute.
130         * 
131         * @return Returns the proposalClosingDate
132         */
133        public Date getProposalClosingDate();
134    
135        /**
136         * Gets the proposalAwardTypeCode attribute.
137         * 
138         * @return Returns the proposalAwardTypeCode
139         */
140        public String getProposalAwardTypeCode();
141    
142        /**
143         * Gets the agencyNumber attribute.
144         * 
145         * @return Returns the agencyNumber
146         */
147        public String getAgencyNumber();
148    
149        /**
150         * Gets the proposalStatusCode attribute.
151         * 
152         * @return Returns the proposalStatusCode
153         */
154        public String getProposalStatusCode();
155    
156        /**
157         * Gets the federalPassThroughAgencyNumber attribute.
158         * 
159         * @return Returns the federalPassThroughAgencyNumber
160         */
161        public String getFederalPassThroughAgencyNumber();
162    
163        /**
164         * Gets the cfdaNumber attribute.
165         * 
166         * @return Returns the cfdaNumber
167         */
168        public String getCfdaNumber();
169    
170        /**
171         * Gets the proposalFellowName attribute.
172         * 
173         * @return Returns the proposalFellowName
174         */
175        public String getProposalFellowName();
176    
177        /**
178         * Gets the proposalPurposeCode attribute.
179         * 
180         * @return Returns the proposalPurposeCode
181         */
182        public String getProposalPurposeCode();
183    
184        /**
185         * Gets the proposalProjectTitle attribute.
186         * 
187         * @return Returns the proposalProjectTitle
188         */
189        public String getProposalProjectTitle();
190    
191        /**
192         * Gets the active attribute.
193         * 
194         * @return Returns the active.
195         */
196        public boolean isActive();
197        
198        public String getGrantNumber();
199    }