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.bo.PersistableBusinessObjectBase;
20  
21  /**
22   * Address Types for Vendor Addresses. Used to distinguish the intended use of this address among the various addresses that a
23   * vendor might give out.
24   *
25   */
26  public class AddressType extends PersistableBusinessObjectBase implements MutableInactivatable {
27  
28      private String vendorAddressTypeCode;
29      private String vendorAddressTypeDescription;
30      private boolean vendorDefaultIndicator;
31      private boolean active;
32  
33      /**
34       * Default constructor.
35       */
36      public AddressType() {
37         super();
38      }
39  
40      public String getVendorAddressTypeCode() {
41  
42          return vendorAddressTypeCode;
43      }
44  
45      public void setVendorAddressTypeCode(String vendorAddressTypeCode) {
46          this.vendorAddressTypeCode = vendorAddressTypeCode;
47      }
48  
49      public String getVendorAddressTypeDescription() {
50  
51          return vendorAddressTypeDescription;
52      }
53  
54      public void setVendorAddressTypeDescription(String vendorAddressTypeDescription) {
55          this.vendorAddressTypeDescription = vendorAddressTypeDescription;
56      }
57  
58      public boolean getVendorDefaultIndicator() {
59  
60          return vendorDefaultIndicator;
61      }
62  
63      public void setVendorDefaultIndicator(boolean vendorDefaultIndicator) {
64          this.vendorDefaultIndicator = vendorDefaultIndicator;
65      }
66  
67      public boolean isActive() {
68          return active;
69      }
70  
71      public void setActive(boolean active) {
72          this.active = active;
73      }
74  }