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   */
27  public class AddressType extends PersistableBusinessObjectBase implements MutableInactivatable {
28  
29      private String vendorAddressTypeCode;
30      private String vendorAddressTypeDescription;
31      private boolean vendorDefaultIndicator;
32      private boolean active;
33  
34      /**
35       * Default constructor.
36       */
37      public AddressType() {
38         super();
39      }
40  
41      public String getVendorAddressTypeCode() {
42  
43          return vendorAddressTypeCode;
44      }
45  
46      public void setVendorAddressTypeCode(String vendorAddressTypeCode) {
47          this.vendorAddressTypeCode = vendorAddressTypeCode;
48      }
49  
50      public String getVendorAddressTypeDescription() {
51  
52          return vendorAddressTypeDescription;
53      }
54  
55      public void setVendorAddressTypeDescription(String vendorAddressTypeDescription) {
56          this.vendorAddressTypeDescription = vendorAddressTypeDescription;
57      }
58  
59      public boolean getVendorDefaultIndicator() {
60  
61          return vendorDefaultIndicator;
62      }
63  
64      public void setVendorDefaultIndicator(boolean vendorDefaultIndicator) {
65          this.vendorDefaultIndicator = vendorDefaultIndicator;
66      }
67  
68      public boolean isActive() {
69          return active;
70      }
71  
72      public void setActive(boolean active) {
73          this.active = active;
74      }
75  }