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.Id; import javax.persistence.Table; /** * SearchableAttribute generated by hbm2java */ @Entity @Table(name="SEARCHABLE_ATTRIBUTE" ) public class SearchableAttribute implements java.io.Serializable { private BigDecimal id; private BigDecimal lookupId; private String attributeName; private String attributeValue; private String attributeBinaryFormat; private String attributeBinaryExtension; private String attributeBinaryCharset; private String attributeBinaryLanguage; private String timestmp; private String attributeText; private String attributeBinary; public SearchableAttribute() { } public SearchableAttribute(BigDecimal id, BigDecimal lookupId, String attributeName) { this.id = id; this.lookupId = lookupId; this.attributeName = attributeName; } public SearchableAttribute(BigDecimal id, BigDecimal lookupId, String attributeName, String attributeValue, String attributeBinaryFormat, String attributeBinaryExtension, String attributeBinaryCharset, String attributeBinaryLanguage, String timestmp, String attributeText, String attributeBinary) { this.id = id; this.lookupId = lookupId; this.attributeName = attributeName; this.attributeValue = attributeValue; this.attributeBinaryFormat = attributeBinaryFormat; this.attributeBinaryExtension = attributeBinaryExtension; this.attributeBinaryCharset = attributeBinaryCharset; this.attributeBinaryLanguage = attributeBinaryLanguage; this.timestmp = timestmp; this.attributeText = attributeText; this.attributeBinary = attributeBinary; } @Id @Column(name="ID", nullable=false, precision=20, scale=0) public BigDecimal getId() { return this.id; } public void setId(BigDecimal id) { this.id = id; } @Column(name="LOOKUP_ID", nullable=false, precision=20, scale=0) public BigDecimal getLookupId() { return this.lookupId; } public void setLookupId(BigDecimal lookupId) { this.lookupId = lookupId; } @Column(name="ATTRIBUTE_NAME", nullable=false, length=30) public String getAttributeName() { return this.attributeName; } public void setAttributeName(String attributeName) { this.attributeName = attributeName; } @Column(name="ATTRIBUTE_VALUE", length=4000) public String getAttributeValue() { return this.attributeValue; } public void setAttributeValue(String attributeValue) { this.attributeValue = attributeValue; } @Column(name="ATTRIBUTE_BINARY_FORMAT", length=40) public String getAttributeBinaryFormat() { return this.attributeBinaryFormat; } public void setAttributeBinaryFormat(String attributeBinaryFormat) { this.attributeBinaryFormat = attributeBinaryFormat; } @Column(name="ATTRIBUTE_BINARY_EXTENSION", length=100) public String getAttributeBinaryExtension() { return this.attributeBinaryExtension; } public void setAttributeBinaryExtension(String attributeBinaryExtension) { this.attributeBinaryExtension = attributeBinaryExtension; } @Column(name="ATTRIBUTE_BINARY_CHARSET", length=40) public String getAttributeBinaryCharset() { return this.attributeBinaryCharset; } public void setAttributeBinaryCharset(String attributeBinaryCharset) { this.attributeBinaryCharset = attributeBinaryCharset; } @Column(name="ATTRIBUTE_BINARY_LANGUAGE", length=40) public String getAttributeBinaryLanguage() { return this.attributeBinaryLanguage; } public void setAttributeBinaryLanguage(String attributeBinaryLanguage) { this.attributeBinaryLanguage = attributeBinaryLanguage; } @Column(name="TIMESTMP", length=40) public String getTimestmp() { return this.timestmp; } public void setTimestmp(String timestmp) { this.timestmp = timestmp; } @Column(name="ATTRIBUTE_TEXT", length=1) public String getAttributeText() { return this.attributeText; } public void setAttributeText(String attributeText) { this.attributeText = attributeText; } @Column(name="ATTRIBUTE_BINARY", length=1) public String getAttributeBinary() { return this.attributeBinary; } public void setAttributeBinary(String attributeBinary) { this.attributeBinary = attributeBinary; } }