raimund@635: package de.intevation.lada.model.land; raimund@635: raimund@635: import java.io.Serializable; raimund@635: import java.sql.Timestamp; raimund@635: raimund@635: import javax.persistence.Column; raimund@635: import javax.persistence.Entity; raimund@655: import javax.persistence.GeneratedValue; raimund@655: import javax.persistence.GenerationType; raimund@635: import javax.persistence.Id; raimund@635: import javax.persistence.Table; raimund@635: raimund@655: import org.hibernate.annotations.Type; raimund@655: import org.hibernate.annotations.TypeDef; raimund@655: import org.hibernate.annotations.TypeDefs; raimund@655: raimund@655: import de.intevation.lada.util.data.IntegerArrayType; raimund@635: /** raimund@635: * The persistent class for the messprogramm_mmt database table. tom@1097: * raimund@635: */ raimund@635: @Entity raimund@635: @Table(name="messprogramm_mmt") raimund@655: @TypeDefs({@TypeDef(name="IntegerArray", typeClass=IntegerArrayType.class)}) raimund@635: public class MessprogrammMmt implements Serializable { raimund@635: private static final long serialVersionUID = 1L; raimund@635: raimund@635: @Id raimund@655: @GeneratedValue(strategy=GenerationType.IDENTITY) raimund@635: private Integer id; raimund@635: raimund@1302: @Column(name="letzte_aenderung", insertable=false) raimund@635: private Timestamp letzteAenderung; raimund@635: raimund@655: @Type(type="IntegerArray") raimund@655: private Integer[] messgroessen; raimund@635: tom@1097: @Column(name="messprogramm_id") tom@1097: private Integer messprogrammId; tom@1097: raimund@635: @Column(name="mmt_id") raimund@635: private String mmtId; raimund@635: raimund@635: public MessprogrammMmt() { raimund@635: } raimund@635: raimund@635: public Integer getId() { raimund@635: return this.id; raimund@635: } raimund@635: raimund@635: public void setId(Integer id) { raimund@635: this.id = id; raimund@635: } raimund@635: raimund@635: public Timestamp getLetzteAenderung() { raimund@635: return this.letzteAenderung; raimund@635: } raimund@635: tom@1097: public void setLetzteAenderung(Timestamp letzteAenderung) { tom@1097: this.letzteAenderung = letzteAenderung; tom@1097: } tom@1097: raimund@655: public Integer[] getMessgroessen() { raimund@635: return this.messgroessen; raimund@635: } raimund@635: raimund@655: public void setMessgroessen(Integer[] messgroessen) { raimund@635: this.messgroessen = messgroessen; raimund@635: } raimund@635: tom@1097: public Integer getMessprogrammId() { tom@1097: return this.messprogrammId; tom@1097: } tom@1097: tom@1097: public void setMessprogrammId(Integer messprogrammId) { tom@1097: this.messprogrammId = messprogrammId; tom@1097: } tom@1097: raimund@635: public String getMmtId() { raimund@635: return this.mmtId; raimund@635: } raimund@635: raimund@635: public void setMmtId(String mmtId) { raimund@635: this.mmtId = mmtId; raimund@635: } raimund@635: raimund@635: }