Clover Coverage Report - Kuali Student 1.1.1-SNAPSHOT (Aggregated)
Coverage timestamp: Wed Apr 20 2011 04:04:00 EST
../../../../../../img/srcFileCovDistChart10.png 0% of files have more coverage
22   153   22   1
0   101   1   22
22     1  
1    
 
  CluIdentifier       Line # 31 22 0% 22 0 100% 1.0
 
  (103)
 
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.core.entity.AttributeOwner;
27    import org.kuali.student.core.entity.BaseEntity;
28   
29    @Entity
30    @Table(name = "KSLU_CLU_IDENT")
 
31    public class CluIdentifier extends BaseEntity implements AttributeOwner<CluIdentifierAttribute> {
32   
33    @Column(name = "CD")
34    private String code;
35   
36    @Column(name = "SHRT_NAME")
37    private String shortName;
38   
39    @Column(name = "LNG_NAME")
40    private String longName;
41   
42    @Column(name = "LVL")
43    private String level;
44   
45    @Column(name = "DIV")
46    private String division;
47   
48    @Column(name = "VARTN")
49    private String variation;
50   
51    @Column(name = "SUFX_CD")
52    private String suffixCode;
53   
54    @Column(name = "ORG_ID")
55    private String orgId;
56   
57    @Column(name = "TYPE")
58    private String type;
59   
60    @Column(name = "ST")
61    private String state;
62   
63    @OneToMany(cascade = CascadeType.ALL, mappedBy = "owner")
64    private List<CluIdentifierAttribute> attributes;
65   
 
66  999 toggle public String getCode() {
67  999 return code;
68    }
69   
 
70  277 toggle public void setCode(String code) {
71  277 this.code = code;
72    }
73   
 
74  999 toggle public String getShortName() {
75  999 return shortName;
76    }
77   
 
78  277 toggle public void setShortName(String shortName) {
79  277 this.shortName = shortName;
80    }
81   
 
82  999 toggle public String getLongName() {
83  999 return longName;
84    }
85   
 
86  277 toggle public void setLongName(String longName) {
87  277 this.longName = longName;
88    }
89   
 
90  999 toggle public String getLevel() {
91  999 return level;
92    }
93   
 
94  277 toggle public void setLevel(String level) {
95  277 this.level = level;
96    }
97   
 
98  999 toggle public String getDivision() {
99  999 return division;
100    }
101   
 
102  277 toggle public void setDivision(String division) {
103  277 this.division = division;
104    }
105   
 
106  999 toggle public String getVariation() {
107  999 return variation;
108    }
109   
 
110  277 toggle public void setVariation(String variation) {
111  277 this.variation = variation;
112    }
113   
 
114  999 toggle public String getType() {
115  999 return type;
116    }
117   
 
118  277 toggle public void setType(String type) {
119  277 this.type = type;
120    }
121   
 
122  999 toggle public String getState() {
123  999 return state;
124    }
125   
 
126  277 toggle public void setState(String state) {
127  277 this.state = state;
128    }
129   
 
130  999 toggle public String getSuffixCode() {
131  999 return suffixCode;
132    }
133   
 
134  277 toggle public void setSuffixCode(String suffixCode) {
135  277 this.suffixCode = suffixCode;
136    }
137   
 
138  999 toggle public String getOrgId() {
139  999 return orgId;
140    }
141   
 
142  277 toggle public void setOrgId(String orgId) {
143  277 this.orgId = orgId;
144    }
145   
 
146  1830 toggle public List<CluIdentifierAttribute> getAttributes() {
147  1830 return attributes;
148    }
149   
 
150  430 toggle public void setAttributes(List<CluIdentifierAttribute> attributes) {
151  430 this.attributes = attributes;
152    }
153    }