001/*
002 * Copyright 2007 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
017package org.kuali.ole.sys.businessobject;
018
019import java.util.LinkedHashMap;
020
021import org.kuali.rice.core.api.mo.common.active.MutableInactivatable;
022import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
023
024
025/**
026 * 
027 */
028public class OriginationCode extends PersistableBusinessObjectBase implements MutableInactivatable {
029
030    private String financialSystemOriginationCode;
031    private String financialSystemServerName;
032    private String financialSystemDatabaseName;
033    private String financialSystemDatabaseDesc;
034    private Long nextCapitalAssetNumber;
035    private Long nextNonCapitalAssetNumber;
036    private Long nextCgProposalNumber;
037    private String nextContractsAndGrantsAgencyNumber;
038    private String nextContractsAndGrantsSubcontractorNumber;
039    private Long nextDisbVchrPayeeIdNbr;
040    private Long nextFdocAttachmentIdentifier;
041    private Long acctRcvbNextCustomerNumber;
042    private Long financialDocumentNextItemIdentifier;
043    private boolean active;
044
045    /**
046     * Default no-arg constructor.
047     */
048    public OriginationCode() {
049
050    }
051
052    /**
053     * Gets the financialSystemOriginationCode attribute.
054     * 
055     * @return Returns the financialSystemOriginationCode
056     */
057    public String getFinancialSystemOriginationCode() {
058        return financialSystemOriginationCode;
059    }
060
061
062    /**
063     * Sets the financialSystemOriginationCode attribute.
064     * 
065     * @param financialSystemOriginationCode The financialSystemOriginationCode to set.
066     */
067    public void setFinancialSystemOriginationCode(String financialSystemOriginationCode) {
068        this.financialSystemOriginationCode = financialSystemOriginationCode;
069    }
070
071     /**
072     * Gets the financialSystemServerName attribute.
073     * 
074     * @return Returns the financialSystemServerName
075     */
076    public String getFinancialSystemServerName() {
077        return financialSystemServerName;
078    }
079
080
081    /**
082     * Sets the financialSystemServerName attribute.
083     * 
084     * @param financialSystemServerName The financialSystemServerName to set.
085     */
086    public void setFinancialSystemServerName(String financialSystemServerName) {
087        this.financialSystemServerName = financialSystemServerName;
088    }
089
090    /**
091     * Gets the financialSystemDatabaseName attribute.
092     * 
093     * @return Returns the financialSystemDatabaseName
094     */
095    public String getFinancialSystemDatabaseName() {
096        return financialSystemDatabaseName;
097    }
098
099
100    /**
101     * Sets the financialSystemDatabaseName attribute.
102     * 
103     * @param financialSystemDatabaseName The financialSystemDatabaseName to set.
104     */
105    public void setFinancialSystemDatabaseName(String financialSystemDatabaseName) {
106        this.financialSystemDatabaseName = financialSystemDatabaseName;
107    }
108
109    /**
110     * Gets the financialSystemDatabaseDesc attribute.
111     * 
112     * @return Returns the financialSystemDatabaseDesc
113     */
114    public String getFinancialSystemDatabaseDesc() {
115        return financialSystemDatabaseDesc;
116    }
117
118
119    /**
120     * Sets the financialSystemDatabaseDesc attribute.
121     * 
122     * @param financialSystemDatabaseDesc The financialSystemDatabaseDesc to set.
123     */
124    public void setFinancialSystemDatabaseDesc(String financialSystemDatabaseDesc) {
125        this.financialSystemDatabaseDesc = financialSystemDatabaseDesc;
126    }
127
128    /**
129     * Gets the nextCapitalAssetNumber attribute.
130     * 
131     * @return Returns the nextCapitalAssetNumber
132     */
133    public Long getNextCapitalAssetNumber() {
134        return nextCapitalAssetNumber;
135    }
136
137
138    /**
139     * Sets the nextCapitalAssetNumber attribute.
140     * 
141     * @param nextCapitalAssetNumber The nextCapitalAssetNumber to set.
142     */
143    public void setNextCapitalAssetNumber(Long nextCapitalAssetNumber) {
144        this.nextCapitalAssetNumber = nextCapitalAssetNumber;
145    }
146
147    /**
148     * Gets the nextNonCapitalAssetNumber attribute.
149     * 
150     * @return Returns the nextNonCapitalAssetNumber
151     */
152    public Long getNextNonCapitalAssetNumber() {
153        return nextNonCapitalAssetNumber;
154    }
155
156
157    /**
158     * Sets the nextNonCapitalAssetNumber attribute.
159     * 
160     * @param nextNonCapitalAssetNumber The nextNonCapitalAssetNumber to set.
161     */
162    public void setNextNonCapitalAssetNumber(Long nextNonCapitalAssetNumber) {
163        this.nextNonCapitalAssetNumber = nextNonCapitalAssetNumber;
164    }
165
166    /**
167     * Gets the nextCgProposalNumber attribute.
168     * 
169     * @return Returns the nextCgProposalNumber
170     */
171    public Long getNextCgProposalNumber() {
172        return nextCgProposalNumber;
173    }
174
175
176    /**
177     * Sets the nextCgProposalNumber attribute.
178     * 
179     * @param nextCgProposalNumber The nextCgProposalNumber to set.
180     */
181    public void setNextCgProposalNumber(Long nextCgProposalNumber) {
182        this.nextCgProposalNumber = nextCgProposalNumber;
183    }
184
185    /**
186     * Gets the nextContractsAndGrantsAgencyNumber attribute.
187     * 
188     * @return Returns the nextContractsAndGrantsAgencyNumber
189     */
190    public String getNextContractsAndGrantsAgencyNumber() {
191        return nextContractsAndGrantsAgencyNumber;
192    }
193
194
195    /**
196     * Sets the nextContractsAndGrantsAgencyNumber attribute.
197     * 
198     * @param nextContractsAndGrantsAgencyNumber The nextContractsAndGrantsAgencyNumber to set.
199     */
200    public void setNextContractsAndGrantsAgencyNumber(String nextContractsAndGrantsAgencyNumber) {
201        this.nextContractsAndGrantsAgencyNumber = nextContractsAndGrantsAgencyNumber;
202    }
203
204    /**
205     * Gets the nextContractsAndGrantsSubcontractorNumber attribute.
206     * 
207     * @return Returns the nextContractsAndGrantsSubcontractorNumber
208     */
209    public String getNextContractsAndGrantsSubcontractorNumber() {
210        return nextContractsAndGrantsSubcontractorNumber;
211    }
212
213
214    /**
215     * Sets the nextContractsAndGrantsSubcontractorNumber attribute.
216     * 
217     * @param nextContractsAndGrantsSubcontractorNumber The nextContractsAndGrantsSubcontractorNumber to set.
218     */
219    public void setNextContractsAndGrantsSubcontractorNumber(String nextContractsAndGrantsSubcontractorNumber) {
220        this.nextContractsAndGrantsSubcontractorNumber = nextContractsAndGrantsSubcontractorNumber;
221    }
222
223    /**
224     * Gets the nextDisbVchrPayeeIdNbr attribute.
225     * 
226     * @return Returns the nextDisbVchrPayeeIdNbr
227     */
228    public Long getNextDisbVchrPayeeIdNbr() {
229        return nextDisbVchrPayeeIdNbr;
230    }
231
232
233    /**
234     * Sets the nextDisbVchrPayeeIdNbr attribute.
235     * 
236     * @param nextDisbVchrPayeeIdNbr The nextDisbVchrPayeeIdNbr to set.
237     */
238    public void setNextDisbVchrPayeeIdNbr(Long nextDisbVchrPayeeIdNbr) {
239        this.nextDisbVchrPayeeIdNbr = nextDisbVchrPayeeIdNbr;
240    }
241
242    /**
243     * Gets the nextFdocAttachmentIdentifier attribute.
244     * 
245     * @return Returns the nextFdocAttachmentIdentifier
246     */
247    public Long getNextFdocAttachmentIdentifier() {
248        return nextFdocAttachmentIdentifier;
249    }
250
251
252    /**
253     * Sets the nextFdocAttachmentIdentifier attribute.
254     * 
255     * @param nextFdocAttachmentIdentifier The nextFdocAttachmentIdentifier to set.
256     */
257    public void setNextFdocAttachmentIdentifier(Long nextFdocAttachmentIdentifier) {
258        this.nextFdocAttachmentIdentifier = nextFdocAttachmentIdentifier;
259    }
260
261    /**
262     * Gets the acctRcvbNextCustomerNumber attribute.
263     * 
264     * @return Returns the acctRcvbNextCustomerNumber
265     */
266    public Long getAcctRcvbNextCustomerNumber() {
267        return acctRcvbNextCustomerNumber;
268    }
269
270
271    /**
272     * Sets the acctRcvbNextCustomerNumber attribute.
273     * 
274     * @param acctRcvbNextCustomerNumber The acctRcvbNextCustomerNumber to set.
275     */
276    public void setAcctRcvbNextCustomerNumber(Long acctRcvbNextCustomerNumber) {
277        this.acctRcvbNextCustomerNumber = acctRcvbNextCustomerNumber;
278    }
279
280    /**
281     * Gets the financialDocumentNextItemIdentifier attribute.
282     * 
283     * @return Returns the financialDocumentNextItemIdentifier
284     */
285    public Long getFinancialDocumentNextItemIdentifier() {
286        return financialDocumentNextItemIdentifier;
287    }
288
289
290    /**
291     * Sets the financialDocumentNextItemIdentifier attribute.
292     * 
293     * @param financialDocumentNextItemIdentifier The financialDocumentNextItemIdentifier to set.
294     */
295    public void setFinancialDocumentNextItemIdentifier(Long financialDocumentNextItemIdentifier) {
296        this.financialDocumentNextItemIdentifier = financialDocumentNextItemIdentifier;
297    }
298
299    /**
300     * @see org.kuali.rice.krad.bo.BusinessObjectBase#toStringMapper()
301     */
302    protected LinkedHashMap toStringMapper_RICE20_REFACTORME() {
303        LinkedHashMap m = new LinkedHashMap();
304        m.put("financialSystemOriginationCode", this.financialSystemOriginationCode);
305        return m;
306    }
307
308    /**
309     * Gets the active attribute. 
310     * @return Returns the active.
311     */
312    public boolean isActive() {
313        return active;
314    }
315
316    /**
317     * Sets the active attribute value.
318     * @param active The active to set.
319     */
320    public void setActive(boolean active) {
321        this.active = active;
322    }
323}