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