Coverage Report - org.kuali.student.lum.lu.entity.AllowedResultComponentUsageType
 
Classes in this File Line Coverage Branch Coverage Complexity
AllowedResultComponentUsageType
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.common.entity.MetaEntity;
 31  
 
 32  
 @Entity
 33  
 @Table(name = "KSLU_RSLT_COMP_USG_ALOW_TYPE")
 34  
 @NamedQueries( { @NamedQuery(name = "AllowedResultComponentUsageType.getAllowedComponentsByUsageType", query = "SELECT atype.resultComponentId FROM AllowedResultComponentUsageType atype WHERE resultUsageType.id = :resultUsageType") })
 35  0
 public class AllowedResultComponentUsageType extends MetaEntity {
 36  
 
 37  
         private static final long serialVersionUID = 1L;
 38  
 
 39  
         @ManyToOne
 40  
         @JoinColumn(name = "RSLT_USG_TYPE_ID")
 41  
         private ResultUsageType resultUsageType;
 42  
 
 43  
         @Column(name = "RSLT_COMP_ID")
 44  
         private String resultComponentId;
 45  
 
 46  
         @Temporal(TemporalType.TIMESTAMP)
 47  
         @Column(name = "EFF_DT")
 48  
         private Date effectiveDate;
 49  
 
 50  
         @Temporal(TemporalType.TIMESTAMP)
 51  
         @Column(name = "EXPIR_DT")
 52  
         private Date expirationDate;
 53  
 
 54  
         public String getResultComponentId() {
 55  0
                 return resultComponentId;
 56  
         }
 57  
 
 58  
         public void setResultComponentId(String resultComponentId) {
 59  0
                 this.resultComponentId = resultComponentId;
 60  0
         }
 61  
 
 62  
         public Date getEffectiveDate() {
 63  0
                 return effectiveDate;
 64  
         }
 65  
 
 66  
         public void setEffectiveDate(Date effectiveDate) {
 67  0
                 this.effectiveDate = effectiveDate;
 68  0
         }
 69  
 
 70  
         public Date getExpirationDate() {
 71  0
                 return expirationDate;
 72  
         }
 73  
 
 74  
         public void setExpirationDate(Date expirationDate) {
 75  0
                 this.expirationDate = expirationDate;
 76  0
         }
 77  
 
 78  
         public ResultUsageType getResultUsageType() {
 79  0
                 return resultUsageType;
 80  
         }
 81  
 
 82  
         public void setResultUsageType(ResultUsageType resultUsageType) {
 83  0
                 this.resultUsageType = resultUsageType;
 84  0
         }
 85  
 
 86  
 }