Mercurial > lada > lada-server
changeset 50:79b44ead49b2
Added missing entities.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Fri, 24 May 2013 13:02:29 +0200 (2013-05-24) |
parents | 4a987b6be57e |
children | 30c2551c4186 |
files | src/main/java/de/intevation/lada/model/SDatenbasis.java src/main/java/de/intevation/lada/model/SProbenart.java |
diffstat | 2 files changed, 146 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/main/java/de/intevation/lada/model/SDatenbasis.java Fri May 24 13:02:29 2013 +0200 @@ -0,0 +1,66 @@ +package de.intevation.lada.model; + +// Generated 21.05.2013 16:58:30 by Hibernate Tools 3.4.0.CR1 + +import java.util.HashSet; +import java.util.Set; +import javax.persistence.Column; +import javax.persistence.Entity; +import javax.persistence.FetchType; +import javax.persistence.Id; +import javax.persistence.OneToMany; +import javax.persistence.Table; + +/** + * SDatenbasis generated by hbm2java + */ +@Entity +@Table(name = "s_datenbasis", schema = "public") +public class SDatenbasis implements java.io.Serializable { + + private short datenbasisId; + private String beschreibung; + private String datenbasis; + + public SDatenbasis() { + } + + public SDatenbasis(short datenbasisId) { + this.datenbasisId = datenbasisId; + } + + public SDatenbasis(short datenbasisId, String beschreibung, + String datenbasis) { + this.datenbasisId = datenbasisId; + this.beschreibung = beschreibung; + this.datenbasis = datenbasis; + } + + @Id + @Column(name = "datenbasis_id", unique = true, nullable = false) + public short getDatenbasisId() { + return this.datenbasisId; + } + + public void setDatenbasisId(short datenbasisId) { + this.datenbasisId = datenbasisId; + } + + @Column(name = "beschreibung", length = 30) + public String getBeschreibung() { + return this.beschreibung; + } + + public void setBeschreibung(String beschreibung) { + this.beschreibung = beschreibung; + } + + @Column(name = "datenbasis", length = 6) + public String getDatenbasis() { + return this.datenbasis; + } + + public void setDatenbasis(String datenbasis) { + this.datenbasis = datenbasis; + } +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/main/java/de/intevation/lada/model/SProbenart.java Fri May 24 13:02:29 2013 +0200 @@ -0,0 +1,80 @@ +package de.intevation.lada.model; + +// Generated 21.05.2013 16:58:30 by Hibernate Tools 3.4.0.CR1 + +import java.util.HashSet; +import java.util.Set; +import javax.persistence.Column; +import javax.persistence.Entity; +import javax.persistence.FetchType; +import javax.persistence.Id; +import javax.persistence.OneToMany; +import javax.persistence.Table; + +/** + * SProbenart generated by hbm2java + */ +@Entity +@Table(name = "s_probenart", schema = "public") +public class SProbenart implements java.io.Serializable { + + private short probenartId; + private String beschreibung; + private String probenart; + private String probenartEudfId; + + public SProbenart() { + } + + public SProbenart(short probenartId, String probenart, + String probenartEudfId) { + this.probenartId = probenartId; + this.probenart = probenart; + this.probenartEudfId = probenartEudfId; + } + + public SProbenart(short probenartId, String beschreibung, String probenart, + String probenartEudfId) { + this.probenartId = probenartId; + this.beschreibung = beschreibung; + this.probenart = probenart; + this.probenartEudfId = probenartEudfId; + } + + @Id + @Column(name = "probenart_id", unique = true, nullable = false) + public short getProbenartId() { + return this.probenartId; + } + + public void setProbenartId(short probenartId) { + this.probenartId = probenartId; + } + + @Column(name = "beschreibung", length = 30) + public String getBeschreibung() { + return this.beschreibung; + } + + public void setBeschreibung(String beschreibung) { + this.beschreibung = beschreibung; + } + + @Column(name = "probenart", nullable = false, length = 5) + public String getProbenart() { + return this.probenart; + } + + public void setProbenart(String probenart) { + this.probenart = probenart; + } + + @Column(name = "probenart_eudf_id", nullable = false, length = 1) + public String getProbenartEudfId() { + return this.probenartEudfId; + } + + public void setProbenartEudfId(String probenartEudfId) { + this.probenartEudfId = probenartEudfId; + } +}