Clover Coverage Report - KS LUM 1.2-M2-SNAPSHOT (Aggregated)
Coverage timestamp: Fri Apr 22 2011 05:19:13 EST
../../../../../../img/srcFileCovDistChart10.png 0% of files have more coverage
6   66   6   1
0   37   1   6
6     1  
1    
 
  CluInstructor       Line # 31 6 0% 6 0 100% 1.0
 
  (50)
 
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.List;
19   
20    import javax.persistence.CascadeType;
21    import javax.persistence.Column;
22    import javax.persistence.Entity;
23    import javax.persistence.OneToMany;
24    import javax.persistence.Table;
25   
26    import org.kuali.student.common.entity.AttributeOwner;
27    import org.kuali.student.common.entity.BaseEntity;
28   
29    @Entity
30    @Table(name = "KSLU_CLU_INSTR")
 
31    public class CluInstructor extends BaseEntity implements AttributeOwner<CluInstructorAttribute> {
32   
33    @Column(name = "ORG_ID")
34    private String orgId;
35   
36    @Column(name = "PERS_ID")
37    private String personId;
38   
39    @OneToMany(cascade = CascadeType.ALL, mappedBy = "owner")
40    private List<CluInstructorAttribute> attributes;
41   
 
42  491 toggle public String getOrgId() {
43  491 return orgId;
44    }
45   
 
46  154 toggle public void setOrgId(String orgId) {
47  154 this.orgId = orgId;
48    }
49   
 
50  491 toggle public String getPersonId() {
51  491 return personId;
52    }
53   
 
54  154 toggle public void setPersonId(String personId) {
55  154 this.personId = personId;
56    }
57   
 
58  923 toggle public List<CluInstructorAttribute> getAttributes() {
59  923 return attributes;
60    }
61   
 
62  245 toggle public void setAttributes(List<CluInstructorAttribute> attributes) {
63  245 this.attributes = attributes;
64    }
65   
66    }