Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
CluCampusLocation |
|
| 1.0;1 |
1 | /** | |
2 | * Copyright 2010 The Kuali Foundation Licensed under the | |
3 | * Educational Community License, Version 2.0 (the "License"); you may | |
4 | * not use this file except in compliance with the License. You may | |
5 | * obtain a copy of the License at | |
6 | * | |
7 | * http://www.osedu.org/licenses/ECL-2.0 | |
8 | * | |
9 | * Unless required by applicable law or agreed to in writing, | |
10 | * software distributed under the License is distributed on an "AS IS" | |
11 | * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express | |
12 | * or implied. See the License for the specific language governing | |
13 | * permissions and limitations under the License. | |
14 | */ | |
15 | ||
16 | package org.kuali.student.lum.lu.entity; | |
17 | ||
18 | import javax.persistence.Column; | |
19 | import javax.persistence.Entity; | |
20 | import javax.persistence.JoinColumn; | |
21 | import javax.persistence.ManyToOne; | |
22 | import javax.persistence.Table; | |
23 | ||
24 | import org.kuali.student.common.entity.BaseEntity; | |
25 | ||
26 | /** | |
27 | * This is a description of what this class does - hjohnson don't forget to fill this in. | |
28 | * | |
29 | * @author Kuali Student Team (kuali-student@googlegroups.com) | |
30 | * | |
31 | */ | |
32 | ||
33 | @Entity | |
34 | @Table(name = "KSLU_CLU_JN_CAMP_LOC") | |
35 | 0 | public class CluCampusLocation extends BaseEntity{ |
36 | ||
37 | @Column(name = "CAMP_LOC") | |
38 | private String campusLocation; | |
39 | ||
40 | @ManyToOne | |
41 | @JoinColumn(name="CLU_ID") | |
42 | private Clu clu; | |
43 | ||
44 | public String getCampusLocation() { | |
45 | 0 | return campusLocation; |
46 | } | |
47 | ||
48 | public void setCampusLocation(String campusLocation) { | |
49 | 0 | this.campusLocation = campusLocation; |
50 | 0 | } |
51 | ||
52 | public Clu getClu() { | |
53 | 0 | return clu; |
54 | } | |
55 | ||
56 | public void setClu(Clu clu) { | |
57 | 0 | this.clu = clu; |
58 | 0 | } |
59 | } |