001package org.kuali.ole.batch.bo; 002 003import org.kuali.rice.krad.bo.DataObjectBase; 004import org.kuali.rice.krad.data.jpa.PortableSequenceGenerator; 005 006import javax.persistence.*; 007 008/** 009 * Created with IntelliJ IDEA. 010 * User: adityas 011 * Date: 7/26/13 012 * Time: 7:07 PM 013 * To change this template use File | Settings | File Templates. 014 */ 015@Entity 016@Table(name = "OLE_BAT_PRCS_BIB_STUS_T") 017public class OLEBatchProcessProfileBibStatus extends DataObjectBase { 018 019 @PortableSequenceGenerator(name = "OLE_BAT_PRCS_BIB_STUS_S") 020 @GeneratedValue(generator = "OLE_BAT_PRCS_BIB_STUS_S") 021 @Id 022 @Column(name = "BAT_PRCS_BIB_STUS_ID") 023 private String batchProcessBibStatusId; 024 025 @Column(name = "BAT_PRCS_BIB_STUS_NME") 026 private String batchProcessBibStatus; 027 028 @Column(name = "BAT_PRCS_PRF_ID") 029 private String batchProcessProfileId; 030 031 @ManyToOne(targetEntity = OLEBatchProcessProfileBo.class, cascade =CascadeType.REFRESH,fetch= FetchType.EAGER) 032 @JoinColumn(name = "BAT_PRCS_PRF_ID", referencedColumnName = "BAT_PRCS_PRF_ID", insertable = false, updatable = false) 033 private OLEBatchProcessProfileBo oleBatchProcessProfileBo; 034 035 public OLEBatchProcessProfileBo getOleBatchProcessProfileBo() { 036 return oleBatchProcessProfileBo; 037 } 038 039 public void setOleBatchProcessProfileBo(OLEBatchProcessProfileBo oleBatchProcessProfileBo) { 040 this.oleBatchProcessProfileBo = oleBatchProcessProfileBo; 041 } 042 043 public String getBatchProcessBibStatusId() { 044 return batchProcessBibStatusId; 045 } 046 047 public void setBatchProcessBibStatusId(String batchProcessBibStatusId) { 048 this.batchProcessBibStatusId = batchProcessBibStatusId; 049 } 050 051 public String getBatchProcessBibStatus() { 052 return batchProcessBibStatus; 053 } 054 055 public void setBatchProcessBibStatus(String batchProcessBibStatus) { 056 this.batchProcessBibStatus = batchProcessBibStatus; 057 } 058 059 public String getBatchProcessProfileId() { 060 return batchProcessProfileId; 061 } 062 063 public void setBatchProcessProfileId(String batchProcessProfileId) { 064 this.batchProcessProfileId = batchProcessProfileId; 065 } 066}