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