Mercurial > lada > lada-server
view src/main/java/de/intevation/lada/model/KommentarM.java @ 711:3ec358698b4d
Code style and documentation.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Wed, 22 Jul 2015 16:03:03 +0200 |
parents | 4f83f2fc188a |
children |
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; import java.io.Serializable; import java.sql.Timestamp; import javax.persistence.Column; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.MappedSuperclass; import javax.persistence.Table; import javax.persistence.Transient; /** * The persistent class for the kommentar_m database table. */ @MappedSuperclass @Table(name="kommentar_m") public class KommentarM implements Serializable { private static final long serialVersionUID = 1L; @Column(name="messungs_id") private Integer messungsId; private Timestamp datum; private String erzeuger; @Id @GeneratedValue(strategy=GenerationType.IDENTITY) @Column(name="id", unique=true, nullable=false) private Integer id; private String text; @Transient private boolean owner; @Transient private boolean readonly; public KommentarM() { } public Timestamp getDatum() { return this.datum; } public void setDatum(Timestamp datum) { this.datum = datum; } public String getErzeuger() { return this.erzeuger; } public void setErzeuger(String erzeuger) { this.erzeuger = erzeuger; } public Integer getId() { return this.id; } public void setId(Integer id) { this.id = id; } public String getText() { return this.text; } public void setText(String text) { this.text = text; } public boolean isOwner() { return owner; } public void setOwner(boolean owner) { this.owner = owner; } public boolean isReadonly() { return readonly; } public void setReadonly(boolean readonly) { this.readonly = readonly; } public Integer getMessungsId() { return this.messungsId; } public void setMessungsId(Integer messungsId) { this.messungsId = messungsId; } }