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  public class OwnershipType extends DocumentBase implements MutableInactivatable {
27  
28      protected String vendorOwnershipCode;
29      protected String vendorOwnershipDescription;
30      protected boolean vendorOwnershipCategoryAllowedIndicator;
31      protected boolean active;
32  
33      /**
34       * Default constructor.
35       */
36      public OwnershipType() {
37          super();
38      }
39  
40      public String getVendorOwnershipCode() {
41  
42          return vendorOwnershipCode;
43      }
44  
45      public void setVendorOwnershipCode(String vendorOwnershipCode) {
46          this.vendorOwnershipCode = vendorOwnershipCode;
47      }
48  
49      public String getVendorOwnershipDescription() {
50  
51          return vendorOwnershipDescription;
52      }
53  
54      public void setVendorOwnershipDescription(String vendorOwnershipDescription) {
55          this.vendorOwnershipDescription = vendorOwnershipDescription;
56      }
57  
58      public boolean getVendorOwnershipCategoryAllowedIndicator() {
59  
60          return vendorOwnershipCategoryAllowedIndicator;
61      }
62  
63      public void setVendorOwnershipCategoryAllowedIndicator(boolean vendorOwnershipCategoryAllowedIndicator) {
64          this.vendorOwnershipCategoryAllowedIndicator = vendorOwnershipCategoryAllowedIndicator;
65      }
66  
67      public boolean isActive() {
68          return active;
69      }
70  
71      public void setActive(boolean active) {
72          this.active = active;
73      }
74  
75  }