| 1 | |
|
| 2 | |
|
| 3 | |
|
| 4 | |
|
| 5 | |
|
| 6 | |
|
| 7 | |
|
| 8 | |
|
| 9 | |
|
| 10 | |
|
| 11 | |
|
| 12 | |
|
| 13 | |
|
| 14 | |
|
| 15 | |
|
| 16 | |
package org.kuali.student.lum.lu.entity; |
| 17 | |
|
| 18 | |
import java.util.Date; |
| 19 | |
import java.util.List; |
| 20 | |
|
| 21 | |
import javax.persistence.CascadeType; |
| 22 | |
import javax.persistence.Column; |
| 23 | |
import javax.persistence.Entity; |
| 24 | |
import javax.persistence.OneToMany; |
| 25 | |
import javax.persistence.Table; |
| 26 | |
import javax.persistence.Temporal; |
| 27 | |
import javax.persistence.TemporalType; |
| 28 | |
|
| 29 | |
import org.kuali.student.common.entity.AttributeOwner; |
| 30 | |
import org.kuali.student.common.entity.MetaEntity; |
| 31 | |
|
| 32 | |
|
| 33 | |
|
| 34 | |
|
| 35 | |
|
| 36 | |
|
| 37 | |
|
| 38 | |
|
| 39 | |
|
| 40 | |
@Entity |
| 41 | |
@Table(name = "KSLU_CLU_ACCRED") |
| 42 | 0 | public class CluAccreditation extends MetaEntity implements |
| 43 | |
AttributeOwner<CluAccreditationAttribute> { |
| 44 | |
|
| 45 | |
@Column(name = "ORG_ID") |
| 46 | |
private String orgId; |
| 47 | |
|
| 48 | |
@Temporal(TemporalType.TIMESTAMP) |
| 49 | |
@Column(name = "EFF_DT") |
| 50 | |
private Date effectiveDate; |
| 51 | |
|
| 52 | |
@Temporal(TemporalType.TIMESTAMP) |
| 53 | |
@Column(name = "EXPIR_DT") |
| 54 | |
private Date expirationDate; |
| 55 | |
|
| 56 | |
@OneToMany(cascade = CascadeType.ALL, mappedBy = "owner") |
| 57 | |
private List<CluAccreditationAttribute> attributes; |
| 58 | |
|
| 59 | |
public List<CluAccreditationAttribute> getAttributes() { |
| 60 | 0 | return attributes; |
| 61 | |
} |
| 62 | |
|
| 63 | |
public void setAttributes(List<CluAccreditationAttribute> attributes) { |
| 64 | 0 | this.attributes = attributes; |
| 65 | 0 | } |
| 66 | |
|
| 67 | |
public String getOrgId() { |
| 68 | 0 | return orgId; |
| 69 | |
} |
| 70 | |
|
| 71 | |
public void setOrgId(String orgId) { |
| 72 | 0 | this.orgId = orgId; |
| 73 | 0 | } |
| 74 | |
|
| 75 | |
public Date getEffectiveDate() { |
| 76 | 0 | return effectiveDate; |
| 77 | |
} |
| 78 | |
|
| 79 | |
public void setEffectiveDate(Date effectiveDate) { |
| 80 | 0 | this.effectiveDate = effectiveDate; |
| 81 | 0 | } |
| 82 | |
|
| 83 | |
public Date getExpirationDate() { |
| 84 | 0 | return expirationDate; |
| 85 | |
} |
| 86 | |
|
| 87 | |
public void setExpirationDate(Date expirationDate) { |
| 88 | 0 | this.expirationDate = expirationDate; |
| 89 | 0 | } |
| 90 | |
|
| 91 | |
} |