View Javadoc

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