package webctdbexport.db; // Generated 17-Jun-2011 11:38:57 by Hibernate Tools 3.4.0.CR1 import java.math.BigDecimal; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.Id; import javax.persistence.JoinColumn; import javax.persistence.ManyToOne; import javax.persistence.Table; /** * PersonChangeEvents generated by hbm2java */ @Entity @Table(name="PERSON_CHANGE_EVENTS" ) public class PersonChangeEvents implements java.io.Serializable { private BigDecimal id; private LearningContext learningContext; private String webctId; private BigDecimal personId; private boolean processingStatus; private BigDecimal processingTs; private boolean deletedFlag; private String sourcedidId; private String sourcedidSource; private String nameFn; private BigDecimal mark; public PersonChangeEvents() { } public PersonChangeEvents(BigDecimal id, LearningContext learningContext, String webctId, BigDecimal personId, boolean processingStatus, BigDecimal processingTs, boolean deletedFlag) { this.id = id; this.learningContext = learningContext; this.webctId = webctId; this.personId = personId; this.processingStatus = processingStatus; this.processingTs = processingTs; this.deletedFlag = deletedFlag; } public PersonChangeEvents(BigDecimal id, LearningContext learningContext, String webctId, BigDecimal personId, boolean processingStatus, BigDecimal processingTs, boolean deletedFlag, String sourcedidId, String sourcedidSource, String nameFn, BigDecimal mark) { this.id = id; this.learningContext = learningContext; this.webctId = webctId; this.personId = personId; this.processingStatus = processingStatus; this.processingTs = processingTs; this.deletedFlag = deletedFlag; this.sourcedidId = sourcedidId; this.sourcedidSource = sourcedidSource; this.nameFn = nameFn; this.mark = mark; } @Id @Column(name="ID", nullable=false, precision=20, scale=0) public BigDecimal getId() { return this.id; } public void setId(BigDecimal id) { this.id = id; } @ManyToOne(fetch=FetchType.LAZY) @JoinColumn(name="LEARNING_CONTEXT_ID", nullable=false) public LearningContext getLearningContext() { return this.learningContext; } public void setLearningContext(LearningContext learningContext) { this.learningContext = learningContext; } @Column(name="WEBCT_ID", nullable=false, length=768) public String getWebctId() { return this.webctId; } public void setWebctId(String webctId) { this.webctId = webctId; } @Column(name="PERSON_ID", nullable=false, precision=20, scale=0) public BigDecimal getPersonId() { return this.personId; } public void setPersonId(BigDecimal personId) { this.personId = personId; } @Column(name="PROCESSING_STATUS", nullable=false, precision=1, scale=0) public boolean isProcessingStatus() { return this.processingStatus; } public void setProcessingStatus(boolean processingStatus) { this.processingStatus = processingStatus; } @Column(name="PROCESSING_TS", nullable=false, precision=20, scale=0) public BigDecimal getProcessingTs() { return this.processingTs; } public void setProcessingTs(BigDecimal processingTs) { this.processingTs = processingTs; } @Column(name="DELETED_FLAG", nullable=false, precision=1, scale=0) public boolean isDeletedFlag() { return this.deletedFlag; } public void setDeletedFlag(boolean deletedFlag) { this.deletedFlag = deletedFlag; } @Column(name="SOURCEDID_ID", length=768) public String getSourcedidId() { return this.sourcedidId; } public void setSourcedidId(String sourcedidId) { this.sourcedidId = sourcedidId; } @Column(name="SOURCEDID_SOURCE", length=510) public String getSourcedidSource() { return this.sourcedidSource; } public void setSourcedidSource(String sourcedidSource) { this.sourcedidSource = sourcedidSource; } @Column(name="NAME_FN", length=768) public String getNameFn() { return this.nameFn; } public void setNameFn(String nameFn) { this.nameFn = nameFn; } @Column(name="MARK", precision=20, scale=0) public BigDecimal getMark() { return this.mark; } public void setMark(BigDecimal mark) { this.mark = mark; } }