view src/main/java/de/intevation/lada/model/stammdaten/Verwaltungsgrenze.java @ 1218:b8e8dcdcc595

Add missing annotations to avoid deserialisation errors.
author Tom Gottfried <tom@intevation.de>
date Fri, 09 Dec 2016 11:31:13 +0100
parents 289edf060550
children
line wrap: on
line source
package de.intevation.lada.model.stammdaten;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.Type;

import com.vividsolutions.jts.geom.MultiPolygon;


/**
 * The persistent class for the verwaltungsgrenze database table.
 *
 */
@Entity
@Table(name="verwaltungsgrenze")
public class Verwaltungsgrenze implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private Integer id;

	@Column(name="gem_id")
	private String gemId;

	@Column(columnDefinition="geometry(MultiPolygon, 4326)")
	@Type(type = "org.hibernate.spatial.GeometryType")
	private MultiPolygon shape;

	public Verwaltungsgrenze() {
	}

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getGemId() {
		return this.gemId;
	}

	public void setGemId(String gemId) {
		this.gemId = gemId;
	}

	public MultiPolygon getShape() {
		return this.shape;
	}

	public void setShape(MultiPolygon shape) {
		this.shape = shape;
	}

}
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)