View Javadoc

1   /*
2    * Copyright 2007-2009 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 org.kuali.rice.kns.bo;
17  
18  import javax.persistence.AttributeOverride;
19  import javax.persistence.AttributeOverrides;
20  import javax.persistence.Column;
21  import javax.persistence.Entity;
22  import javax.persistence.Table;
23  
24  @Entity
25  @Table(name="KRNS_NMSPC_T")
26  @AttributeOverrides({@AttributeOverride(name="code", column=@Column(name="NMSPC_CD")), @AttributeOverride(name="name", column=@Column(name="NM"))})
27  public class Namespace extends KualiCodeBase {
28  	@Column(name="APPL_NMSPC_CD")
29  	private String applicationNamespaceCode;
30  	public String getNamespaceCode() {
31  		return code;
32  	}
33  	
34  	public void setNamespaceCode(String namespaceCode) {
35  		code = namespaceCode;
36  	}
37  	
38  	public String getNamespaceName() {
39  		return name;
40  	}
41  	
42  	public void setNamespaceName(String namespaceName) {
43  		name = namespaceName;
44  	}
45  
46  	/**
47  	 * @return the applicationNamespaceCode
48  	 */
49  	public String getApplicationNamespaceCode() {
50  		return this.applicationNamespaceCode;
51  	}
52  
53  	/**
54  	 * @param applicationNamespaceCode the applicationNamespaceCode to set
55  	 */
56  	public void setApplicationNamespaceCode(String applicationNamespaceCode) {
57  		this.applicationNamespaceCode = applicationNamespaceCode;
58  	}
59  	
60  	
61  
62  }
63