| 1 | |
|
| 2 | |
|
| 3 | |
|
| 4 | |
|
| 5 | |
|
| 6 | |
|
| 7 | |
|
| 8 | |
|
| 9 | |
|
| 10 | |
|
| 11 | |
|
| 12 | |
|
| 13 | |
|
| 14 | |
|
| 15 | |
|
| 16 | |
|
| 17 | |
|
| 18 | |
|
| 19 | |
|
| 20 | |
|
| 21 | |
|
| 22 | |
|
| 23 | |
|
| 24 | |
|
| 25 | |
|
| 26 | |
|
| 27 | |
|
| 28 | |
|
| 29 | |
|
| 30 | |
package org.kuali.student.lum.lu.entity; |
| 31 | |
|
| 32 | |
import java.util.Date; |
| 33 | |
|
| 34 | |
import javax.persistence.Column; |
| 35 | |
import javax.persistence.Entity; |
| 36 | |
import javax.persistence.JoinColumn; |
| 37 | |
import javax.persistence.ManyToOne; |
| 38 | |
import javax.persistence.NamedQueries; |
| 39 | |
import javax.persistence.NamedQuery; |
| 40 | |
import javax.persistence.Table; |
| 41 | |
import javax.persistence.Temporal; |
| 42 | |
import javax.persistence.TemporalType; |
| 43 | |
|
| 44 | |
import org.kuali.student.common.entity.MetaEntity; |
| 45 | |
|
| 46 | |
@Entity |
| 47 | |
@Table(name = "KSLU_CLU_LO_ALOW_RELTN_TYPE") |
| 48 | |
@NamedQueries( { @NamedQuery(name = "AllowedCluLoRealtionType.getAllowedTypesByLuType", query = "SELECT relType.cluLoRelationType.id FROM AllowedCluLoRelationType relType WHERE luType.id = :luTypeId") }) |
| 49 | 0 | public class AllowedCluLoRelationType extends MetaEntity { |
| 50 | |
|
| 51 | |
private static final long serialVersionUID = 1L; |
| 52 | |
|
| 53 | |
@ManyToOne |
| 54 | |
@JoinColumn(name = "CLULO_RELTN_TYPE_ID") |
| 55 | |
private CluLoRelationType cluLoRelationType; |
| 56 | |
|
| 57 | |
@ManyToOne |
| 58 | |
@JoinColumn(name = "LU_TYPE_ID") |
| 59 | |
private LuType luType; |
| 60 | |
|
| 61 | |
@Column(name = "LO_TYPE_ID") |
| 62 | |
private String loTypeId; |
| 63 | |
|
| 64 | |
@Temporal(TemporalType.TIMESTAMP) |
| 65 | |
@Column(name = "EFF_DT") |
| 66 | |
private Date effectiveDate; |
| 67 | |
|
| 68 | |
@Temporal(TemporalType.TIMESTAMP) |
| 69 | |
@Column(name = "EXPIR_DT") |
| 70 | |
private Date expirationDate; |
| 71 | |
|
| 72 | |
public CluLoRelationType getCluLoRelationType() { |
| 73 | 0 | return cluLoRelationType; |
| 74 | |
} |
| 75 | |
|
| 76 | |
public void setCluLoRelationType(CluLoRelationType cluLoRelationType) { |
| 77 | 0 | this.cluLoRelationType = cluLoRelationType; |
| 78 | 0 | } |
| 79 | |
|
| 80 | |
public LuType getLuType() { |
| 81 | 0 | return luType; |
| 82 | |
} |
| 83 | |
|
| 84 | |
public void setLuType(LuType luType) { |
| 85 | 0 | this.luType = luType; |
| 86 | 0 | } |
| 87 | |
|
| 88 | |
public String getLoTypeId() { |
| 89 | 0 | return loTypeId; |
| 90 | |
} |
| 91 | |
|
| 92 | |
public void setLoTypeId(String loTypeId) { |
| 93 | 0 | this.loTypeId = loTypeId; |
| 94 | 0 | } |
| 95 | |
|
| 96 | |
public Date getEffectiveDate() { |
| 97 | 0 | return effectiveDate; |
| 98 | |
} |
| 99 | |
|
| 100 | |
public void setEffectiveDate(Date effectiveDate) { |
| 101 | 0 | this.effectiveDate = effectiveDate; |
| 102 | 0 | } |
| 103 | |
|
| 104 | |
public Date getExpirationDate() { |
| 105 | 0 | return expirationDate; |
| 106 | |
} |
| 107 | |
|
| 108 | |
public void setExpirationDate(Date expirationDate) { |
| 109 | 0 | this.expirationDate = expirationDate; |
| 110 | 0 | } |
| 111 | |
|
| 112 | |
} |