| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| ResultValue |
|
| 1.0;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.lrc.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 | ||
| 24 | import org.kuali.student.common.entity.BaseEntity; | |
| 25 | ||
| 26 | /* | |
| 27 | * Copyright 2009 The Kuali Foundation | |
| 28 | * | |
| 29 | * Licensed under the Educational Community License, Version 1.0 (the "License"); | |
| 30 | * you may not use this file except in compliance with the License. | |
| 31 | * You may obtain a copy of the License at | |
| 32 | * | |
| 33 | * http://www.opensource.org/licenses/ecl1.php | |
| 34 | * | |
| 35 | * Unless required by applicable law or agreed to in writing, software | |
| 36 | * distributed under the License is distributed on an "AS IS" BASIS, | |
| 37 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 38 | * See the License for the specific language governing permissions and | |
| 39 | * limitations under the License. | |
| 40 | */ | |
| 41 | ||
| 42 | @Entity | |
| 43 | @Table(name="KSLR_RESULT_VALUE") | |
| 44 | 256 | public class ResultValue extends BaseEntity{ |
| 45 | ||
| 46 | @Column(name = "VALUE") | |
| 47 | private String value; | |
| 48 | ||
| 49 | @ManyToOne | |
| 50 | @JoinColumn(name = "RSLT_COMP_ID") | |
| 51 | private ResultComponent resultComponent; | |
| 52 | ||
| 53 | public String getValue() { | |
| 54 | 275 | return value; |
| 55 | } | |
| 56 | ||
| 57 | public void setValue(String value) { | |
| 58 | 18 | this.value = value; |
| 59 | 18 | } |
| 60 | ||
| 61 | public ResultComponent getResultComponent() { | |
| 62 | 0 | return resultComponent; |
| 63 | } | |
| 64 | ||
| 65 | public void setResultComponent(ResultComponent resultComponent) { | |
| 66 | 18 | this.resultComponent = resultComponent; |
| 67 | 18 | } |
| 68 | ||
| 69 | } |