Coverage Report - org.kuali.student.lum.lu.entity.Resource
 
Classes in this File Line Coverage Branch Coverage Complexity
Resource
0%
0/7
N/A
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  
 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  0
 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  
         public String getResourceTypeId() {
 40  0
                 return resourceTypeId;
 41  
         }
 42  
 
 43  
         public void setResourceTypeId(String resourceTypeId) {
 44  0
                 this.resourceTypeId = resourceTypeId;
 45  0
         }
 46  
 
 47  
         public Clu getClu() {
 48  0
                 return clu;
 49  
         }
 50  
 
 51  
         public void setClu(Clu clu) {
 52  0
                 this.clu = clu;
 53  0
         }
 54  
 }