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