Coverage Report - org.kuali.student.lum.lu.entity.AllowedCluResultLuType
 
Classes in this File Line Coverage Branch Coverage Complexity
AllowedCluResultLuType
0%
0/13
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 java.util.Date;
 19  
 
 20  
 import javax.persistence.Column;
 21  
 import javax.persistence.Entity;
 22  
 import javax.persistence.JoinColumn;
 23  
 import javax.persistence.ManyToOne;
 24  
 import javax.persistence.NamedQueries;
 25  
 import javax.persistence.NamedQuery;
 26  
 import javax.persistence.Table;
 27  
 import javax.persistence.Temporal;
 28  
 import javax.persistence.TemporalType;
 29  
 
 30  
 import org.kuali.student.core.entity.MetaEntity;
 31  
 
 32  
 @Entity
 33  
 @Table(name = "KSLU_CLU_RSLT_LU_ALOW_TYPE")
 34  
 @NamedQueries( { @NamedQuery(name = "AllowedCluResultLuType.getAllowedTypesByLuType", query = "SELECT relType.cluResultType.id FROM AllowedCluResultLuType relType WHERE luType.id = :luTypeId") })
 35  0
 public class AllowedCluResultLuType extends MetaEntity {
 36  
 
 37  
         private static final long serialVersionUID = 1L;
 38  
 
 39  
         @ManyToOne
 40  
         @JoinColumn(name = "CLU_RSLT_TYPE_ID")
 41  
         private CluResultType cluResultType;
 42  
 
 43  
         @ManyToOne
 44  
         @JoinColumn(name = "LU_TYPE_ID")
 45  
         private LuType luType;
 46  
 
 47  
         @Temporal(TemporalType.TIMESTAMP)
 48  
         @Column(name = "EFF_DT")
 49  
         private Date effectiveDate;
 50  
 
 51  
         @Temporal(TemporalType.TIMESTAMP)
 52  
         @Column(name = "EXPIR_DT")
 53  
         private Date expirationDate;
 54  
 
 55  
         public LuType getLuType() {
 56  0
                 return luType;
 57  
         }
 58  
 
 59  
         public void setLuType(LuType luType) {
 60  0
                 this.luType = luType;
 61  0
         }
 62  
 
 63  
         public Date getEffectiveDate() {
 64  0
                 return effectiveDate;
 65  
         }
 66  
 
 67  
         public void setEffectiveDate(Date effectiveDate) {
 68  0
                 this.effectiveDate = effectiveDate;
 69  0
         }
 70  
 
 71  
         public Date getExpirationDate() {
 72  0
                 return expirationDate;
 73  
         }
 74  
 
 75  
         public void setExpirationDate(Date expirationDate) {
 76  0
                 this.expirationDate = expirationDate;
 77  0
         }
 78  
         
 79  
         public CluResultType getCluResultType() {
 80  0
                 return cluResultType;
 81  
         }
 82  
 
 83  
         public void setCluResultType(CluResultType cluResultType) {
 84  0
                 this.cluResultType = cluResultType;
 85  0
         }
 86  
 
 87  
 }