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 org.kuali.ole.vnd.businessobject;
18  
19  import org.kuali.rice.core.api.mo.common.active.MutableInactivatable;
20  import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
21  
22  /**
23   * Alternate name for a Vendor.
24   */
25  public class VendorAlias extends PersistableBusinessObjectBase implements MutableInactivatable {
26  
27      private Integer vendorAliasId;
28      private String vendorAliasName;
29      private Integer vendorDetailAssignedIdentifier;
30      private Integer vendorHeaderGeneratedIdentifier;
31      private Integer vendorAliasTypeId;
32      private AliasType vendorAliasType;
33      private boolean active;
34  
35      VendorDetail vendorDetail;
36  
37      /**
38       * Default constructor.
39       */
40      public VendorAlias() {
41  
42      }
43  
44      public String getVendorAliasName() {
45  
46          return vendorAliasName;
47      }
48  
49      public void setVendorAliasName(String vendorAliasName) {
50          this.vendorAliasName = vendorAliasName;
51      }
52  
53      public Integer getVendorDetailAssignedIdentifier() {
54  
55          return vendorDetailAssignedIdentifier;
56      }
57  
58      public void setVendorDetailAssignedIdentifier(Integer vendorDetailAssignedIdentifier) {
59          this.vendorDetailAssignedIdentifier = vendorDetailAssignedIdentifier;
60      }
61  
62      public Integer getVendorHeaderGeneratedIdentifier() {
63  
64          return vendorHeaderGeneratedIdentifier;
65      }
66  
67      public void setVendorHeaderGeneratedIdentifier(Integer vendorHeaderGeneratedIdentifier) {
68          this.vendorHeaderGeneratedIdentifier = vendorHeaderGeneratedIdentifier;
69      }
70  
71      public boolean isActive() {
72  
73          return active;
74      }
75  
76      public void setActive(boolean active) {
77          this.active = active;
78      }
79  
80      public VendorDetail getVendorDetail() {
81  
82          return vendorDetail;
83      }
84  
85      /**
86       * Sets the vendorDetail attribute value.
87       * 
88       * @param vendorDetail The vendorDetail to set.
89       * @deprecated
90       */
91      public void setVendorDetail(VendorDetail vendorDetail) {
92          this.vendorDetail = vendorDetail;
93      }
94  
95      
96  
97      public Integer getVendorAliasTypeId() {
98          return vendorAliasTypeId;
99      }
100 
101     public void setVendorAliasTypeId(Integer vendorAliasTypeId) {
102         this.vendorAliasTypeId = vendorAliasTypeId;
103     }
104 
105     public AliasType getVendorAliasType() {
106         return vendorAliasType;
107     }
108 
109     public void setVendorAliasType(AliasType vendorAliasType) {
110         this.vendorAliasType = vendorAliasType;
111     }
112 
113     /**
114      * Gets the vendorAliasId attribute. 
115      * @return Returns the vendorAliasId.
116      */
117     public Integer getVendorAliasId() {
118         return vendorAliasId;
119     }
120 
121     /**
122      * Sets the vendorAliasId attribute value.
123      * @param vendorAliasId The vendorAliasId to set.
124      */
125     public void setVendorAliasId(Integer vendorAliasId) {
126         this.vendorAliasId = vendorAliasId;
127     }
128 
129   
130   
131 
132     
133 }