View Javadoc

1   /*
2    * Copyright 2007 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  package edu.sampleu.financial.bo;
18  
19  import java.util.LinkedHashMap;
20  
21  import org.kuali.rice.kns.bo.Inactivateable;
22  import org.kuali.rice.kns.document.DocumentBase;
23  
24  /**
25   * Exclusive kinds of basic business organization that a vendor may have. Other broad exclusive categories for vendors can be
26   * instances of <code>OwnershipCategory</code>.
27   *
28   * @see org.kuali.kfs.vnd.businessobject.OwnershipCategory
29   */
30  public class OwnershipType extends DocumentBase implements Inactivateable {
31  
32      protected String vendorOwnershipCode;
33      protected String vendorOwnershipDescription;
34      protected boolean vendorOwnershipCategoryAllowedIndicator;
35      protected boolean active;
36  
37      /**
38       * Default constructor.
39       */
40      public OwnershipType() {
41          super();
42      }
43  
44      public String getVendorOwnershipCode() {
45  
46          return vendorOwnershipCode;
47      }
48  
49      public void setVendorOwnershipCode(String vendorOwnershipCode) {
50          this.vendorOwnershipCode = vendorOwnershipCode;
51      }
52  
53      public String getVendorOwnershipDescription() {
54  
55          return vendorOwnershipDescription;
56      }
57  
58      public void setVendorOwnershipDescription(String vendorOwnershipDescription) {
59          this.vendorOwnershipDescription = vendorOwnershipDescription;
60      }
61  
62      public boolean getVendorOwnershipCategoryAllowedIndicator() {
63  
64          return vendorOwnershipCategoryAllowedIndicator;
65      }
66  
67      public void setVendorOwnershipCategoryAllowedIndicator(boolean vendorOwnershipCategoryAllowedIndicator) {
68          this.vendorOwnershipCategoryAllowedIndicator = vendorOwnershipCategoryAllowedIndicator;
69      }
70  
71      public boolean isActive() {
72          return active;
73      }
74  
75      public void setActive(boolean active) {
76          this.active = active;
77      }
78  
79  }