Mercurial > lada > lada-server
changeset 142:17c74d86eeb0
Added model for s_verwaltungseinheit.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Fri, 14 Jun 2013 09:38:31 +0200 |
parents | 70895bc48470 |
children | d92ce2ad8c7d |
files | src/main/java/de/intevation/lada/model/SVerwaltungseinheit.java |
diffstat | 1 files changed, 267 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/SVerwaltungseinheit.java Fri Jun 14 09:38:31 2013 +0200 @@ -0,0 +1,267 @@ +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; + +/** + * SVerwaltungseinheit generated by hbm2java + */ +@Entity +@Table(name = "s_verwaltungseinheit", schema = "public") +public class SVerwaltungseinheit implements java.io.Serializable { + + private String gemId; + private String bundesland; + private Short kdaId; + private String kreis; + private String nuts; + private String regbezirk; + private String bezeichnung; + private char isBundesland; + private char isGemeinde; + private char isLandkreis; + private char isRegbezirk; + private String koordXExtern; + private Integer koordXGk; + private String koordYExtern; + private Integer koordYGk; + private String plz; + private Double koordXGeo; + private Integer koordXUtm; + private Integer koordYUtm; + private Double koordYGeo; + + public SVerwaltungseinheit() { + } + + public SVerwaltungseinheit(String gemId, String bundesland, + String bezeichnung, char isBundesland, char isGemeinde, + char isLandkreis, char isRegbezirk) { + this.gemId = gemId; + this.bundesland = bundesland; + this.bezeichnung = bezeichnung; + this.isBundesland = isBundesland; + this.isGemeinde = isGemeinde; + this.isLandkreis = isLandkreis; + this.isRegbezirk = isRegbezirk; + } + + public SVerwaltungseinheit(String gemId, String bundesland, Short kdaId, + String kreis, String nuts, String regbezirk, String bezeichnung, + char isBundesland, char isGemeinde, char isLandkreis, + char isRegbezirk, String koordXExtern, Integer koordXGk, + String koordYExtern, Integer koordYGk, String plz, + Double koordXGeo, Integer koordXUtm, Integer koordYUtm, + Double koordYGeo) { + this.gemId = gemId; + this.bundesland = bundesland; + this.kdaId = kdaId; + this.kreis = kreis; + this.nuts = nuts; + this.regbezirk = regbezirk; + this.bezeichnung = bezeichnung; + this.isBundesland = isBundesland; + this.isGemeinde = isGemeinde; + this.isLandkreis = isLandkreis; + this.isRegbezirk = isRegbezirk; + this.koordXExtern = koordXExtern; + this.koordXGk = koordXGk; + this.koordYExtern = koordYExtern; + this.koordYGk = koordYGk; + this.plz = plz; + this.koordXGeo = koordXGeo; + this.koordXUtm = koordXUtm; + this.koordYUtm = koordYUtm; + this.koordYGeo = koordYGeo; + } + + @Id + @Column(name = "gem_id", unique = true, nullable = false, length = 8) + public String getGemId() { + return this.gemId; + } + + public void setGemId(String gemId) { + this.gemId = gemId; + } + + @Column(name = "bundesland", nullable = false, length = 8) + public String getBundesland() { + return this.bundesland; + } + + public void setBundesland(String bundesland) { + this.bundesland = bundesland; + } + + @Column(name = "kda_id") + public Short getKdaId() { + return this.kdaId; + } + + public void setKdaId(Short kdaId) { + this.kdaId = kdaId; + } + + @Column(name = "kreis", length = 8) + public String getKreis() { + return this.kreis; + } + + public void setKreis(String kreis) { + this.kreis = kreis; + } + + @Column(name = "nuts", length = 10) + public String getNuts() { + return this.nuts; + } + + public void setNuts(String nuts) { + this.nuts = nuts; + } + + @Column(name = "regbezirk", length = 8) + public String getRegbezirk() { + return this.regbezirk; + } + + public void setRegbezirk(String regbezirk) { + this.regbezirk = regbezirk; + } + + @Column(name = "bezeichnung", nullable = false, length = 80) + public String getBezeichnung() { + return this.bezeichnung; + } + + public void setBezeichnung(String bezeichnung) { + this.bezeichnung = bezeichnung; + } + + @Column(name = "is_bundesland", nullable = false, length = 1) + public char getIsBundesland() { + return this.isBundesland; + } + + public void setIsBundesland(char isBundesland) { + this.isBundesland = isBundesland; + } + + @Column(name = "is_gemeinde", nullable = false, length = 1) + public char getIsGemeinde() { + return this.isGemeinde; + } + + public void setIsGemeinde(char isGemeinde) { + this.isGemeinde = isGemeinde; + } + + @Column(name = "is_landkreis", nullable = false, length = 1) + public char getIsLandkreis() { + return this.isLandkreis; + } + + public void setIsLandkreis(char isLandkreis) { + this.isLandkreis = isLandkreis; + } + + @Column(name = "is_regbezirk", nullable = false, length = 1) + public char getIsRegbezirk() { + return this.isRegbezirk; + } + + public void setIsRegbezirk(char isRegbezirk) { + this.isRegbezirk = isRegbezirk; + } + + @Column(name = "koord_x_extern", length = 22) + public String getKoordXExtern() { + return this.koordXExtern; + } + + public void setKoordXExtern(String koordXExtern) { + this.koordXExtern = koordXExtern; + } + + @Column(name = "koord_x_gk") + public Integer getKoordXGk() { + return this.koordXGk; + } + + public void setKoordXGk(Integer koordXGk) { + this.koordXGk = koordXGk; + } + + @Column(name = "koord_y_extern", length = 22) + public String getKoordYExtern() { + return this.koordYExtern; + } + + public void setKoordYExtern(String koordYExtern) { + this.koordYExtern = koordYExtern; + } + + @Column(name = "koord_y_gk") + public Integer getKoordYGk() { + return this.koordYGk; + } + + public void setKoordYGk(Integer koordYGk) { + this.koordYGk = koordYGk; + } + + @Column(name = "plz", length = 6) + public String getPlz() { + return this.plz; + } + + public void setPlz(String plz) { + this.plz = plz; + } + + @Column(name = "koord_x_geo", precision = 17, scale = 17) + public Double getKoordXGeo() { + return this.koordXGeo; + } + + public void setKoordXGeo(Double koordXGeo) { + this.koordXGeo = koordXGeo; + } + + @Column(name = "koord_x_utm") + public Integer getKoordXUtm() { + return this.koordXUtm; + } + + public void setKoordXUtm(Integer koordXUtm) { + this.koordXUtm = koordXUtm; + } + + @Column(name = "koord_y_utm") + public Integer getKoordYUtm() { + return this.koordYUtm; + } + + public void setKoordYUtm(Integer koordYUtm) { + this.koordYUtm = koordYUtm; + } + + @Column(name = "koord_y_geo", precision = 17, scale = 17) + public Double getKoordYGeo() { + return this.koordYGeo; + } + + public void setKoordYGeo(Double koordYGeo) { + this.koordYGeo = koordYGeo; + } + +}