Mercurial > lada > lada-server
view src/main/java/de/intevation/lada/model/stamm/FilterValue.java @ 855:36b1104c3c22
Updated model for query, filter, result, etc.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Tue, 02 Feb 2016 15:29:09 +0100 |
parents | cafeadbeed5b |
children | d4d768295068 |
line wrap: on
line source
/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz * Software engineering by Intevation GmbH * * This file is Free Software under the GNU GPL (v>=3) * and comes with ABSOLUTELY NO WARRANTY! Check out * the documentation coming with IMIS-Labordaten-Application for details. */ package de.intevation.lada.model.stamm; import java.io.Serializable; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.JoinColumn; import javax.persistence.ManyToOne; import javax.persistence.Table; /** * The persistent class for the filter_value database table. * */ @Entity @Table(name="filter_value") public class FilterValue implements Serializable { private static final long serialVersionUID = 1L; @Id @GeneratedValue(strategy=GenerationType.IDENTITY) @Column(name="id", unique=true, nullable=false) private Integer id; private String value; //bi-directional many-to-one association to Filter @Column(name="filter_id") private Integer filterId; //bi-directional many-to-one association to LadaUser @Column(name="user_id") private Integer userId; @Column(name="query_id") private Integer queryId; public FilterValue() { } public Integer getId() { return this.id; } public void setId(Integer id) { this.id = id; } public String getValue() { return this.value; } public void setValue(String value) { this.value = value; } public Integer getFilterId() { return this.filterId; } public void setFilterId(Integer filterId) { this.filterId = filterId; } public Integer getUserId() { return this.userId; } public void setUserId(Integer userId) { this.userId = userId; } public Integer getQueryId() { return this.queryId; } public void setQueryId(Integer queryId) { this.queryId = queryId; } }