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.GeneratedValue; import javax.persistence.Id; import javax.persistence.OneToOne; import javax.persistence.Table; import org.hibernate.annotations.GenericGenerator; import org.hibernate.annotations.Parameter; /** * AssmtResultSetting generated by hbm2java */ @Entity @Table(name="ASSMT_RESULT_SETTING" ) public class AssmtResultSetting implements java.io.Serializable { private BigDecimal id; private AssmtSetting assmtSetting; private String resultsreleasetype; private String resultsscoretype; private boolean resultscorrectanswer; private boolean resultsevaluation; private boolean resultsfeedback; private boolean resultsfullevaluation; private boolean resultsgradercomments; private boolean resultsresponse; private boolean resultsscore; private boolean resultstext; private boolean resultstotalscore; private BigDecimal createTs; private BigDecimal lastmodifyTs; private String resultsemail; private boolean allowartifactcreation; public AssmtResultSetting() { } public AssmtResultSetting(AssmtSetting assmtSetting, String resultsreleasetype, String resultsscoretype, boolean resultscorrectanswer, boolean resultsevaluation, boolean resultsfeedback, boolean resultsfullevaluation, boolean resultsgradercomments, boolean resultsresponse, boolean resultsscore, boolean resultstext, boolean resultstotalscore, BigDecimal createTs, BigDecimal lastmodifyTs, boolean allowartifactcreation) { this.assmtSetting = assmtSetting; this.resultsreleasetype = resultsreleasetype; this.resultsscoretype = resultsscoretype; this.resultscorrectanswer = resultscorrectanswer; this.resultsevaluation = resultsevaluation; this.resultsfeedback = resultsfeedback; this.resultsfullevaluation = resultsfullevaluation; this.resultsgradercomments = resultsgradercomments; this.resultsresponse = resultsresponse; this.resultsscore = resultsscore; this.resultstext = resultstext; this.resultstotalscore = resultstotalscore; this.createTs = createTs; this.lastmodifyTs = lastmodifyTs; this.allowartifactcreation = allowartifactcreation; } public AssmtResultSetting(AssmtSetting assmtSetting, String resultsreleasetype, String resultsscoretype, boolean resultscorrectanswer, boolean resultsevaluation, boolean resultsfeedback, boolean resultsfullevaluation, boolean resultsgradercomments, boolean resultsresponse, boolean resultsscore, boolean resultstext, boolean resultstotalscore, BigDecimal createTs, BigDecimal lastmodifyTs, String resultsemail, boolean allowartifactcreation) { this.assmtSetting = assmtSetting; this.resultsreleasetype = resultsreleasetype; this.resultsscoretype = resultsscoretype; this.resultscorrectanswer = resultscorrectanswer; this.resultsevaluation = resultsevaluation; this.resultsfeedback = resultsfeedback; this.resultsfullevaluation = resultsfullevaluation; this.resultsgradercomments = resultsgradercomments; this.resultsresponse = resultsresponse; this.resultsscore = resultsscore; this.resultstext = resultstext; this.resultstotalscore = resultstotalscore; this.createTs = createTs; this.lastmodifyTs = lastmodifyTs; this.resultsemail = resultsemail; this.allowartifactcreation = allowartifactcreation; } @GenericGenerator(name="generator", strategy="foreign", parameters=@Parameter(name="property", value="assmtSetting"))@Id @GeneratedValue(generator="generator") @Column(name="ID", nullable=false, precision=20, scale=0) public BigDecimal getId() { return this.id; } public void setId(BigDecimal id) { this.id = id; } @OneToOne(fetch=FetchType.LAZY) public AssmtSetting getAssmtSetting() { return this.assmtSetting; } public void setAssmtSetting(AssmtSetting assmtSetting) { this.assmtSetting = assmtSetting; } @Column(name="RESULTSRELEASETYPE", nullable=false, length=30) public String getResultsreleasetype() { return this.resultsreleasetype; } public void setResultsreleasetype(String resultsreleasetype) { this.resultsreleasetype = resultsreleasetype; } @Column(name="RESULTSSCORETYPE", nullable=false, length=20) public String getResultsscoretype() { return this.resultsscoretype; } public void setResultsscoretype(String resultsscoretype) { this.resultsscoretype = resultsscoretype; } @Column(name="RESULTSCORRECTANSWER", nullable=false, precision=1, scale=0) public boolean isResultscorrectanswer() { return this.resultscorrectanswer; } public void setResultscorrectanswer(boolean resultscorrectanswer) { this.resultscorrectanswer = resultscorrectanswer; } @Column(name="RESULTSEVALUATION", nullable=false, precision=1, scale=0) public boolean isResultsevaluation() { return this.resultsevaluation; } public void setResultsevaluation(boolean resultsevaluation) { this.resultsevaluation = resultsevaluation; } @Column(name="RESULTSFEEDBACK", nullable=false, precision=1, scale=0) public boolean isResultsfeedback() { return this.resultsfeedback; } public void setResultsfeedback(boolean resultsfeedback) { this.resultsfeedback = resultsfeedback; } @Column(name="RESULTSFULLEVALUATION", nullable=false, precision=1, scale=0) public boolean isResultsfullevaluation() { return this.resultsfullevaluation; } public void setResultsfullevaluation(boolean resultsfullevaluation) { this.resultsfullevaluation = resultsfullevaluation; } @Column(name="RESULTSGRADERCOMMENTS", nullable=false, precision=1, scale=0) public boolean isResultsgradercomments() { return this.resultsgradercomments; } public void setResultsgradercomments(boolean resultsgradercomments) { this.resultsgradercomments = resultsgradercomments; } @Column(name="RESULTSRESPONSE", nullable=false, precision=1, scale=0) public boolean isResultsresponse() { return this.resultsresponse; } public void setResultsresponse(boolean resultsresponse) { this.resultsresponse = resultsresponse; } @Column(name="RESULTSSCORE", nullable=false, precision=1, scale=0) public boolean isResultsscore() { return this.resultsscore; } public void setResultsscore(boolean resultsscore) { this.resultsscore = resultsscore; } @Column(name="RESULTSTEXT", nullable=false, precision=1, scale=0) public boolean isResultstext() { return this.resultstext; } public void setResultstext(boolean resultstext) { this.resultstext = resultstext; } @Column(name="RESULTSTOTALSCORE", nullable=false, precision=1, scale=0) public boolean isResultstotalscore() { return this.resultstotalscore; } public void setResultstotalscore(boolean resultstotalscore) { this.resultstotalscore = resultstotalscore; } @Column(name="CREATE_TS", nullable=false, precision=20, scale=0) public BigDecimal getCreateTs() { return this.createTs; } public void setCreateTs(BigDecimal createTs) { this.createTs = createTs; } @Column(name="LASTMODIFY_TS", nullable=false, precision=20, scale=0) public BigDecimal getLastmodifyTs() { return this.lastmodifyTs; } public void setLastmodifyTs(BigDecimal lastmodifyTs) { this.lastmodifyTs = lastmodifyTs; } @Column(name="RESULTSEMAIL", length=320) public String getResultsemail() { return this.resultsemail; } public void setResultsemail(String resultsemail) { this.resultsemail = resultsemail; } @Column(name="ALLOWARTIFACTCREATION", nullable=false, precision=1, scale=0) public boolean isAllowartifactcreation() { return this.allowartifactcreation; } public void setAllowartifactcreation(boolean allowartifactcreation) { this.allowartifactcreation = allowartifactcreation; } }