01: /*
02: * Copyright 2005-2007 The Kuali Foundation.
03: *
04: * Licensed under the Educational Community License, Version 1.0 (the "License");
05: * you may not use this file except in compliance with the License.
06: * You may obtain a copy of the License at
07: *
08: * http://www.opensource.org/licenses/ecl1.php
09: *
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: package org.kuali.module.financial.bo;
17:
18: import org.kuali.core.bo.KualiCodeBase;
19:
20: /**
21: * This class represents a CashDetailTypeCode, which is used to differentiate records of the same general data structure from one
22: * another. For example, a CashReceiptDocument has checks and so does a BursarDepositDocument. To be able to re-use the same table
23: * and data structure, we need a field that can act as a flag. Another example involves the fact that a CashReceipt contains a coin
24: * record, a currency record, and a change out record (aggregated coin and currency together). Since we use the same tables to
25: * represent this, we need an attribute to help differentiate between the bunch especially when they all three must co-exist within
26: * the same parent CashReceiptDocument instance.
27: */
28: public class CashDetailTypeCode extends KualiCodeBase {
29: private static final long serialVersionUID = -5228907091959656216L;
30: private String description;
31:
32: /**
33: * Constructs a CashDetailTypeCode business object.
34: */
35: public CashDetailTypeCode() {
36: super ();
37: }
38:
39: /**
40: * Gets the description attribute.
41: *
42: * @return Returns the description.
43: */
44: public String getDescription() {
45: return description;
46: }
47:
48: /**
49: * Sets the description attribute value.
50: *
51: * @param description The description to set.
52: */
53: public void setDescription(String description) {
54: this.description = description;
55: }
56: }
|