1 package org.kuali.student.r2.lum.lrc.model;
2
3 import org.kuali.student.r2.common.entity.BaseAttributeEntity;
4 import org.kuali.student.r2.common.infc.Attribute;
5
6 import javax.persistence.Entity;
7 import javax.persistence.JoinColumn;
8 import javax.persistence.ManyToOne;
9 import javax.persistence.Table;
10
11 @Entity
12 @Table(name = "KSEN_LRC_RESULT_SCALE_ATTR")
13 public class ResultScaleAttributeEntity extends BaseAttributeEntity<ResultScaleEntity> {
14
15 public ResultScaleAttributeEntity() {
16 super();
17 }
18
19 public ResultScaleAttributeEntity(Attribute att, ResultScaleEntity owner) {
20 super(att, owner);
21 }
22
23
24 //
25 // @Override
26 // public boolean equals(Object obj) {
27 // if (this.getId() == null) {
28 // return super.equals(obj);
29 // }
30 // if (!(obj instanceof ResultScaleAttributeEntity)) {
31 // return false;
32 // }
33 // ResultScaleAttributeEntity thatObj = (ResultScaleAttributeEntity) obj;
34 // String thatId = thatObj.getId();
35 // if (thatId == null) {
36 // return super.equals(obj);
37 // }
38 // return thatId.equals(this.getId());
39 // }
40 //
41 // @Override
42 // public int hashCode() {
43 // if (this.getId() == null) {
44 // return super.hashCode();
45 // }
46 // return this.getId().hashCode();
47 // }
48 }