Clover Coverage Report - KS LUM 1.3.0-SNAPSHOT (Aggregated)
Coverage timestamp: Thu Apr 28 2011 06:51:40 EDT
../../../../../../img/srcFileCovDistChart0.png 0% of files have more coverage
4   54   4   1
0   30   1   4
4     1  
1    
 
  Resource       Line # 30 4 0% 4 8 0% 0.0
 
No Tests
 
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    import javax.persistence.UniqueConstraint;
24   
25    import org.kuali.student.common.entity.BaseEntity;
26   
27    @Entity
28    @Table(name = "KSLU_RSRC", uniqueConstraints = @UniqueConstraint(columnNames = {
29    "RSRC_TYPE_ID", "CLU_ID" }))
 
30    public class Resource extends BaseEntity{
31   
32    @Column(name = "RSRC_TYPE_ID")
33    private String resourceTypeId;
34   
35    @ManyToOne
36    @JoinColumn(name = "CLU_ID")
37    private Clu clu;
38   
 
39  0 toggle public String getResourceTypeId() {
40  0 return resourceTypeId;
41    }
42   
 
43  0 toggle public void setResourceTypeId(String resourceTypeId) {
44  0 this.resourceTypeId = resourceTypeId;
45    }
46   
 
47  0 toggle public Clu getClu() {
48  0 return clu;
49    }
50   
 
51  0 toggle public void setClu(Clu clu) {
52  0 this.clu = clu;
53    }
54    }